Quantcast

fix for mage armor

Sidoine De Wispelaere [03-04-10 - 19:09]
fix for mage armor

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@240 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.toc
defaut/Mage.lua
diff --git a/Ovale.toc b/Ovale.toc
index f364883..efc6aac 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.3.29
+## Version: 3.3.30
 ## OptionalDeps: Ace3, ButtonFacade, Recount, LibBabble-CreatureType-3.0
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Mage.lua b/defaut/Mage.lua
index 013f727..20f7187 100644
--- a/defaut/Mage.lua
+++ b/defaut/Mage.lua
@@ -54,7 +54,7 @@ AddIcon help=main
 {
 		unless InCombat()
 		{
-			if BuffExpires(MAGEARMOR 400) or BuffExpires(MOLTENARMOR 400) or BuffExpires(ICEARMOR 400)
+			if BuffExpires(MAGEARMOR 400) and BuffExpires(MOLTENARMOR 400) and BuffExpires(ICEARMOR 400)
 				Spell(MOLTENARMOR)
 		}