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.
33 lines
875 B
33 lines
875 B
|
3 years ago
|
local mod = DBM:NewMod(559, "DBM-Party-BC", 14, 257)
|
||
|
|
local L = mod:GetLocalizedStrings()
|
||
|
|
|
||
|
|
mod.statTypes = "normal,heroic,timewalker"
|
||
|
|
|
||
|
|
mod:SetRevision("20210922153837")
|
||
|
|
|
||
|
|
mod:SetCreatureID(17975)
|
||
|
|
mod:SetEncounterID(1926)
|
||
|
|
mod:RegisterCombat("combat")
|
||
|
|
|
||
|
|
mod:RegisterEventsInCombat(
|
||
|
|
"SPELL_CAST_SUCCESS 34557",
|
||
|
|
"SPELL_AURA_APPLIED 34752"
|
||
|
|
)
|
||
|
|
|
||
|
|
local specWarnFreezingTouch = mod:NewSpecialWarningDispel(34752, "MagicDispeller", nil, nil, 1, 2)
|
||
|
|
local specWarnAdds = mod:NewSpecialWarningAdds(34557, "-Healer", nil, nil, 1, 2)
|
||
|
|
|
||
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
||
|
|
if args.spellId == 34557 then --Summon Frayer Protector
|
||
|
|
specWarnAdds:Show()
|
||
|
|
specWarnAdds:Play("killmob")
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
function mod:SPELL_AURA_APPLIED(args)
|
||
|
|
if args.spellId == 34752 then
|
||
|
|
specWarnFreezingTouch:Show(args.destName)
|
||
|
|
specWarnFreezingTouch:Play("dispelboss")
|
||
|
|
end
|
||
|
|
end
|