Skip to content

Instantly share code, notes, and snippets.

@cgdangelo
Last active February 16, 2018 19:47
Show Gist options
  • Save cgdangelo/5ba7ab50bfda75e71745852b36ed406f to your computer and use it in GitHub Desktop.
Save cgdangelo/5ba7ab50bfda75e71745852b36ed406f to your computer and use it in GitHub Desktop.
# Rule of Threes talent: AB/AM is free after building third AC.
# Mana Adept talent: AM fires 2 more missiles above 80% mana.
# Temporal Flux talent: Gain Evocation 5 seconds after first channel ends.
# AC does not buff AM or AE.
# AM not a proc anymore. 18% base mana.
# AC mana penalty reduced to 100% per AC.
# AB has 8% reduced cast time per AC.
# Clearcasting: 2.5% chance per 1% of maximum mana spent to proc a free AM or AE.
html=dikembe.html
single_actor_batch=1
chart_show_relative_difference=1
target_error=0.2
mage="BfA_Arcane"
spec=arcane
level=110
race=troll
role=spell
position=back
gear_intellect=1000
gear_haste_rating=400
gear_crit_rating=300
gear_mastery_rating=200
gear_versatility_rating=200
talents=1031011
#talent_override=mana_adept
name=mana_pct_deterministic
actions.precombat=
actions.precombat+=/snapshot_stats
actions.precombat+=/arcane_blast
actions=
actions+=/variable,name=mana_pct_after_ab,op=set,value=(mana-action.arcane_blast.cost+(mana.regen*action.arcane_blast.execute_time))%mana.max*100
actions+=/variable,name=can_cast_ab,op=set,value=variable.mana_pct_after_ab>20
actions+=/variable,name=can_cast_ab,op=set,value=variable.can_cast_ab|buff.rune_of_power.remains>=action.arcane_blast.execute_time&variable.mana_pct_after_ab>15
actions+=/variable,name=can_cast_ab,op=set,value=variable.mana_pct_after_ab>80,if=talent.mana_adept.enabled
actions+=/variable,name=can_cast_ab,op=set,value=variable.can_cast_ab|(buff.arcane_charge.max_stack-buff.arcane_charge.stack)*action.arcane_blast.execute_time>cooldown.arcane_power.remains
actions+=/start_burn_phase,if=buff.arcane_charge.stack=buff.arcane_charge.max_stack&cooldown.arcane_power.up|target.time_to_die<cooldown.arcane_power.remains
actions+=/stop_burn_phase,if=burn_phase_duration>0&prev_gcd.1.evocation
actions+=/call_action_list,name=burn,if=burn_phase
actions+=/call_action_list,name=conserve
actions.burn=
actions.burn+=/time_warp
actions.burn+=/rune_of_power,if=buff.arcane_power.down&(cooldown.arcane_power.up|mana.pct>70)
actions.burn+=/rune_of_power,if=target.time_to_die<=execute_time+buff.rune_of_power.duration
actions.burn+=/arcane_power
actions.burn+=/berserking
actions.burn+=/arcane_blast,if=buff.presence_of_mind.up
actions.burn+=/arcane_missiles,if=buff.clearcasting.react&buff.rune_of_power.remains<action.arcane_blast.cast_time
actions.burn+=/presence_of_mind,if=buff.rune_of_power.remains<=buff.presence_of_mind.max_stack*action.arcane_blast.execute_time
actions.burn+=/arcane_blast
actions.burn+=/evocation,interrupt_if=ticks_remain=1
actions.burn+=/arcane_barrage
actions.conserve=
actions.conserve+=/evocation,if=mana.pct<20,interrupt_if=ticks_remain=1|mana.pct>99
actions.conserve+=/rune_of_power,if=buff.clearcasting.react&recharge_time<cooldown.arcane_power.remains
actions.conserve+=/rune_of_power,if=full_recharge_time<=execute_time&recharge_time<cooldown.arcane_power.remains
actions.conserve+=/arcane_missiles,if=buff.clearcasting.react
actions.conserve+=/arcane_blast,if=variable.can_cast_ab
actions.conserve+=/arcane_barrage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment