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.

30 lines
795 B

local mod = DBM:NewMod("Cookie", "DBM-Party-Vanilla", 5)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20231012014002")
mod:SetCreatureID(645)
--mod:SetEncounterID(1144)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 5174"
)
local specWarnHeal = mod:NewSpecialWarningInterrupt(5174, "HasInterrupt", nil, nil, 1, 2)
local timerHealCD = mod:NewAITimer(180, 5174, nil, nil, nil, 4, nil, DBM_COMMON_L.INTERRUPT_ICON)
function mod:OnCombatStart(delay)
timerHealCD:Start(1-delay)
end
function mod:SPELL_CAST_START(args)
if args:IsSpell(5174) then
timerHealCD:Start()
if self:CheckInterruptFilter(args.sourceGUID, false, true) then
specWarnHeal:Show(args.sourceName)
specWarnHeal:Play("kickcast")
end
end
end