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

local mod = DBM:NewMod("MrSmite", "DBM-Party-Vanilla", 5)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20231012014002")
mod:SetCreatureID(646)
--mod:SetEncounterID(1144)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_SUCCESS 6432",
"SPELL_AURA_APPLIED 6435 6264"
)
local warningSmiteSlam = mod:NewTargetNoFilterAnnounce(6435, 2)
local warningNimbleReflexes = mod:NewTargetNoFilterAnnounce(6264, 2)
local timerSmiteStomp = mod:NewBuffFadesTimer(10, 6432, nil, nil, nil, 2)
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpell(6432) then
timerSmiteStomp:Start()
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(6435) then
warningSmiteSlam:Show(args.destName)
elseif args:IsSpell(6264) then
warningNimbleReflexes:Show(args.destName)
end
end