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.
29 lines
717 B
29 lines
717 B
local mod = DBM:NewMod(545, "DBM-Party-BC", 10, 253)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20190417010024")
|
|
|
|
mod:SetCreatureID(18667)
|
|
mod:SetEncounterID(1909)
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_SUCCESS 33676"
|
|
)
|
|
|
|
local warnChaos = mod:NewSpellAnnounce(33676, 4)
|
|
|
|
local timerChaos = mod:NewBuffActiveTimer(15, 33676, nil, nil, nil, 3)
|
|
local timerNextChaos = mod:NewNextTimer(70, 33676, nil, nil, nil, 6)
|
|
|
|
function mod:OnCombatStart(delay)
|
|
timerNextChaos:Start(15-delay)
|
|
end
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
if args.spellId == 33676 then
|
|
warnChaos:Show()
|
|
timerChaos:Start()
|
|
timerNextChaos:Start()
|
|
end
|
|
end
|