You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
774 B
28 lines
774 B
local mod = DBM:NewMod(748, "DBM-Party-Vanilla", DBM:IsPostCata() and 13 or 18, 239)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20240316010232")
|
|
mod:SetCreatureID(7023)
|
|
mod:SetEncounterID(1887)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_SUCCESS 10072",
|
|
"SPELL_AURA_APPLIED 9941"
|
|
)
|
|
|
|
local warningReflection = mod:NewTargetNoFilterAnnounce(9941, 2)
|
|
local warningSplinteredObsidian = mod:NewSpellAnnounce(10072, 2)
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
if args:IsSpell(10072) and self:AntiSpam(3, 1) then
|
|
warningSplinteredObsidian:Show()
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args:IsSpell(9941) and self:AntiSpam(3, args.destName) then
|
|
warningReflection:Show(args.destName)
|
|
end
|
|
end
|
|
|