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.
32 lines
797 B
32 lines
797 B
local mod = DBM:NewMod(552, "DBM-Party-BC", 12, 255)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod.statTypes = "normal,heroic,timewalker"
|
|
|
|
mod:SetRevision("20220909231726")
|
|
mod:SetCreatureID(17879)
|
|
mod:SetEncounterID(1920)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_START 38539 31472",
|
|
"SPELL_AURA_APPLIED 31467"
|
|
)
|
|
|
|
local warnArcaneDischarge = mod:NewSpellAnnounce(38539, 2)
|
|
|
|
local specwarnTimeLapse = mod:NewSpecialWarningDispel(31467, "RemoveMagic", nil, 2, 1, 2)
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
if args:IsSpellID(38539, 31472) then
|
|
warnArcaneDischarge:Show()
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args.spellId == 31467 then
|
|
specwarnTimeLapse:Show(args.destName)
|
|
specwarnTimeLapse:Play("dispelnow")
|
|
end
|
|
end
|
|
|