Quantcast

Rogue Shadow Blades ability causes an extra combo point to be generated.

Johnny C. Lam [09-23-12 - 03:29]
Rogue Shadow Blades ability causes an extra combo point to be generated.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@544 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleState.lua
diff --git a/OvaleState.lua b/OvaleState.lua
index 6c87679..8880243 100644
--- a/OvaleState.lua
+++ b/OvaleState.lua
@@ -192,6 +192,10 @@ function OvaleState:AddSpellToStack(spellId, startCast, endCast, nextCast, nocd,
 					self.state.combo = 0
 				else
 					self.state.combo = self.state.combo + newSpellInfo.combo
+					if self:GetAura("player", 121471, true) then
+						-- Shadow Blades generates an extra combo point.
+						self.state.combo = self.state.combo + 1
+					end
 				end
 				if self.state.combo<0 then
 					self.state.combo = 0