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
862 B
33 lines
862 B
local mod = DBM:NewMod(575, "DBM-Party-BC", 6, 261)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20230708234551")
|
|
mod:SetCreatureID(17798)
|
|
mod:SetEncounterID(1944)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_SUCCESS 31543",
|
|
"SPELL_AURA_APPLIED 31534"
|
|
)
|
|
|
|
local WarnChannel = mod:NewSpellAnnounce(-6001, 2, 31543)
|
|
|
|
local specWarnReflect = mod:NewSpecialWarningReflect(31534, "-Melee", nil, nil, 1, 2)--CasterDps after new core
|
|
|
|
local timerReflect = mod:NewBuffActiveTimer(8, 31534, nil, nil, nil, 5)
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
if args.spellId == 31543 then
|
|
WarnChannel:Show()
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args.spellId == 31534 then
|
|
timerReflect:Start(args.destName)
|
|
specWarnReflect:Show(args.destName)
|
|
specWarnReflect:Play("stopattack")
|
|
end
|
|
end
|
|
|