Anyway, that's not what I wanted to talk about, and we've been derailed for long enough. Back to APLs.
------------------------------------------------------------------------------------------------------------------------
Last time I mentioned a change to the following line:
Code: Select all
actions.single_target+=/arcane_missiles,if=buff.arcane_missiles.stack=2&cooldown.arcane_power.remains>0)|(buff.arcane_charge.stack>=4&cooldown.arcane_power.remains>8)
Code: Select all
actions.single_target+=/arcane_missiles,if=(buff.arcane_missiles.stack=2&cooldown.arcane_power.remains>0)|(buff.arcane_charge.stack>=4&cooldown.arcane_power.remains>action.arcane_blast.cast_time*4)
I spent the rest of my time attempting to tune the AB/AM weaving. The current line for AB in weaving is:
Code: Select all
actions.single_target+=/arcane_blast,if=buff.profound_magic.up&buff.arcane_charge.stack>3&mana.pct>93
Code: Select all
actions.single_target+=/arcane_blast,if=buff.arcane_charge.stack=4&(buff.profound_magic.stack=1&mana.pct>93)|(buff.profound_magic.stack>=2&mana.pct>90)
Code: Select all
actions.single_target+=/arcane_blast,if=buff.profound_magic.up&buff.arcane_charge.stack=4&mana.pct>(96-buff.profound_magic.stack*2.92)
One extra change is to consider simc spell decision making. Decisions are made at spell cast queue, not at cast finish. This means that the mana level takes into account what you are at when you start, instead of what you will be when you finish the cast. The problem with this is that mana regen is affected heavily by haste procs such as bloodlust and meta gem. To calculate the mana level of a player at the end of the cast, we take their current mana percentage, and add (cast time in seconds) * (1% base mana regen per second) * (spell haste factor) * (75% gain from RoP). This isn't ideal, because cast time should have a lower cap of 1s GCD. I have not found any max(a, b) operator or function offered by simcraft in APL syntax, so I'll figure out how to do this cleanly later. The end result:
Code: Select all
actions.single_target+=/arcane_blast,if=buff.profound_magic.up&buff.arcane_charge.stack=4&(mana.pct+cast_time*(1+spell_haste)*1.75)>(98-buff.profound_magic.stack*2.92)
Also, none of this will be optimal for Gnomes, who have 5% extra mana. But then again, who the hell plays a Gnome arcane mage anyway, RIGHT?!
That's all I have for now. Don't expect many updates during the weekend, because we'll have to fix the Arcane APLs to be backwards compatible with mages who don't have their fancy PBoI trinket yet.