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.
|
|
|
|
local mod = DBM:NewMod(585, "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(28684)
|
|
|
|
|
mod:SetEncounterID(1971)
|
|
|
|
|
|
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
|
|
|
|
|
|
mod:RegisterEventsInCombat(
|
|
|
|
|
"SPELL_CAST_SUCCESS 52592 59368"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
local warningCurse = mod:NewSpellAnnounce(52592, 2)
|
|
|
|
|
|
|
|
|
|
local timerCurseCD = mod:NewCDTimer(20, 52592, nil, nil, nil, 2)
|
|
|
|
|
|
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
|
|
|
if args:IsSpellID(52592, 59368) then
|
|
|
|
|
warningCurse:Show()
|
|
|
|
|
timerCurseCD:Start()
|
|
|
|
|
end
|
|
|
|
|
end
|