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.

48 lines
1.2 KiB

4 years ago
--------------------------------------------------------------------------------
-- Module declaration
--
local mod, CL = BigWigs:NewBoss("Prince Taldaram", 619, 581)
if not mod then return end
mod:RegisterEnableMob(29308)
--------------------------------------------------------------------------------
-- Initialization
--
function mod:GetOptions()
return {
59513, -- Embrace of the Vampyr
55931, -- Conjure Flame Sphere
}
end
function mod:OnBossEnable()
self:Log("SPELL_AURA_APPLIED", "EmbraceOfTheVampyr", 55959, 59513)
self:Log("SPELL_AURA_REMOVED", "EmbraceOfTheVampyrRemoved", 55959, 59513)
self:Log("SPELL_CAST_START", "ConjureFlameSphere", 55931)
self:Death("Win", 29308)
end
--------------------------------------------------------------------------------
-- Event Handlers
--
function mod:EmbraceOfTheVampyr(args)
self:TargetMessageOld(59513, args.destName, "red", "warning", nil, nil, true)
self:Bar(59513, 20)
end
function mod:EmbraceOfTheVampyrRemoved(args)
self:MessageOld(59513, "green", nil, CL.over:format(args.spellName))
self:StopBar(args.spellName)
end
function mod:ConjureFlameSphere(args)
self:MessageOld(args.spellId, "red")
self:Bar(args.spellId, 10)
end