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.
34 lines
787 B
34 lines
787 B
local mod = DBM:NewMod(453, "DBM-Party-Vanilla", 10, 236)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20221029204017")
|
|
mod:SetCreatureID(10438)
|
|
mod:SetEncounterID(481)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_START 16869",
|
|
"SPELL_AURA_APPLIED 16869"
|
|
)
|
|
|
|
local warningIceTomb = mod:NewTargetNoFilterAnnounce(16869, 3)
|
|
|
|
local timerIceTombCD = mod:NewAITimer(180, 16869, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)
|
|
|
|
function mod:OnCombatStart(delay)
|
|
timerIceTombCD:Start(1-delay)
|
|
end
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
if args.spellId == 16869 then
|
|
timerIceTombCD:Start()
|
|
end
|
|
end
|
|
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args.spellId == 16869 then
|
|
warningIceTomb:Show(args.destName)
|
|
end
|
|
end
|
|
|