local mod	= DBM:NewMod("Aeonus", "DBM-Party-BC", 12)
local L		= mod:GetLocalizedStrings()

mod:SetRevision(("$Revision: 315 $"):sub(12, -3))
mod:SetCreatureID(17881)
--mod:SetModelID(20510) -- to big :(

mod:RegisterCombat("combat")

mod:RegisterEvents(
	"CHAT_MSG_MONSTER_EMOTE",
	"SPELL_CAST_SUCCESS"
)

local warnFrenzy		= mod:NewAnnounce("warnFrenzy", 3)
local warnTimeStop		= mod:NewSpellAnnounce(31422)
local timerTimeStop		= mod:NewBuffActiveTimer(4, 31422)

function mod:CHAT_MSG_MONSTER_EMOTE(msg)
	if msg == L.AeonusFrenzy and self:IsInCombat() then		-- Frenzy
		warnFrenzy:Show()
	end
end

function mod:SPELL_CAST_SUCCESS(args)
	if args.spellId == 31422 then     --Time Stop
		warnTimeStop:Show()
		timerTimeStop:Start()
	end
end