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.
35 lines
874 B
35 lines
874 B
|
4 years ago
|
|
||
|
|
--------------------------------------------------------------------------------
|
||
|
|
-- Module declaration
|
||
|
|
--
|
||
|
|
|
||
|
|
local mod, CL = BigWigs:NewBoss("Commander Kolurg/Stoutbeard", 576, UnitFactionGroup("player") == "Horde" and 617 or 833)
|
||
|
|
if not mod then return end
|
||
|
|
mod:RegisterEnableMob(26798, 26796) -- Commander Kolurg, Commander Stoutbeard
|
||
|
|
|
||
|
|
--------------------------------------------------------------------------------
|
||
|
|
-- Initialization
|
||
|
|
--
|
||
|
|
|
||
|
|
function mod:GetOptions()
|
||
|
|
return {
|
||
|
|
38618, -- Whirlwind
|
||
|
|
}
|
||
|
|
end
|
||
|
|
|
||
|
|
function mod:OnBossEnable()
|
||
|
|
self:Log("SPELL_CAST_START", "Whirlwind", 38618)
|
||
|
|
|
||
|
|
self:Death("Win", 26798, 26796)
|
||
|
|
end
|
||
|
|
|
||
|
|
--------------------------------------------------------------------------------
|
||
|
|
-- Event Handlers
|
||
|
|
--
|
||
|
|
|
||
|
|
function mod:Whirlwind(args)
|
||
|
|
self:MessageOld(args.spellId, "orange", "info")
|
||
|
|
self:CDBar(args.spellId, 14.5)
|
||
|
|
end
|
||
|
|
|