local mod = DBM:NewMod(545, "DBM-Party-BC", 10, 253)
local L = mod:GetLocalizedStrings()

mod:SetRevision("20250929220131")
mod:SetCreatureID(18667)
mod:SetEncounterID(1909)

mod:SetModelID(18058)
mod:SetModelScale(0.95)
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(40.5, 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
