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

local mod = DBM:NewMod(480, "DBM-Party-Vanilla", DBM:IsPostCata() and 14 or 19, 240)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20240616044034")
mod:SetCreatureID(5775)
mod:SetEncounterID(591)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 8142"
)
local warnVines = mod:NewSpellSourceAnnounce(8142, 2)
local timerVinesCD = mod:NewAITimer(180, 8142, nil, nil, nil, 4, nil, DBM_COMMON_L.INTERRUPT_ICON)
function mod:OnCombatStart(delay)
timerVinesCD:Start(1-delay)
end
function mod:SPELL_CAST_START(args)
if args:IsSpell(8142) and args:IsDestTypePlayer() then
warnVines:Show(args.sourceName)
timerVinesCD:Start()
end
end