- hide heroic strike in combat stance
Sidoine De Wispelaere [04-26-09 - 20:37]
- hide heroic strike in combat stance
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@46 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/Ovale.toc b/Ovale.toc
index 9ca927c..6ee350a 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: 3.1.4
+## Version: 3.1.5
## OptionalDeps: Ace3
## SavedVariables: OvaleDB
## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Guerrier.lua b/defaut/Guerrier.lua
index e7880c2..4f047f1 100644
--- a/defaut/Guerrier.lua
+++ b/defaut/Guerrier.lua
@@ -126,6 +126,8 @@ AddIcon
AddIcon
{
+ unless Stance(1)
+ {
if Mana(more 66)
{
if CheckBoxOn(multi)
@@ -133,6 +135,7 @@ AddIcon
if CheckBoxOff(multi)
Spell(HEROICSTRIKE doNotRepeat=1)
}
+ }
}
AddIcon