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.
27 lines
716 B
27 lines
716 B
local mod = DBM:NewMod(642, "DBM-Party-WotLK", 11, 286)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
if not mod:IsClassic() then
|
|
mod.statTypes = "normal,heroic,timewalker"
|
|
end
|
|
|
|
mod:SetRevision("20230311193122")
|
|
mod:SetCreatureID(26687)
|
|
mod:SetEncounterID(2027)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_AURA_APPLIED 48261 59268"
|
|
)
|
|
|
|
local warningImpale = mod:NewTargetNoFilterAnnounce(48261, 2, nil, "Healer")
|
|
|
|
local timerImpale = mod:NewTargetTimer(9, 48261, nil, "Healer", 2, 5, nil, DBM_COMMON_L.HEALER_ICON)
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args:IsSpellID(48261, 59268) then
|
|
warningImpale:Show(args.destName)
|
|
timerImpale:Start(args.destName)
|
|
end
|
|
end
|
|
|