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

local mod = DBM:NewMod(420, "DBM-Party-Vanilla", 4, 231)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20221029204017")
mod:SetCreatureID(7079)
mod:SetEncounterID(378)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_SUCCESS 21687"
)
local warningToxicVolley = mod:NewSpellAnnounce(21687, 2, nil, "Healer|RemovePoison")
local timerToxicVolleyCD = mod:NewAITimer(180, 21687, nil, nil, nil, 3, nil, DBM_COMMON_L.POISON_ICON)
function mod:OnCombatStart(delay)
timerToxicVolleyCD:Start(1-delay)
end
function mod:SPELL_CAST_SUCCESS(args)
if args.spellId == 21687 then
warningToxicVolley:Show()
timerToxicVolleyCD:Start()
end
end