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.
89 lines
2.5 KiB
89 lines
2.5 KiB
|
|
--------------------------------------------------------------------------------
|
|
-- Module Declaration
|
|
--
|
|
|
|
local mod, CL = BigWigs:NewBoss("Domina Venomblade", 2289, 2423)
|
|
if not mod then return end
|
|
mod:RegisterEnableMob(164266) -- Domina Venomblade
|
|
mod.engageId = 2385
|
|
--mod.respawnTime = 30
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Initialization
|
|
--
|
|
|
|
function mod:GetOptions()
|
|
return {
|
|
332313, -- Brood Assassins
|
|
325552, -- Cytotoxic Slash
|
|
{325245, "SAY", "SAY_COUNTDOWN"}, -- Shadow Ambush
|
|
336258, -- Solitary Prey
|
|
}
|
|
end
|
|
|
|
function mod:OnBossEnable()
|
|
self:Log("SPELL_CAST_START", "BroodAssassins", 332313)
|
|
self:Log("SPELL_CAST_SUCCESS", "CytotoxicSlash", 325552)
|
|
self:Log("SPELL_AURA_APPLIED", "CytotoxicSlashApplied", 325552)
|
|
self:Log("SPELL_AURA_APPLIED", "ShadowwhirlApplied", 333353) -- Shadowwhirl, Shadow Ambush target debuff
|
|
self:Log("SPELL_AURA_REMOVED", "ShadowwhirlRemoved", 333353) -- Shadowwhirl, Shadow Ambush target debuff
|
|
self:Log("SPELL_AURA_APPLIED", "SolitaryPreyApplied", 336258)
|
|
self:Log("SPELL_AURA_REMOVED", "SolitaryPreyRemoved", 336258)
|
|
|
|
end
|
|
|
|
function mod:OnEngage()
|
|
self:Bar(325552, 6) -- Cytotoxic Slash
|
|
self:Bar(325245, 11.2) -- Shadow Ambush
|
|
self:Bar(332313, 11.2) -- Brood Assassins
|
|
end
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Event Handlers
|
|
--
|
|
|
|
function mod:BroodAssassins(args)
|
|
self:Message(args.spellId, "cyan")
|
|
self:PlaySound(args.spellId, "long")
|
|
self:Bar(args.spellId, 36)
|
|
end
|
|
|
|
function mod:CytotoxicSlash(args)
|
|
self:Bar(args.spellId, 22)
|
|
end
|
|
|
|
function mod:CytotoxicSlashApplied(args) -- XXX Only for tanks, healers, poison dispellers?
|
|
self:TargetMessage(args.spellId, "purple", args.destName)
|
|
self:PlaySound(args.spellId, "alert")
|
|
end
|
|
|
|
function mod:ShadowwhirlApplied(args)
|
|
self:TargetMessage(325245, "yellow", args.destName)
|
|
self:Bar(325245, 22)
|
|
if self:Me(args.destGUID) then
|
|
self:PlaySound(325245, "warning")
|
|
self:Say(325245)
|
|
self:SayCountdown(325245, 6)
|
|
end
|
|
end
|
|
|
|
function mod:ShadowwhirlRemoved(args)
|
|
if self:Me(args.destGUID) then
|
|
self:CancelSayCountdown(325245)
|
|
end
|
|
end
|
|
|
|
function mod:SolitaryPreyApplied(args)
|
|
if self:Me(args.destGUID) then
|
|
self:PersonalMessage(args.spellId)
|
|
self:PlaySound(args.spellId, "alarm")
|
|
self:TargetBar(args.spellId, 6, args.destName)
|
|
end
|
|
end
|
|
|
|
function mod:SolitaryPreyRemoved(args)
|
|
if self:Me(args.destGUID) then
|
|
self:StopBar(args.spellId, args.destName)
|
|
end
|
|
end
|
|
|