Quantcast

bug fix in rogue script

Sidoine De Wispelaere [09-21-11 - 17:37]
bug fix in rogue script

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@421 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.toc
defaut/Voleur.lua
diff --git a/Ovale.toc b/Ovale.toc
index 89200bb..bb46fcf 100644
--- a/Ovale.toc
+++ b/Ovale.toc
@@ -3,7 +3,7 @@
 ## Notes: Show the icon of the next spell to cast
 ## Notes-frFR: Affiche l'icône du prochain sort à lancer
 ## Author: Sidoine
-## Version: 4.2.2
+## Version: 4.2.3
 ## OptionalDeps: Ace3, ButtonFacade, Recount, Skada, LibBabble-CreatureType-3.0, LibRangeCheck-2.0
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Voleur.lua b/defaut/Voleur.lua
index 1ce1fa9..343f706 100644
--- a/defaut/Voleur.lua
+++ b/defaut/Voleur.lua
@@ -230,9 +230,9 @@ AddIcon help=main mastery=3
 	if TalentPoints(TALENTHEMORRHAGE more 0)
 	{
 		#/hemorrhage,if=combo_points<4&energy>40&dot.hemorrhage.remains<4";
-		if CombotPoints(less 4) and Mana(more 40) and TargetDebuffExpires(HEMORRHAGE 4 mine=1) Spell(HEMORRHAGE)
+		if ComboPoints(less 4) and Mana(more 40) and TargetDebuffExpires(HEMORRHAGE 4 mine=1) Spell(HEMORRHAGE)
         #/hemorrhage,if=combo_points<5&energy>80&dot.hemorrhage.remains<4";
-		if CombotPoints(less 5) and Mana(more 80) and TargetDebuffExpires(HEMORRHAGE 4 mine=1) Spell(HEMORRHAGE)
+		if ComboPoints(less 5) and Mana(more 80) and TargetDebuffExpires(HEMORRHAGE 4 mine=1) Spell(HEMORRHAGE)
 	}

 	#/backstab,if=combo_points<4&energy>40&energy<80";