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.

33 lines
763 B

local mod = DBM:NewMod("RhahkZor", "DBM-Party-Vanilla", 5)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20231012014002")
mod:SetCreatureID(644)
--mod:SetEncounterID(1144)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_SUCCESS 6304",
"SPELL_AURA_APPLIED 6304"
)
local warningSlam = mod:NewTargetNoFilterAnnounce(6304, 2)
local timerSlamCD = mod:NewAITimer(180, 6304, nil, nil, nil, 5, nil, DBM_COMMON_L.TANK_ICON)
function mod:OnCombatStart(delay)
timerSlamCD:Start(1-delay)
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpell(6304) then
timerSlamCD:Start()
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(6304) then
warningSlam:Show(args.destName)
end
end