Quantcast

fire mage: wait for dots before combustion

Sidoine De Wispelaere [10-16-10 - 18:41]
fire mage: wait for dots before combustion

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@286 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Mage.lua
diff --git a/defaut/Mage.lua b/defaut/Mage.lua
index 8ec90e4..0df49d7 100644
--- a/defaut/Mage.lua
+++ b/defaut/Mage.lua
@@ -43,6 +43,9 @@ Define(FINGERSOFFROST 83074) #frost boost ice lance/deep freeze
 Define(HOTSTREAK 48108) #fire instant pyroblast
 Define(ARCANEBLASTDEBUFF 36032)

+#Debuff
+Define(IGNITE 12654)
+
 #Talent
 Define(FIRESTARTERTALENT 11431)

@@ -101,7 +104,9 @@ AddIcon help=cd mastery=1

 AddIcon help=cd mastery=2
 {
-	Spell(COMBUSTION)
+	if TargetDebuffPresent(LIVINGBOMB mine=1) and TargetDebuffPresent(IGNITE mine=1)
+			and TargetDebuffPresent(PYROBLAST mine=1)
+		Spell(COMBUSTION)
 	Item(Trinket0Slot usable=1)
 	Item(Trinket1Slot usable=1)
 	Spell(MIRRORIMAGE)