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.
52 lines
1.6 KiB
52 lines
1.6 KiB
-------------------------------------------------------------------------------
|
|
-- Module Declaration
|
|
|
|
local mod, CL = BigWigs:NewBoss("Chrono-Lord Epoch", 595, 613)
|
|
if not mod then return end
|
|
mod:RegisterEnableMob(26532)
|
|
mod.engageId = 2003
|
|
--mod.respawnTime = 0 -- couldn't wipe, Arthas refuses to die
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- Localization
|
|
|
|
local L = mod:GetLocale()
|
|
if L then
|
|
-- Prince Arthas Menethil, on this day, a powerful darkness has taken hold of your soul. The death you are destined to visit upon others will this day be your own.
|
|
L.warmup_trigger = "on this day"
|
|
end
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- Initialization
|
|
|
|
function mod:GetOptions()
|
|
return {
|
|
"warmup",
|
|
52772, -- Curse of Exertion
|
|
}
|
|
end
|
|
|
|
function mod:OnBossEnable()
|
|
self:RegisterEvent("CHAT_MSG_MONSTER_YELL", "Warmup")
|
|
self:Log("SPELL_AURA_APPLIED", "CurseOfExertion", 52772)
|
|
self:Log("SPELL_AURA_REMOVED", "CurseOfExertionRemoved", 52772)
|
|
end
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- Event Handlers
|
|
|
|
function mod:Warmup(event, msg)
|
|
if msg:find(L.warmup_trigger, nil, true) then
|
|
self:UnregisterEvent(event)
|
|
self:Bar("warmup", 19.2, CL.active, "inv_sword_01")
|
|
end
|
|
end
|
|
|
|
function mod:CurseOfExertion(args)
|
|
self:TargetMessageOld(args.spellId, args.destName, "red")
|
|
self:Bar(args.spellId, 10, args.destName)
|
|
end
|
|
|
|
function mod:CurseOfExertionRemoved(args)
|
|
self:StopBar(args.spellName, args.destName)
|
|
end
|
|
|