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
995 B
35 lines
995 B
|
4 years ago
|
-------------------------------------------------------------------------------
|
||
|
|
-- Module Declaration
|
||
|
|
|
||
|
|
local mod, CL = BigWigs:NewBoss("Salramm the Fleshcrafter", 595, 612)
|
||
|
|
if not mod then return end
|
||
|
|
mod:RegisterEnableMob(26530)
|
||
|
|
mod.engageId = 2004
|
||
|
|
--mod.respawnTime = 0 -- resets instead of respawning
|
||
|
|
|
||
|
|
-------------------------------------------------------------------------------
|
||
|
|
-- Initialization
|
||
|
|
|
||
|
|
function mod:GetOptions()
|
||
|
|
return {
|
||
|
|
58845, -- Curse of Twisted Flesh
|
||
|
|
}
|
||
|
|
end
|
||
|
|
|
||
|
|
function mod:OnBossEnable()
|
||
|
|
self:Log("SPELL_AURA_APPLIED", "TwistedFlesh", 58845)
|
||
|
|
self:Log("SPELL_AURA_REMOVED", "TwistedFleshRemoved", 58845)
|
||
|
|
end
|
||
|
|
|
||
|
|
-------------------------------------------------------------------------------
|
||
|
|
-- Event Handlers
|
||
|
|
|
||
|
|
function mod:TwistedFlesh(args)
|
||
|
|
self:TargetMessageOld(args.spellId, args.destName, "red")
|
||
|
|
self:Bar(args.spellId, 30, args.destName)
|
||
|
|
end
|
||
|
|
|
||
|
|
function mod:TwistedFleshRemoved(args)
|
||
|
|
self:StopBar(args.spellName, args.destName)
|
||
|
|
end
|