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.
35 lines
808 B
35 lines
808 B
|
2 years ago
|
local mod = DBM:NewMod(453, "DBM-Party-Vanilla", DBM:IsRetail() and 10 or 16, 236)
|
||
|
|
local L = mod:GetLocalizedStrings()
|
||
|
|
|
||
|
|
mod:SetRevision("20231012014002")
|
||
|
|
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:IsSpell(16869) then
|
||
|
|
timerIceTombCD:Start()
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
|
||
|
|
function mod:SPELL_AURA_APPLIED(args)
|
||
|
|
if args:IsSpell(16869) then
|
||
|
|
warningIceTomb:Show(args.destName)
|
||
|
|
end
|
||
|
|
end
|