Quantcast

do not cast immolate if unstable affliction is on target

Sidoine De Wispelaere [12-02-09 - 18:53]
do not cast immolate if unstable affliction is on target

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@152 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.toc
defaut/Demoniste.lua
diff --git a/Ovale.toc b/Ovale.toc
index e552719..e1b67fd 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.2.21
+## Version: 3.2.22
 ## OptionalDeps: Ace3, ButtonFacade, Recount
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Demoniste.lua b/defaut/Demoniste.lua
index 7b81094..58188a8 100644
--- a/defaut/Demoniste.lua
+++ b/defaut/Demoniste.lua
@@ -55,7 +55,7 @@ if TargetDebuffExpires(HAUNT 1.5 mine=1) Spell(HAUNT)
 if TargetDebuffExpires(UNSTABLEAFFLICTION 1.5 mine=1 haste=spell) and TargetDeadIn(more 8) Spell(UNSTABLEAFFLICTION)
 if TalentPoints(TALENTBACKDRAFT more 0) and TargetDebuffExpires(IMMOLATE 3 mine=1)
    and TargetDebuffPresent(IMMOLATE mine=1) Spell(CONFLAGRATE)
-if TargetDebuffExpires(IMMOLATE 1.5 mine=1 haste=spell) and
+if TargetDebuffExpires(IMMOLATE 1.5 mine=1 haste=spell) and TargetDebuffExpires(UNSTABLEAFFLICTION 0 mine=1) and
 		{TargetLifePercent(more 25) or TalentPoints(TALENTDECIMATION more 0)} and TargetDeadIn(more 8)
 			Spell(IMMOLATE)
 if List(curse doom) and TargetDebuffExpires(CURSEDOOM 0 mine=1)