Mage: Apply more fixes after SimulationCraft import.
Johnny C. Lam [03-16-13 - 08:02]
Mage: Apply more fixes after SimulationCraft import.
The buff from standing in Rune of Power has a different ID than the spell.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@771 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/defaut/Mage.lua b/defaut/Mage.lua
index 8782c41..8566d52 100644
--- a/defaut/Mage.lua
+++ b/defaut/Mage.lua
@@ -86,6 +86,7 @@ Define(pyroblast_aura 48108)
SpellAddBuff(pyroblast_aura pyroblast_aura=1)
Define(rune_of_power 116011)
SpellInfo(rune_of_power duration=60 )
+Define(rune_of_power_aura 116014)
Define(scorch 2948)
Define(time_warp 35346)
SpellInfo(time_warp duration=6 cd=15 )
@@ -100,8 +101,8 @@ AddIcon mastery=1 help=main
Spell(rune_of_power)
}
if ItemCharges(36799) <3 and False() Spell(conjure_mana_gem)
- if BuffRemains(rune_of_power) <CastTime(rune_of_power) Spell(rune_of_power)
- if SpellCooldown(arcane_power) ==0 and BuffRemains(rune_of_power) <BuffDuration(arcane_power) Spell(rune_of_power)
+ if BuffRemains(rune_of_power_aura) <CastTime(rune_of_power) Spell(rune_of_power)
+ if SpellCooldown(arcane_power) ==0 and BuffRemains(rune_of_power_aura) <BuffDuration(arcane_power) Spell(rune_of_power)
if BuffPresent(alter_time) and BuffRemains(alter_time) <2 Spell(arcane_barrage)
if BuffPresent(alter_time) Spell(arcane_missiles)
if BuffPresent(alter_time) Spell(arcane_blast)
@@ -145,8 +146,8 @@ AddIcon mastery=2 help=main
Spell(rune_of_power)
}
if ItemCharges(36799) <3 and False() Spell(conjure_mana_gem)
- if BuffRemains(rune_of_power) <CastTime(rune_of_power) and BuffExpires(alter_time) Spell(rune_of_power)
- if SpellCooldown(alter_time_activate) ==0 and BuffRemains(rune_of_power) <6 Spell(rune_of_power)
+ if BuffRemains(rune_of_power_aura) <CastTime(rune_of_power) and BuffExpires(alter_time) Spell(rune_of_power)
+ if SpellCooldown(alter_time_activate) ==0 and BuffRemains(rune_of_power_aura) <6 Spell(rune_of_power)
if BuffStacks(pyroblast_aura) or BuffPresent(presence_of_mind) Spell(pyroblast)
if BuffStacks(heating_up) and BuffExpires(pyroblast_aura) Spell(inferno_blast)
if {not target.DebuffPresent(living_bomb) or target.DebuffRemains(living_bomb) <TickTime(living_bomb) } and target.DeadIn() >TickTime(living_bomb) *3 Spell(living_bomb)
@@ -186,8 +187,8 @@ AddIcon mastery=3 help=main
Spell(rune_of_power)
}
if ItemCharges(36799) <3 and False() Spell(conjure_mana_gem)
- if BuffRemains(rune_of_power) <CastTime(rune_of_power) and BuffExpires(alter_time) Spell(rune_of_power)
- if SpellCooldown(icy_veins) ==0 and BuffRemains(rune_of_power) <20 Spell(rune_of_power)
+ if BuffRemains(rune_of_power_aura) <CastTime(rune_of_power) and BuffExpires(alter_time) Spell(rune_of_power)
+ if SpellCooldown(icy_veins) ==0 and BuffRemains(rune_of_power_aura) <20 Spell(rune_of_power)
if not BuffStacks(fingers_of_frost_aura) Spell(frozen_orb)
if BuffPresent(alter_time) and BuffPresent(brain_freeze) Spell(frostfire_bolt)
if BuffPresent(alter_time) and BuffPresent(fingers_of_frost_aura) Spell(ice_lance)