Mage: Apply fixes after SimulationCraft import.
Johnny C. Lam [03-14-13 - 15:22]
Mage: Apply fixes after SimulationCraft import.
Add damage coefficients to Fireball, Inferno Blast and Pyroblast so that
the Damage() and CritDamage() conditions used in deciding when to use
Combution return sensible numbers.
Fix confusion between ``pyroblast'' and ``pyroblast_aura''. The former is
the ID of the spell as well as the DoT left on the target hit by
Pyroblast. The latter is the player buff that indicates the next
Pyroblast is instant-cast.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@768 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/defaut/Mage.lua b/defaut/Mage.lua
index d843457..8782c41 100644
--- a/defaut/Mage.lua
+++ b/defaut/Mage.lua
@@ -36,6 +36,7 @@ Define(fingers_of_frost_aura 44544)
Define(fire_blast 2136)
SpellInfo(fire_blast cd=8 )
Define(fireball 133)
+ SpellInfo(fireball base=1561 bonussp=1.5)
Define(frost_armor 7302)
SpellAddBuff(frost_armor frost_armor=1)
Define(frost_bomb 113092)
@@ -61,6 +62,7 @@ Define(ignite 12654)
SpellAddTargetDebuff(ignite ignite=1)
Define(inferno_blast 108853)
SpellInfo(inferno_blast cd=8 )
+ SpellInfo(inferno_blast base=624.5 bonussp=0.6)
Define(living_bomb 44457)
SpellInfo(living_bomb duration=12 tick=3 )
SpellAddTargetDebuff(living_bomb living_bomb=1)
@@ -77,6 +79,7 @@ Define(presence_of_mind 12043)
SpellAddBuff(presence_of_mind presence_of_mind=1)
Define(pyroblast 11366)
SpellInfo(pyroblast duration=18 tick=3 )
+ SpellInfo(pyroblast base=2061 bonussp=1.98)
SpellAddTargetDebuff(pyroblast pyroblast=1)
Define(pyroblast_aura 48108)
SpellInfo(pyroblast_aura duration=15 )
@@ -147,7 +150,7 @@ AddIcon mastery=2 help=main
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)
- if not target.DebuffPresent(pyroblast_aura) Spell(pyroblast)
+ if not target.DebuffPresent(pyroblast) Spell(pyroblast)
Spell(fireball)
}
AddIcon mastery=2 help=offgcd
@@ -156,7 +159,7 @@ AddIcon mastery=2 help=offgcd
cancel.Spell(alter_time)
if target.HealthPercent() <25 or TimeInCombat() >5 Spell(time_warp)
if target.DeadIn() <22 Spell(combustion)
- if LastSpellDamage(ignite) >={{CritDamage(fireball) +CritDamage(inferno_blast) +Damage(pyroblast) } *{Mastery() /100} *0.5 } and target.DebuffPresent(pyroblast_aura) Spell(combustion)
+ if LastSpellDamage(ignite) >={{CritDamage(fireball) +CritDamage(inferno_blast) +Damage(pyroblast) } *{Mastery() /100} *0.5 } and target.DebuffPresent(pyroblast) Spell(combustion)
if BuffExpires(alter_time) and BuffStacks(pyroblast_aura) Spell(alter_time)
}
AddIcon mastery=2 help=moving