55 lines
3.2 KiB
Lua
55 lines
3.2 KiB
Lua
-- Lower Karazhan Halls (Octo BigWigs Raids/Karazhan/{DarkRiderChampion,BroodQueenAraxxna,LordBlackwaldII}.lua), native server events.
|
|
-- Reaver Storm 57066, Brood Venom Volley 57063, Leeching Bite 57056, Blackwalds Boon 57073, Empowered Soul 57075.
|
|
|
|
local function reaverStorm(self)
|
|
if not self:Throttle("storm", 2) then return end
|
|
self:RemoveBar("Reaver Storm CD")
|
|
self:Bar("Reaver Storm Cast", 1.5, "Ability_Whirlwind", true, "Red")
|
|
self:DelayedBar(1.5, "Reaver Storm CD", 5.5, "Ability_Whirlwind", true, "White")
|
|
end
|
|
|
|
local rider = OctoBossMods:NewModule("Dark Rider Champion", {npcs = {61204}, displayName = "Dark Rider Champion", zone = "Karazhan", trash = true})
|
|
rider.Storm = reaverStorm
|
|
rider.events = {SPELL_CAST_START = {[57066] = "Storm"}}
|
|
|
|
local araxxna = OctoBossMods:NewModule("Brood Queen Araxxna", {npcs = {61221}, displayName = "Brood Queen Araxxna", zone = "Karazhan",
|
|
engageYells = {"What goes there, new prey to be entangled?"}})
|
|
function araxxna:OnEngage() self:Bar("Brood Venom Volley", 8, "Spell_Nature_InsectSwarm", true, "Green") end
|
|
function araxxna:Volley()
|
|
if not self:Throttle("volley", 3) then return end
|
|
self:Bar("Brood Venom Volley", 8, "Spell_Nature_InsectSwarm", true, "Green")
|
|
local _, c = UnitClass("player")
|
|
if c == "SHAMAN" or c == "DRUID" or c == "PALADIN" then self:WarningSign("Spell_Nature_InsectSwarm", 0.7) end
|
|
end
|
|
function araxxna:Bite(_, _, _, dstName) if dstName then self:Bar(dstName .. " Leeching Bite", 10, "ability_poisonsting", true, "Blue") end end
|
|
function araxxna:BiteFade(_, _, _, dstName) if dstName then self:RemoveBar(dstName .. " Leeching Bite") end end
|
|
function araxxna:Eggs()
|
|
self:Bar("Skitterweb Egg Hatch", 20, "inv_egg_02", true, "Red")
|
|
self:Message("2 Eggs Spawned!", "Urgent")
|
|
end
|
|
araxxna.yells = {{"My minions shall consume you!", "Eggs"}}
|
|
araxxna.events = {SPELL_CAST_SUCCESS = {[57063] = "Volley"}, SPELL_AURA_APPLIED = {[57056] = "Bite"}, SPELL_AURA_REMOVED = {[57056] = "BiteFade"}}
|
|
|
|
local blackwald = OctoBossMods:NewModule("Lord Blackwald II", {npcs = {61222}, displayName = "Lord Blackwald II", zone = "Karazhan",
|
|
engageYells = {"You dare disturb the Dark Rider Lord?"}})
|
|
function blackwald:OnEngage() self:Bar("Summons add", 30, "inv_misc_bone_orcskull_01", true, "Cyan") end
|
|
blackwald.Storm = reaverStorm
|
|
function blackwald:Boon(_, _, dstGUID, dstName)
|
|
if not dstName then return end
|
|
self:Bar("Boon on " .. dstName, 15, "Spell_Shadow_ChillTouch", true, "Blue")
|
|
local _, c = UnitClass("player")
|
|
if c == "PRIEST" or c == "PALADIN" then self:WarningSign("Spell_Shadow_ChillTouch", 0.7) end
|
|
end
|
|
function blackwald:BoonFade(_, _, _, dstName) if dstName then self:RemoveBar("Boon on " .. dstName) end end
|
|
function blackwald:Soul(_, _, _, dstName) if dstName then self:Bar(dstName .. " Empowered", 10, "Spell_Shadow_Haunting", true, "Black") end end
|
|
function blackwald:Summon()
|
|
self:Message("Shadowbane Ragefang Summoned!", "Urgent")
|
|
self:Bar("Summons add", 45, "inv_misc_bone_orcskull_01", true, "Cyan")
|
|
end
|
|
blackwald.yells = {{"I call upon the Scythe of Elune, grant me your power!", "Summon"}}
|
|
blackwald.events = {
|
|
SPELL_CAST_START = {[57066] = "Storm"},
|
|
SPELL_AURA_APPLIED = {[57073] = "Boon", [57075] = "Soul"},
|
|
SPELL_AURA_REMOVED = {[57073] = "BoonFade"},
|
|
}
|