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

local mod = DBM:NewMod(639, "DBM-Party-WotLK", 10, 285)
local L = mod:GetLocalizedStrings()
if not mod:IsClassic() then
mod.statTypes = "normal,heroic,timewalker"
end
mod:SetRevision("20230311193122")
mod:SetCreatureID(24200, 24201)
mod:SetEncounterID(2024)
mod:SetModelID(26349)
mod:RegisterCombat("combat")
--mod:RegisterKill("kill")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 43650",
"SPELL_SUMMON 52611"
)
local warningEnfeeble = mod:NewTargetNoFilterAnnounce(43650, 2)
local warningSummon = mod:NewSpellAnnounce(52611, 3)
function mod:SPELL_AURA_APPLIED(args)
if args.spellId == 43650 then
warningEnfeeble:Show(args.destName)
end
end
function mod:SPELL_SUMMON(args)
if args.spellId == 52611 and self:AntiSpam() then
warningSummon:Show()
end
end