Quantcast

fix for blood dk

Sidoine De Wispelaere [05-22-11 - 21:08]
fix for blood dk
fix for frost mage

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@413 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.toc
defaut/Chevalier.lua
defaut/Mage.lua
diff --git a/Ovale.toc b/Ovale.toc
index 3129105..ff9fd79 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.1.3
+## Version: 4.1.4
 ## OptionalDeps: Ace3, ButtonFacade, Recount, Skada, LibBabble-CreatureType-3.0, LibRangeCheck-2.0
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Chevalier.lua b/defaut/Chevalier.lua
index d60b7a4..028381f 100644
--- a/defaut/Chevalier.lua
+++ b/defaut/Chevalier.lua
@@ -115,9 +115,9 @@ AddIcon help=main mastery=1
 {

 	if BuffExpires(strengthagility 2) and CheckBoxOn(horn) Spell(HORNOFWINTER)
-	if TargetDebuffExpires(lowerphysicaldamage) and CheckBoxOn(scarlet) and TargetClassification(worldboss)
-		if Runes(blood 1) or BuffPresent(BLOODSWARM) Spell(BLOODBOIL)
 	if TargetDebuffExpires(BLOODPLAGUE 0 mine=1) and TargetDebuffExpires(FROSTFEVER 0 mine=1) Spell(OUTBREAK)
+	if TargetDebuffExpires(lowerphysicaldamage) and CheckBoxOn(scarlet) and TargetClassification(worldboss)
+		if Runes(unholy 1) Spell(PLAGUESTRIKE)
 	Spell(RUNESTRIKE usable=1)
 	Spell(DANCINGRUNEWEAPON usable=1)

diff --git a/defaut/Mage.lua b/defaut/Mage.lua
index b4afb18..c205123 100644
--- a/defaut/Mage.lua
+++ b/defaut/Mage.lua
@@ -194,7 +194,7 @@ AddIcon help=main mastery=3
     if PetPresent(no) Spell(SUMMONWATERELEMENTAL)

 	#/deep_freeze
-    Spell(DEEPFREEZE)
+    Spell(DEEPFREEZE usable=1)
 	#/frostfire_bolt,if=buff.brain_freeze.react&buff.fingers_of_frost.react
     if BuffPresent(BRAINFREEZE) and BuffPresent(FINGERSOFFROST) {Spell(FROSTFIREBOLT) Spell(FIREBALL)}
 	#/ice_lance,if=buff.fingers_of_frost.stack>1