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.

28 lines
675 B

local mod = DBM:NewMod(470, "DBM-Party-Vanilla", DBM:IsPostCata() and 13 or 18, 239)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20240316010232")
mod:SetCreatureID(7206)
mod:SetEncounterID(551)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_SUCCESS 10132 10094"
)
local warningSandStorms = mod:NewSpellAnnounce(10132, 2)
local timerSandStormsCD = mod:NewAITimer(180, 10132, nil, nil, nil, 3)
function mod:OnCombatStart(delay)
timerSandStormsCD:Start(1-delay)
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpell(10132, 10094) then
warningSandStorms:Show()
timerSandStormsCD:Start()
end
end