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.

46 lines
1.1 KiB

-------------------------------------------------------------------------------
-- Module Declaration
--
local mod, CL = BigWigs:NewBoss("Ambassador Hellmaw", 555, 544)
if not mod then return end
mod:RegisterEnableMob(18731)
-- mod.engageId = 1908 -- no boss frames
-- mod.respawnTime = 0 -- resets, doesn't respawn
-------------------------------------------------------------------------------
-- Initialization
--
function mod:GetOptions()
return {
33547, -- Fear
"berserk",
},{
[33547] = "general",
["berserk"] = "heroic",
}
end
function mod:OnBossEnable()
self:Log("SPELL_CAST_SUCCESS", "Fear", 33547)
self:RegisterEvent("PLAYER_REGEN_DISABLED", "CheckForEngage")
self:Death("Win", 18731)
end
function mod:OnEngage()
self:RegisterEvent("PLAYER_REGEN_ENABLED", "CheckForWipe")
self:CDBar(33547, 15) -- Fear
if not self:Normal() then
self:Berserk(180)
end
end
-------------------------------------------------------------------------------
-- Event Handlers
--
function mod:Fear(args)
self:CDBar(args.spellId, 25.5) -- 25.5 - 30s
end