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.
62 lines
1.4 KiB
62 lines
1.4 KiB
|
|
--------------------------------------------------------------------------------
|
|
-- Module Declaration
|
|
--
|
|
|
|
local mod = BigWigs:NewBoss("Brutallus", -646, 1883)
|
|
if not mod then return end
|
|
mod:RegisterEnableMob(117239)
|
|
mod.otherMenu = -619
|
|
mod.worldBoss = 117239
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Initialization
|
|
--
|
|
|
|
function mod:GetOptions()
|
|
return {
|
|
233484, -- Meteor Slash
|
|
233566, -- Rupture
|
|
233515, -- Crashing Embers
|
|
}
|
|
end
|
|
|
|
function mod:OnBossEnable()
|
|
self:ScheduleTimer("CheckForEngage", 1)
|
|
self:RegisterEvent("BOSS_KILL")
|
|
|
|
self:Log("SPELL_CAST_START", "MeteorSlash", 233484)
|
|
self:Log("SPELL_CAST_SUCCESS", "Rupture", 233566)
|
|
self:Log("SPELL_CAST_SUCCESS", "CrashingEmbers", 233515)
|
|
|
|
self:Death("Win", 117239)
|
|
end
|
|
|
|
function mod:OnEngage()
|
|
self:CheckForWipe()
|
|
end
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Event Handlers
|
|
--
|
|
|
|
function mod:BOSS_KILL(_, id)
|
|
--if id == XXX then
|
|
-- self:Win()
|
|
--end
|
|
end
|
|
|
|
function mod:MeteorSlash(args)
|
|
self:MessageOld(args.spellId, "orange", "warning")
|
|
self:CDBar(args.spellId, 16)
|
|
end
|
|
|
|
function mod:Rupture(args)
|
|
self:MessageOld(args.spellId, "yellow", "info")
|
|
self:CDBar(args.spellId, 18)
|
|
end
|
|
|
|
function mod:CrashingEmbers(args)
|
|
self:MessageOld(args.spellId, "red", "alert")
|
|
self:CDBar(args.spellId, 17)
|
|
end
|
|
|