Quantcast

fix parenthesis in mind flay insanity

Sidoine De Wispelaere [03-13-13 - 22:25]
fix parenthesis in mind flay insanity

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@763 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Pretre.lua
diff --git a/defaut/Pretre.lua b/defaut/Pretre.lua
index d79bb60..297c788 100644
--- a/defaut/Pretre.lua
+++ b/defaut/Pretre.lua
@@ -25,9 +25,9 @@ Define(mind_blast 8092)
 Define(mind_flay 15407)
   SpellInfo(mind_flay duration=3 canStopChannelling=1 )
   SpellAddTargetDebuff(mind_flay mind_flay=1)
-Define(mind_flay_(insanity) 129197)
-  SpellInfo(mind_flay_(insanity) duration=3 tick=1 canStopChannelling=1 )
-  SpellAddTargetDebuff(mind_flay_(insanity) mind_flay_(insanity)=1)
+Define(mind_flay_insanity 129197)
+  SpellInfo(mind_flay_insanity duration=3 tick=1 canStopChannelling=1 )
+  SpellAddTargetDebuff(mind_flay_insanity mind_flay_insanity=1)
 Define(mind_sear 48045)
   SpellInfo(mind_sear duration=5 canStopChannelling=1 )
   SpellAddBuff(mind_sear mind_sear=1)
@@ -77,8 +77,8 @@ AddIcon mastery=3 help=main
 	if ShadowOrbs() ==3 and {SpellCooldown(mind_blast) <1.5 or target.HealthPercent() <20 and SpellCooldown(shadow_word_death) <1.5 } Spell(devouring_plague)
 	if target.HealthPercent(less 20) Spell(shadow_word_death)
 	if SpellCooldown(mind_blast) Spell(mind_blast)
-	if target.TicksRemain(devouring_plague) ==1 Spell(mind_flay_(insanity))
-	Spell(mind_flay_(insanity))
+	if target.TicksRemain(devouring_plague) ==1 Spell(mind_flay_insanity)
+	Spell(mind_flay_insanity)
 	if not target.DebuffPresent(shadow_word_pain) Spell(shadow_word_pain)
 	if target.DebuffRemains(vampiric_touch) <CastTime(vampiric_touch) Spell(vampiric_touch)
 	if BuffStacks(surge_of_darkness) ==2 Spell(mind_spike)