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
773 B

local mod = DBM:NewMod(586, "DBM-Party-WotLK", 2, 272)
local L = mod:GetLocalizedStrings()
if not mod:IsClassic() then
mod.statTypes = "normal,heroic,timewalker"
end
mod:SetRevision("20230311193122")
mod:SetCreatureID(28921)
mod:SetEncounterID(1972)
mod:DisableESCombatDetection()
mod:SetHotfixNoticeRev(20220119000000)
mod:SetMinSyncRevision(20220119000000)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 53030 59417 53400 59419"
)
local warningCloud = mod:NewSpellAnnounce(53400, 3)
local warningLeech = mod:NewSpellAnnounce(53030, 1)
function mod:SPELL_CAST_START(args)
if args:IsSpellID(53030, 59417) then
warningLeech:Show()
elseif args:IsSpellID(53400, 59419) then
warningCloud:Show()
end
end