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.
49 lines
1.2 KiB
49 lines
1.2 KiB
|
|
--------------------------------------------------------------------------------
|
|
-- Module Declaration
|
|
--
|
|
|
|
local mod, CL = BigWigs:NewBoss("Ranjit", 1209, 965)
|
|
if not mod then return end
|
|
mod:RegisterEnableMob(75964)
|
|
mod.engageId = 1698
|
|
mod.respawnTime = 15
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Initialization
|
|
--
|
|
|
|
function mod:GetOptions()
|
|
return {
|
|
156793, -- Four Winds
|
|
153315, -- Windwall
|
|
165731, -- Piercing Rush
|
|
}
|
|
end
|
|
|
|
function mod:OnBossEnable()
|
|
self:Log("SPELL_CAST_START", "FourWinds", 156793)
|
|
self:Log("SPELL_CAST_START", "Windwall", 153315)
|
|
self:Log("SPELL_CAST_SUCCESS", "PiercingRush", 165731)
|
|
end
|
|
|
|
function mod:OnEngage()
|
|
self:Bar(156793, 36) -- Four Winds
|
|
end
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Event Handlers
|
|
--
|
|
|
|
function mod:FourWinds(args)
|
|
self:MessageOld(args.spellId, "orange", "warning")
|
|
self:Bar(args.spellId, 36)
|
|
end
|
|
|
|
function mod:Windwall(args)
|
|
self:MessageOld(args.spellId, "red")
|
|
end
|
|
|
|
function mod:PiercingRush(args)
|
|
self:TargetMessageOld(args.spellId, args.destName, "yellow", "alarm")
|
|
end
|
|
|