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.

27 lines
708 B

local mod = DBM:NewMod(427, "DBM-Party-Vanilla", DBM:IsRetail() and 6 or 8, 232)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20231012014002")
mod:SetCreatureID(12236)
mod:SetEncounterID(424)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_SUCCESS 7964"
)
local warningSmokeBomb = mod:NewSpellAnnounce(7964, 2)
local timerSmokeBombCD = mod:NewCDTimer(14.6, 7964, nil, nil, nil, 3)
function mod:OnCombatStart(delay)
-- timerSmokeBombCD:Start(1-delay)--Used near instant on pull
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpell(7964) and args:IsSrcTypeHostile() then
warningSmokeBomb:Show()
timerSmokeBombCD:Start()
end
end