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.
30 lines
733 B
30 lines
733 B
|
2 years ago
|
local mod = DBM:NewMod("GeneralDrakkisath", "DBM-Party-Vanilla", 4)
|
||
|
|
local L = mod:GetLocalizedStrings()
|
||
|
|
|
||
|
|
mod:SetRevision("20231012014002")
|
||
|
|
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
|