Quantcast

warlock: curse elements => magicaldamagetaken

Sidoine De Wispelaere [10-17-10 - 15:52]
warlock: curse elements => magicaldamagetaken

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@300 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Demoniste.lua
diff --git a/defaut/Demoniste.lua b/defaut/Demoniste.lua
index 02095c9..1713542 100644
--- a/defaut/Demoniste.lua
+++ b/defaut/Demoniste.lua
@@ -75,7 +75,7 @@ AddIcon help=main mastery=1
 {
 	if InCombat(no) and BuffExpires(FELARMOR 400) Spell(FELARMOR)

-	if List(curse elements) and TargetDebuffExpires(CURSEELEMENTS 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
+	if List(curse elements) and TargetDebuffExpires(magicaldamagetaken 0) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
 	if List(curse weakness) and TargetDebuffExpires(CURSEWEAKNESS 2) and TargetDeadIn(more 8) Spell(CURSEWEAKNESS)

 	if TargetDebuffExpires(HAUNT 1.5 mine=1) Spell(HAUNT)
@@ -101,7 +101,7 @@ AddIcon help=main mastery=2
 {
 	if InCombat(no) and BuffExpires(FELARMOR 400) Spell(FELARMOR)

-	if List(curse elements) and TargetDebuffExpires(CURSEELEMENTS 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
+	if List(curse elements) and TargetDebuffExpires(magicaldamagetaken 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
 	if List(curse weakness) and TargetDebuffExpires(CURSEWEAKNESS 2) and TargetDeadIn(more 8) Spell(CURSEWEAKNESS)

 	if TargetDebuffExpires(IMMOLATE 2 mine=1 haste=spell) and TargetDeadIn(more 8) Spell(IMMOLATE)
@@ -130,7 +130,7 @@ AddIcon help=main mastery=3
 {
 	if InCombat(no) and BuffExpires(FELARMOR 400) Spell(FELARMOR)

-	if List(curse elements) and TargetDebuffExpires(CURSEELEMENTS 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
+	if List(curse elements) and TargetDebuffExpires(magicaldamagetaken 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
 	if List(curse weakness) and TargetDebuffExpires(CURSEWEAKNESS 2) and TargetDeadIn(more 8) Spell(CURSEWEAKNESS)

 	if TalentPoints(IMPROVEDSOULFIRE more 0) and TargetLifePercent(more 80) and