Quantcast

fire mage: bug fix with Talent => TalentPoints

Sidoine De Wispelaere [10-16-10 - 18:33]
fire mage: bug fix with Talent => TalentPoints

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@285 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Mage.lua
diff --git a/defaut/Mage.lua b/defaut/Mage.lua
index 3a6690d..8ec90e4 100644
--- a/defaut/Mage.lua
+++ b/defaut/Mage.lua
@@ -73,7 +73,7 @@ AddIcon help=main mastery=2
 {
 	unless InCombat() if BuffExpires(MAGEARMOR 400) and BuffExpires(MOLTENARMOR 400) and BuffExpires(ICEARMOR 400) Spell(MOLTENARMOR)

-	if Talent(FIRESTARTERTALENT) and Speed(more 0) Spell(SCORCH)
+	if TalentPoints(FIRESTARTERTALENT more 0) and Speed(more 0) Spell(SCORCH)
 	if BuffPresent(HOTSTREAK) Spell(PYROBLAST)
 	if TargetDebuffExpires(LIVINGBOMB 0 mine=1) and TargetDeadIn(more 12) Spell(LIVINGBOMB)
 	if TargetDebuffExpires(PYROBLAST 2.5 haste=spell mine=1) Spell(PYROBLAST)