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.
31 lines
749 B
31 lines
749 B
local mod = DBM:NewMod(597, "DBM-Party-WotLK", 6, 275)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
if not mod:IsClassic() then
|
|
mod.statTypes = "normal,heroic,timewalker"
|
|
end
|
|
|
|
mod:SetRevision("20230311193122")
|
|
mod:SetCreatureID(28586)
|
|
mod:SetEncounterID(1987)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_START 52027 52028"
|
|
)
|
|
|
|
local warningWhirlwind = mod:NewSpellAnnounce(52027, 3)
|
|
|
|
local specWarnWhirlwind = mod:NewSpecialWarningRun(52027, "Melee", nil, nil, 4, 2)
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
if args:IsSpellID(52027, 52028) then
|
|
if self.Options.SpecWarn52024run then
|
|
specWarnWhirlwind:Show()
|
|
specWarnWhirlwind:Play("runout")
|
|
else
|
|
warningWhirlwind:Show()
|
|
end
|
|
end
|
|
end
|
|
|