Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Sep 16, 2016
1 parent 497ab99 commit cde4d87
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 23 deletions.
4 changes: 2 additions & 2 deletions Legion/DarkheartThicket/ArchdruidGlaidalis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ end

function mod:PrimalRampage(args)
self:Message(args.spellId, "Important", "Warning")
self:CDBar(args.spellId, 30) -- pull:12.7, 30.3
self:CDBar(args.spellId, 30) -- pull:12.7, 30.3 / m pull:12.6, 31.6, 29.9, 27.9
end

do
Expand All @@ -60,6 +60,6 @@ function mod:GrievousTearApplied(args)
self:Flash(args.spellId)
end
self:TargetMessage(args.spellId, args.destName, "Attention")
self:CDBar(args.spellId, 13) -- pull:5.7, 14.5, 13.3
self:CDBar(args.spellId, 13) -- pull:5.7, 14.5, 13.3 / m pull:6.8, 15.5, 16.1, 15.3, 12.5, 14.3
end

8 changes: 4 additions & 4 deletions Legion/DarkheartThicket/Dresaron.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ end
function mod:OnEngage()
first = true
self:CDBar(199345, 21) -- Down Draft
self:CDBar(191325, 14.5) -- Breath of Corruption
self:CDBar(191325, 13.5) -- Breath of Corruption
end

--------------------------------------------------------------------------------
Expand All @@ -48,7 +48,7 @@ end

function mod:DownDraft(args)
self:Message(args.spellId, "Important", "Warning")
self:CDBar(args.spellId, 30) -- pull:20.8, 34.7 / hc pull:21.7, 30.3, 30.4
self:CDBar(args.spellId, 30) -- pull:20.8, 34.7 / hc pull:21.7, 30.3, 30.4 / m pull:21.8, 34.0, 35.2
end

do
Expand All @@ -62,10 +62,10 @@ do
end
end

function mod:UNIT_SPELLCAST_SUCCEEDED(unit, spellName, _, _, spellId)
function mod:UNIT_SPELLCAST_SUCCEEDED(_, _, _, _, spellId)
if spellId == 199332 then -- Breath of Corruption
self:Message(191325, "Attention", "Info")
self:CDBar(191325, first and 20 or 30) -- XXX 13-15 on hc
self:CDBar(191325, first and 20 or 30) -- XXX m pull:13.5, 21.5, 13.8, 20.6, 14.6, 20.6
first = false
end
end
Expand Down
6 changes: 3 additions & 3 deletions Legion/DarkheartThicket/Oakheart.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ do
end
function mod:CrushingGrip(args)
self:GetBossTarget(printTarget, 0.4, args.sourceGUID)
self:CDBar(args.spellId, 28) -- hc pull:28.0, 27.9, 34.0
self:CDBar(args.spellId, 28) -- hc pull:28.0, 27.9, 34.0 / m pull:30.1, 32.8, 34.0
end
function mod:CrushingGripEnd(args)
self:PrimaryIcon(args.spellId)
Expand All @@ -56,11 +56,11 @@ end

function mod:StranglingRoots(args)
self:Message(args.spellId, "Attention")
self:CDBar(args.spellId, 23) -- hc pull:12.5, 24.3, 26.7, 23.1
self:CDBar(args.spellId, 23) -- hc pull:12.5, 24.3, 26.7, 23.1 / m pull:14.6, 24.3, 32.8, 33.6
end

function mod:NightmareBreath(args)
self:Message(args.spellId, "Important", "Info")
self:CDBar(args.spellId, 26) -- hc pull:18.6, 26.7, 32.8
self:CDBar(args.spellId, 26) -- hc pull:18.6, 26.7, 32.8 / m pull:19.5, 32.8, 26.7, 33.5
end

6 changes: 3 additions & 3 deletions Legion/DarkheartThicket/ShadeOfXavius.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end

function mod:OnEngage()
self:CDBar(200289, 25.5) -- Growing Paranoia
self:CDBar(200185, 8) -- Nightmare Bolt
self:CDBar(200185, 7) -- Nightmare Bolt
end

--------------------------------------------------------------------------------
Expand All @@ -38,7 +38,7 @@ end

function mod:GrowingParanoia(args)
self:TargetMessage(args.spellId, args.destName, "Attention", "Alarm")
self:CDBar(args.spellId, 26) -- pull:25.5, 26.8, 28.0, 19.5 / hc pull:27.1, 32.8, 26.7, 27.9
--self:CDBar(args.spellId, 26) -- pull:25.5, 26.8, 28.0, 19.5 / hc pull:27.1, 32.8, 26.7, 27.9 / m pull:25.5, 37.6, 47.3
end

function mod:GrowingParanoiaApplied(args)
Expand All @@ -65,7 +65,7 @@ do
end
function mod:NightmareBolt(args)
self:GetBossTarget(printTarget, 0.4, args.sourceGUID)
--self:CDBar(200185, 23) -- pull:9.6, 19.5, 30.4, 24.3, 19.4 / hc pull:9.1, 23.1, 37.6, 21.8
--self:CDBar(200185, 23) -- pull:9.6, 19.5, 30.4, 24.3, 19.4 / hc pull:9.1, 23.1, 37.6, 21.8 / m pull:7.2, 21.9, 26.7, 21.9, 17.0
end
function mod:WakingNightmareOver()
self:SecondaryIcon(200185)
Expand Down
2 changes: 1 addition & 1 deletion Legion/EyeOfAzshara/KingDeepbeard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function mod:CallTheSeas(args)
end

function mod:GaseousBubbles(args)
self:CDBar(args.spellId, 32) -- pull:12.8, 35.3, 32.8
self:CDBar(args.spellId, 32) -- pull:12.8, 35.3, 32.8 / m pull:12.9, 35.3, 32.8, 32.8
end

function mod:GaseousBubblesApplied(args)
Expand Down
7 changes: 4 additions & 3 deletions Legion/EyeOfAzshara/LadyHatecoil.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ end

function mod:StaticNova(args)
self:Message(args.spellId, "Urgent", "Warning")
self:CDBar(args.spellId, 34) -- pull:10.8, 35.2, 34.0
self:CDBar(args.spellId, 34) -- pull:10.8, 35.2, 34.0 / m pull:10.8, 35.2, 36.4, 37.6, 34.0
end

function mod:FocusedLightning(args)
self:Message(args.spellId, "Attention", "Alert")
self:CDBar(args.spellId, 35) -- pull:25.4, 36.4, 35.2
self:CDBar(args.spellId, 35) -- pull:25.4, 36.4, 35.2 / m pull:25.3, 36.4, 36.4, 37.6
end

function mod:CurseOfTheWitch(args)
Expand All @@ -83,11 +83,12 @@ end

function mod:BeckonStorm(args)
self:Message("blob", "Important", "Info", CL.spawned:format(self:SpellName(-12139)), L.blob_icon) -- Saltsea Globule
self:CDBar("blob", 47, -12139, L.blob_icon) -- Saltsea Globule -- pull:21.3, 47.4
self:CDBar("blob", 47, -12139, L.blob_icon) -- Saltsea Globule -- pull:21.3, 47.4 / m pull:21.3, 49.8, 47.4
end

function mod:UNIT_SPELLCAST_SUCCEEDED(_, _, _, _, spellId)
if spellId == 196634 then -- Monsoon
self:Message(196610, "Positive")
--self:CDBar(196610, 47) -- XXX
end
end
6 changes: 3 additions & 3 deletions Legion/EyeOfAzshara/WarlordParjesh.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ end

function mod:OnEngage()
addCount = 1
self:CDBar(192094, 35) -- Impaling Spear
self:CDBar(192094, self:Normal() and 35 or 29) -- Impaling Spear
self:CDBar(self:Normal() and 192072 or 196563, 5) -- Call Reinforcements
end

Expand All @@ -58,7 +58,7 @@ end

function mod:ImpalingSpear(args)
self:TargetMessage(args.spellId, args.destName, "Important", "Alarm")
self:CDBar(args.spellId, 31) -- pull:35.0, 31.6 / hc pull:29.2, 29.2, 26.8 XXX
self:CDBar(args.spellId, 27) -- pull:35.0, 31.6 / hc pull:29.2, 29.2, 26.8 / m pull:29.1, 28.0, 28.3, 27.5
self:PrimaryIcon(args.spellId, args.destName)
if self:Me(args.destGUID) then
self:Say(args.spellId)
Expand All @@ -81,7 +81,7 @@ do
end
function mod:CallReinforcements(args) -- Heroic +
self:Message(args.spellId, "Attention", "Info")
self:CDBar(args.spellId, 28) -- pull:5.4, 31.6, 31.6, 27.9, 29.2
self:CDBar(args.spellId, 28) -- hc pull:5.4, 31.6, 31.6, 27.9, 29.2 / m pull:5.7, 31.5, 28.0, 27.9, 27.9
end
end

Expand Down
8 changes: 4 additions & 4 deletions Legion/EyeOfAzshara/WrathOfAzshara.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ end
function mod:CHAT_MSG_RAID_BOSS_EMOTE(_, msg, _, _, _, unit) -- Arcane Bomb
if msg:find("192708", nil, true) then -- Fires with _START, target scanning doesn't work.
self:TargetMessage(192706, unit, "Important", "Alarm")
self:CDBar(192706, p2 and 23 or 30) -- pull:23.1, 30.4, 23.1 / hc pull:26.7, 31.2, 23.1
self:CDBar(192706, p2 and 23 or 30) -- pull:23.1, 30.4, 23.1 / hc pull:26.7, 31.2, 23.1 / pull:26.4, 30.4, 30.4, 36.5 XXX
end
end

function mod:MassiveDeluge(args)
self:Message(args.spellId, "Attention", self:Tank() and "Warning")
self:CDBar(args.spellId, self:Normal() and 51 or 56) -- pull:12.1, 51.0 / hc pull:12.1, 55.9
self:CDBar(args.spellId, self:Normal() and 51 or 56) -- pull:12.1, 51.0 / hc pull:12.1, 55.9 / m pull:12.2, 59.1, 35.3 XXX
end

function mod:CryOfWrath(args)
Expand All @@ -80,7 +80,7 @@ do
end
function mod:CrushingDepths(args) -- Heroic+
self:GetBossTarget(printTarget, 0.4, args.sourceGUID)
self:CDBar(args.spellId, 41) -- pull:20.8, 41.3
self:CDBar(args.spellId, 41) -- pull:20.8, 41.3 / m pull:20.3, 59.5, 36.5 XXX
end
function mod:CrushingDepthsEnd(args)
self:SecondaryIcon(args.spellId)
Expand All @@ -90,7 +90,7 @@ end
function mod:UNIT_SPELLCAST_SUCCEEDED(_, _, _, _, spellId)
if spellId == 192680 then -- Mystic Tornado
self:RangeMessage(192675, "Urgent", "Alert")
self:CDBar(192675, p2 and 15 or 25)
self:CDBar(192675, p2 and 15 or 25) -- XXX m pull:8.6, 25.1, 34.0, 18.2, 15.8, 20.7, 15.8
end
end

0 comments on commit cde4d87

Please sign in to comment.