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.
29 lines
756 B
29 lines
756 B
local mod = DBM:NewMod("GeneralDrakkisath", "DBM-Party-Vanilla", DBM:IsCata() and 18 or 4)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20240315080105")
|
|
mod:SetCreatureID(10363)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_AURA_APPLIED 16805",
|
|
"SPELL_AURA_REMOVED 16805"
|
|
)
|
|
|
|
local warnConflagration = mod:NewTargetNoFilterAnnounce(16805, 2)
|
|
|
|
local timerConflagration = mod:NewTargetTimer(10, 16805, nil, nil, nil, 3)
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args:IsSpell(16805) then
|
|
warnConflagration:Show(args.destName)
|
|
timerConflagration:Start(args.destName)
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_AURA_REMOVED(args)
|
|
if args:IsSpell(16805) then
|
|
timerConflagration:Stop(args.destName)
|
|
end
|
|
end
|
|
|