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
805 B
32 lines
805 B
|
3 years ago
|
local mod = DBM:NewMod(530, "DBM-Party-BC", 16, 249)
|
||
|
|
local L = mod:GetLocalizedStrings()
|
||
|
|
|
||
|
|
mod.statTypes = "normal,heroic,timewalker"
|
||
|
|
|
||
|
|
mod:SetRevision("20200912133955")
|
||
|
|
|
||
|
|
mod:SetCreatureID(24723)
|
||
|
|
mod:SetEncounterID(1897)
|
||
|
|
|
||
|
|
mod:RegisterCombat("combat")
|
||
|
|
|
||
|
|
mod:RegisterEventsInCombat(
|
||
|
|
"SPELL_AURA_APPLIED 44320"
|
||
|
|
)
|
||
|
|
|
||
|
|
local specWarnChannel = mod:NewSpecialWarningSwitch("ej5081", "-Healer", nil, 3, 1, 2)
|
||
|
|
|
||
|
|
local timerChannelCD = mod:NewCDTimer(47, "ej5081", nil, nil, nil, 1, 44320)
|
||
|
|
|
||
|
|
function mod:OnCombatStart(delay)
|
||
|
|
timerChannelCD:Start(15-delay)
|
||
|
|
end
|
||
|
|
|
||
|
|
function mod:SPELL_AURA_APPLIED(args)
|
||
|
|
if args.spellId == 69029 then--Mana Rage, triggers right before CHAT_MSG_RAID_BOSS_EMOTE
|
||
|
|
specWarnChannel:Show()
|
||
|
|
specWarnChannel:Play("targetchange")
|
||
|
|
timerChannelCD:Start()
|
||
|
|
end
|
||
|
|
end
|