Skip to content

Commit

Permalink
BRH fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Aug 26, 2016
1 parent 92d1952 commit 7afb625
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 106 deletions.
46 changes: 27 additions & 19 deletions Legion/BlackRookHold/AmalgamOfSouls.lua
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
--------------------------------------------------------------------------------
-- Module Declaration
--

--TO DO List
--Tested everything except post phase 2 timers and soulgorge stacks warnings
--All timers were correct on hc and normal runs
--Test if Soul Echoes say works
local mod, CL = BigWigs:NewBoss("Amalgam of Souls", 1081, 1518)
if not mod then return end
mod:RegisterEnableMob(98542)

--------------------------------------------------------------------------------
-- Locals
--

local gorgeCount = 0

--------------------------------------------------------------------------------
-- Initialization
--

function mod:GetOptions()
return {
196078, --Call Souls
194956, --Reap Soul
196587, --Soul Burst
{194966, "SAY"}, --Soul Echoes
195254, --Swirling scythe
196930, --Soulgorge
196078, -- Call Souls
194956, -- Reap Soul
196587, -- Soul Burst
{194966, "SAY"}, -- Soul Echoes
195254, -- Swirling scythe
196930, -- Soulgorge
}
end

Expand All @@ -38,16 +43,18 @@ function mod:OnBossEnable()
self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")
self:Death("Win", 98542)
end
--------------------------------------------------------------------------------
-- Event Handlers
--

function mod:OnEngage()
gorgeCount = 0
self:Bar(195254, 8.5)
self:Bar(194966, 15.7)
self:Bar(194956, 20.4)
self:Bar(195254, 8.5) -- Swirling scythe
self:Bar(194966, 15.7) -- Soul Echoes
self:Bar(194956, 20.4) -- Reap Soul
end

--------------------------------------------------------------------------------
-- Event Handlers
--

function mod:Soulgorge(args)
gorgeCount = gorgeCount + 1
end
Expand All @@ -61,17 +68,17 @@ function mod:SoulBurstStart(args)
end

function mod:SoulBurstSuccess(args)
self:CDBar(195254, 8.5)
self:CDBar(194966, 15.6)
self:CDBar(194956, 20.4)
self:CDBar(195254, 8.5) -- Swirling scythe
self:CDBar(194966, 15.6) -- Soul Echoes
self:CDBar(194956, 20.4) -- Reap Soul
gorgeCount = 0
end

function mod:CallSouls(args)
self:CDBar(196587, 27.5)
self:StopBar(195254)
self:StopBar(194966)
self:StopBar(194956)
self:CDBar(196587, 27.5) -- Soul Burst
self:StopBar(195254) -- Swirling scythe
self:StopBar(194966) -- Soul Echoes
self:StopBar(194956) -- Reap Soul
end

function mod:ReapSoul(args)
Expand All @@ -95,3 +102,4 @@ function mod:SoulEchoesApplied(args)
self:Say(args.spellId)
end
end

34 changes: 21 additions & 13 deletions Legion/BlackRookHold/IllysannaRavencrest.lua
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
--------------------------------------------------------------------------------
-- Module Declaration
--

--TO do List Eye beam is completely missing in transcriptor logs in any means ??
--Dark Rush and Eye beam Say's should be Tested
--Arcane blitz warning message could be changed into "Interrupt (sourceGuid)"
local mod, CL = BigWigs:NewBoss("Illysanna Ravencrest", 1081, 1653)
if not mod then return end
mod:RegisterEnableMob(98696)

--------------------------------------------------------------------------------
-- Initialization
--

function mod:GetOptions()
return {
{197418, "TANK"}, --Vengeful Shear
{197478, "SAY"}, --Dark Rush --
197546, --Brutal Glaive
197797, --Arcane Blitz
197974, --Bonecrushing Strike
{197696, "SAY"}, --Eye Beam
{197418, "TANK"}, -- Vengeful Shear
{197478, "SAY"}, -- Dark Rush
197546, -- Brutal Glaive
197797, -- Arcane Blitz
197974, -- Bonecrushing Strike
{197696, "SAY"}, -- Eye Beam
}
end

Expand All @@ -33,13 +36,15 @@ function mod:OnBossEnable()
end

function mod:OnEngage()
self:Bar(197546, 5.5)
self:Bar(197418, 8.3)
self:CDBar(197478, 14.8)
self:Bar(197546, 5.5) -- Brutal Glaive
self:Bar(197418, 8.3) -- Vengeful Shear
self:CDBar(197478, 14.8) -- Dark Rush
end

--------------------------------------------------------------------------------
-- Event Handlers
--

function mod:BrutalGlaive(args) -- add timer
self:CDBar(args.spellId, 14.5)
self:StopBar(197696)
Expand All @@ -56,18 +61,21 @@ function mod:VengefulShear(args)
end

function mod:EyeBeams(args) -- eye beam missing timer xxx fix this
self:StopBar(197546)
self:StopBar(197418)
self:Bar(197696, 15)
self:StopBar(197546) -- Brutal Glaive
self:StopBar(197418) -- Vengeful Shear
self:Bar(197696, 15) -- Eye Beam
if self:Me(args.destGUID) then
self:Say(args.spellName)
end
end

function mod:ArcaneBlitz(args)
self:Message(args.spellId, "Alarm", self:Interrupter(args.sourceGUID))
if self:Interrupter(args.sourceGUID) then
self:TargetMessage(args.spellId, args.sourceName, "Attention", "Alarm")
end
end

function mod:BonecrushingStrike(args)
self:Message(args.spellId, "Important", "Alarm", CL.incoming:format(args.spellName))
end

104 changes: 56 additions & 48 deletions Legion/BlackRookHold/KurtalosRavencrest.lua
Original file line number Diff line number Diff line change
@@ -1,92 +1,100 @@
--------------------------------------------------------------------------------
-- Module Declaration
--

--TO DO List
--Timers work fine couldnt test Say mechanic stinging swarm due to rng targetting.
local mod, CL = BigWigs:NewBoss("Kurtalos Ravencrest", 1081, 1672)
if not mod then return end
mod:RegisterEnableMob(98965 ,98970)
mod:RegisterEnableMob(98965,98970)

--------------------------------------------------------------------------------
-- Locals
--
local ShadowBoltCount = 1

local shadowBoltCount = 1

--------------------------------------------------------------------------------
-- Initialization
--

function mod:GetOptions()
return {
{198635, "TANK"}, --Unerring Sheer
198820, --Dark Blast
198641, --Whirling Blade
199193, -- Dreadlords Guise
202019, --Shadow Bolt Valley Care first one!!
{201733, "SAY"}, --Stinging Swarm
199143 --Cloud of Hypnosis
}
return {
{198635, "TANK"}, -- Unerring Sheer
198820, -- Dark Blast
198641, -- Whirling Blade
199193, -- Dreadlords Guise
202019, -- Shadow Bolt Volley
{201733, "SAY"}, -- Stinging Swarm
199143, -- Cloud of Hypnosis
}
end

function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "DarkBlast", 198820)
self:Log("SPELL_CAST_START", "WhirlingBlade", 198641)
self:Log("SPELL_CAST_START", "ShadowBoltValley", 202019)
self:Log("SPELL_CAST_START", "StingingSwarm", 201733)
self:Log("SPELL_CAST_SUCCESS", "CloudOfHypnosis", 199143)
self:Log("SPELL_CAST_START", "DreadlordsGuise", 199193)
self:Log("SPELL_AURA_APPLIED", "StingingSwarmApplied", 201733)
self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")
self:Death("Win", 98970)
self:Log("SPELL_CAST_START", "DarkBlast", 198820)
self:Log("SPELL_CAST_START", "WhirlingBlade", 198641)
self:Log("SPELL_CAST_START", "ShadowBoltValley", 202019) -- First one only
self:Log("SPELL_CAST_START", "StingingSwarm", 201733)
self:Log("SPELL_CAST_SUCCESS", "CloudOfHypnosis", 199143)
self:Log("SPELL_CAST_START", "DreadlordsGuise", 199193)
self:Log("SPELL_AURA_APPLIED", "StingingSwarmApplied", 201733)
self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")
self:Death("Win", 98970)
end

function mod:OnEngage()
ShadowBoltCount = 1
self:CDBar(198635, 5.5)
self:CDBar(198641, 11)
self:CDBar(198641, 12)
shadowBoltCount = 1
self:CDBar(198635, 5.5) -- Unerring Sheer
self:CDBar(198641, 11) -- Whirling Blade
self:CDBar(198820, 12) -- Dark Blast
end

--------------------------------------------------------------------------------
-- Event Handlers
--

function mod:DarkBlast(args)
self:Message(args.spellId, "Attention", "Warning", CL.incoming:format(args.spellName))
self:Message(args.spellId, "Attention", "Warning", CL.incoming:format(args.spellName))
end

function mod:WhirlingBlade(args)
self:Message(args.spellId, "Attention", "Info", CL.incoming:format(args.spellName))
self:Message(args.spellId, "Attention", "Info", CL.incoming:format(args.spellName))
end

function mod:ShadowBoltValley(args)
if ShadowBoltCount == 1 then
self:Message(args.spellId, "Important", "Warning", CL.incoming:format(args.spellName))
else
self:Message(args.spellId, "Attention", "Info", CL.incoming:format(args.spellName))
end
self:Bar(args.spellId, 8.5)
ShadowBoltCount = ShadowBoltCount + 1
if shadowBoltCount == 1 then
self:Message(args.spellId, "Important", "Warning", CL.incoming:format(args.spellName))
else
self:Message(args.spellId, "Attention", "Info", CL.incoming:format(args.spellName))
end
self:Bar(args.spellId, 8.5)
shadowBoltCount = shadowBoltCount + 1
end

function mod:DreadlordsGuise(args)
self:StopBar(201733)
self:StopBar(198641)
self:StopBar(202019)
self:StopBar(199143)
if mod:Mythic() then
self:Bar(args.spellId, 22) -- 27 on normal
self:ScheduleTimer("CDBar", 22, 201733, 5,5)
else
self:Bar(args.spellId, 27) -- longer than 23 on Norm/hc
end
self:StopBar(201733) -- Stinging Swarm
self:StopBar(198641) -- Whirling Blade
self:StopBar(202019) -- Shadow Bolt Volley
self:StopBar(199143) -- Cloud of Hypnosis
if mod:Mythic() then
self:Bar(args.spellId, 22) -- 27 on normal
self:ScheduleTimer("CDBar", 22, 201733, 5.5) -- Stinging Swarm
else
self:Bar(args.spellId, 27) -- longer than 23 on Norm/hc
end
end

function mod:CloudOfHypnosis(args)
self:Bar(args.spellId, 30.8)
self:Bar(args.spellId, 30.8)
end

function mod:StingingSwarm(args)
self:CDBar(args.spellId, 17)
self:CDBar(args.spellId, 17)
end

function mod:StingingSwarmApplied(args)
if self:Me(args.destGUID) then
self:Say(args.spellName)
end
if self:Me(args.destGUID) then
self:Say(args.spellName)
end
end

Loading

0 comments on commit 7afb625

Please sign in to comment.