Cogspark

Cogspark Works · Rotation

Windwalker Monk

The priority list SimulationCraft plays this spec with · engine build 20261019-1860cd1-w8a2c73d · game data 12.1.5.70448

§1How to read this

A rotation in SimulationCraft is a priority list, not a sequence. Every time the character can act, the sim starts at the top of The main loop and does the first line whose conditions hold. Lower lines only happen when nothing above them fits.

  • The page shows the list as a decision tree: set what you know about the fight and your talents, and it lights the lists the sim checks, in order.
  • Cast lines use the ability. Hover, focus or tap an icon or a name for its tooltip.
  • Go through another list: its lines are checked in order; when none of them fits, the sim comes back and carries on with the next line here.
  • Switch to another list: the rest of this list is skipped and the choice is made from that list alone.
  • Helpers are values the list works out on the spot, such as “are we holding a cooldown”. Setting one takes no time and the list carries on. The tree works out the ones your situation settles.

The list is written to perform well in the sim, not to be the only right way to play. Every line keeps its original simc text under the simc toggle at its right, and the list author’s note where there is one.

§2Decision tree

Set what you know. The tree lights the lists the sim checks, top to bottom; in each list it presses the first ability whose conditions hold and that is ready. Readiness (cooldowns, resources) isn’t in the list, so a lit ability is the first one allowed, not a promise it is cast.

Your situation
Enemies in range
Your talents (click: talented, not talented, not set)
More conditions (1)
less than 2 s into the fight
Checked
  1. The main loop
  2. Opener (maybe)
  3. Trinket
  4. Racials
  5. Big coc (maybe)
  6. Zenith
  7. Default st (maybe)
  8. Multitarget (maybe)
  9. Fallback
Before the pull, done once before the fight starts (3 steps)

Before the pull3 lines

  1. Record your stats before the pull (sim bookkeeping)Snapshot raid buffed stats before combat begins.
    simcsnapshot_stats
  2. Use Algethar Puzzle Box if you don't have Flurry Strikes talented and (trinket 1 is Algethar Puzzle Box or trinket 2 is Algethar Puzzle Box)
    simcuse_item,name=algethar_puzzle_box,if=!talent.flurry_strikes&(trinket.1.is.algethar_puzzle_box|trinket.2.is.algethar_puzzle_box)
  3. Set patchwerk to true when the following holds, otherwise false
    any of these:
    • the sim's fight style is Patchwerk
    • the sim's fight style is CastingPatchwerk
    simcvariable,name=patchwerk,value=fight_style.patchwerk|fight_style.castingpatchwerk

The main loop21 lines

  1. Start auto-attackingDefault List
    simcauto_attack
  2. Cast Touch of Karmatarget on the enemy with the highest time until the target dies
    simctouch_of_karma,target_if=max:target.time_to_die
  3. Drink a potion if Invoke Xuen, the White Tiger has more than 15 s left or the fight ends within 30 s
    simcpotion,if=buff.invoke_xuen_the_white_tiger.remains>15|fight_remains<=30
  4. Drink a potion if you have Flurry Strikes talented and you have more than 2 Chi and (less than 5 s into the fight or (Zenith is off cooldown and less than 5 s into the fight) or (more than 300 s into the fight and ((trinket 1 is Algethar Puzzle Box and trinket 1 has more than 100 s of cooldown left) or (trinket 2 is Algethar Puzzle Box and trinket 2 has more than 100 s of cooldown left) or (trinket 1 has no on-use effect that grants a stat buff and trinket 2 has no on-use effect that grants a stat buff)) and you have Flurry Strikes talented) or (more than 300 s into the fight and Zenith is active))
    simcpotion,if=talent.flurry_strikes&chi>2&(time<5|cooldown.zenith.up&time<5|time>300&((trinket.1.is.algethar_puzzle_box&trinket.1.cooldown.remains>100|trinket.2.is.algethar_puzzle_box&trinket.2.cooldown.remains>100)|!trinket.1.has_use_buff&!trinket.2.has_use_buff)&talent.flurry_strikes|time>300&buff.zenith.up)
  5. Set has external pi to true when the following holds, otherwise false
    Invoke Power Infusion 0's cooldown is more than 0 s
    Enable PI if available
    simcvariable,name=has_external_pi,value=cooldown.invoke_power_infusion_0.duration>0
  6. Is it true that less than 2 s into the fight?Not set

    If so, go through Opener, then carry on below if nothing there fits

    simccall_action_list,name=opener,if=time<2
  7. go through Trinket, then carry on below if nothing there fits

    simccall_action_list,name=trinket

    Trinket10 lines

    1. Use the item in your main hand slotUse Weapon
      simcuse_item,slot=main_hand
    2. Use Algethar Puzzle Box if more than 5 s of the fight remain and ((Zenith isn't active and you don't have Flurry Strikes talented and ((the target lives more than 35 s longer and the sim's fight style is DungeonRoute) or the target lives more than 25 s longer) and (your potion has more than 30 s of cooldown left or the fight ends within 45 s or more than 80 s of the fight remain) and (Invoke Xuen, the White Tiger comes off cooldown within 2 s or (you have Flurry Strikes talented and Zenith is off cooldown))) or the fight ends within 25 s or (you have Flurry Strikes talented and ((the target lives more than 35 s longer and the sim's fight style is DungeonRoute) or the target lives more than 25 s longer) and Zenith isn't active) or (the sim's fight style is DungeonSlice and ((less than 5 s into the fight and you have more than 3 Chi) or (there are more than 3 enemies and the target lives more than 15 s longer))))Use Algethar
      simcuse_item,name=algethar_puzzle_box,if=fight_remains>5&(!buff.zenith.up&!talent.flurry_strikes&(target.time_to_die>35&fight_style.dungeonroute|target.time_to_die>25)&(cooldown.potion.remains>30|fight_remains<45|fight_remains>80)&(cooldown.invoke_xuen_the_white_tiger.remains<2|talent.flurry_strikes&cooldown.zenith.up)|fight_remains<25|talent.flurry_strikes&(target.time_to_die>35&fight_style.dungeonroute|target.time_to_die>25)&!buff.zenith.up|fight_style.dungeonslice&(time<5&chi>3|active_enemies>3&target.time_to_die>15))
    3. Use your trinket 1 if trinket 1 has an on-use effect that grants a stat buff and trinket 2 has no on-use effect that grants a stat buff and ((your Xuen the White Tiger is out and you have Invoke Xuen, the White Tiger talented) or (you have Flurry Strikes talented and Zenith has more than 14 s left))Stat on use with passive or DMG on use
      simcuse_item,slot=trinket1,if=trinket.1.has_use_buff&!trinket.2.has_use_buff&(pet.xuen_the_white_tiger.active&talent.invoke_xuen_the_white_tiger|talent.flurry_strikes&buff.zenith.remains>14)
    4. Use your trinket 2 if trinket 2 has an on-use effect that grants a stat buff and trinket 1 has no on-use effect that grants a stat buff and ((your Xuen the White Tiger is out and you have Invoke Xuen, the White Tiger talented) or (you have Flurry Strikes talented and Zenith has more than 14 s left))
      simcuse_item,slot=trinket2,if=trinket.2.has_use_buff&!trinket.1.has_use_buff&(pet.xuen_the_white_tiger.active&talent.invoke_xuen_the_white_tiger|talent.flurry_strikes&buff.zenith.remains>14)
    5. Use your trinket 1 if trinket 1 has an on-use effect that grants a stat buff and trinket 2 has an on-use effect that grants a stat buff and ((your Xuen the White Tiger is out and you have Invoke Xuen, the White Tiger talented) or (you have Flurry Strikes talented and Zenith has more than 14 s left))Stat on use with Stat on use
      simcuse_item,slot=trinket1,if=trinket.1.has_use_buff&trinket.2.has_use_buff&(pet.xuen_the_white_tiger.active&talent.invoke_xuen_the_white_tiger|talent.flurry_strikes&buff.zenith.remains>14)
    6. Use your trinket 2 if trinket 1 has an on-use effect that grants a stat buff and trinket 2 has an on-use effect that grants a stat buff and ((Invoke Xuen, the White Tiger has more than 30 s of cooldown left and (Zenith is active or (Strike of the Windlord comes off cooldown within 2 s and you have Strike of the Windlord talented) or (Whirling Dragon Punch comes off cooldown within 2 s and you have Whirling Dragon Punch talented))) or (you have Flurry Strikes talented and Zenith has more than 10 s left))
      simcuse_item,slot=trinket2,if=trinket.1.has_use_buff&trinket.2.has_use_buff&(cooldown.invoke_xuen_the_white_tiger.remains>30&(buff.zenith.up|(cooldown.strike_of_the_windlord.remains<2&talent.strike_of_the_windlord|cooldown.whirling_dragon_punch.remains<2&talent.whirling_dragon_punch))|talent.flurry_strikes&buff.zenith.remains>10)
    7. Use your trinket 1 if trinket 1 has no on-use effect that grants a stat buff and trinket 2 has an on-use effect that grants a stat buff and trinket 2 has more than 30 s of cooldown leftDMG on use with stat on use
      simcuse_item,slot=trinket1,if=!trinket.1.has_use_buff&trinket.2.has_use_buff&trinket.2.cooldown.remains>30
    8. Use your trinket 2 if trinket 2 has no on-use effect that grants a stat buff and trinket 1 has an on-use effect that grants a stat buff and trinket 1 has more than 30 s of cooldown left
      simcuse_item,slot=trinket2,if=!trinket.2.has_use_buff&trinket.1.has_use_buff&trinket.1.cooldown.remains>30
    9. Use your trinket 1 if trinket 1 has no on-use effect that grants a stat buff and trinket 2 has no on-use effect that grants a stat buffDMG on use without stat on use
      simcuse_item,slot=trinket1,if=!trinket.1.has_use_buff&!trinket.2.has_use_buff
    10. Use your trinket 2 if trinket 1 has no on-use effect that grants a stat buff and trinket 2 has no on-use effect that grants a stat buff
      simcuse_item,slot=trinket2,if=!trinket.1.has_use_buff&!trinket.2.has_use_buff
  8. go through Racials, then carry on below if nothing there fits

    simccall_action_list,name=racials

    Racials4 lines

    1. Cast Berserking if Invoke Xuen, the White Tiger has more than 15 s left or (you don't have Invoke Xuen, the White Tiger talented and Zenith has more than 14 s left) or the fight ends within 20 sRacials (Good)
      simcberserking,if=buff.invoke_xuen_the_white_tiger.remains>15|!talent.invoke_xuen_the_white_tiger&buff.zenith.remains>14|fight_remains<20
    2. Cast Ancestral Call if Invoke Xuen, the White Tiger has more than 15 s left or (you don't have Invoke Xuen, the White Tiger talented and Zenith has more than 14 s left) or the fight ends within 20 s
      simcancestral_call,if=buff.invoke_xuen_the_white_tiger.remains>15|!talent.invoke_xuen_the_white_tiger&buff.zenith.remains>14|fight_remains<20
    3. Cast Blood Fury if Invoke Xuen, the White Tiger has more than 15 s left or (you don't have Invoke Xuen, the White Tiger talented and Zenith has more than 14 s left) or the fight ends within 20 s
      simcblood_fury,if=buff.invoke_xuen_the_white_tiger.remains>15|!talent.invoke_xuen_the_white_tiger&buff.zenith.remains>14|fight_remains<20
    4. Cast Fireblood if Invoke Xuen, the White Tiger has more than 15 s left or (you don't have Invoke Xuen, the White Tiger talented and Zenith has more than 14 s left) or the fight ends within 20 s
      simcfireblood,if=buff.invoke_xuen_the_white_tiger.remains>15|!talent.invoke_xuen_the_white_tiger&buff.zenith.remains>14|fight_remains<20
  9. Get Power Infusion from an ally if Zenith is active and (Invoke Xuen, the White Tiger is active or you have Flurry Strikes talented)
    simcinvoke_external_buff,name=power_infusion,if=buff.zenith.up&(buff.invoke_xuen_the_white_tiger.up|talent.flurry_strikes)
  10. Is it true that you have Celestial Conduit talented?Not set

    If so, go through Big coc, then carry on below if nothing there fits

    simccall_action_list,name=big_coc,if=talent.celestial_conduit
  11. go through Zenith, then carry on below if nothing there fits

    simccall_action_list,name=zenith

    Zenith18 lines

    1. Cast Zenith if Invoke Xuen, the White Tiger has more than 10 s left and (Zenith isn't active or you have Flurry Strikes talented)target on the enemy with the highest time until the target diesZenith Usage
      simczenith,target_if=max:target.time_to_die,if=buff.invoke_xuen_the_white_tiger.remains>10&(!buff.zenith.up|talent.flurry_strikes)
    2. Cast Zenith if (Bloodlust has more than 10 s left or (your potion has more than 250 s of cooldown left and patchwerk is true)) and (there are more than 2 enemies or Rising Sun Kick is on cooldown or Rushing Wind Kick is active) and (Zenith isn't active or (Fists of Fury is off cooldown and Heart of the Jade Serpent isn't active and Heart Of The Jade Serpent Unity Within isn't active))target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=(buff.bloodlust.remains>10|cooldown.potion.remains>250&variable.patchwerk)&(active_enemies>2|cooldown.rising_sun_kick.remains|buff.rushing_wind_kick.up)&(!buff.zenith.up|!cooldown.fists_of_fury.remains&!buff.heart_of_the_jade_serpent.up&!buff.heart_of_the_jade_serpent_unity_within.up)
    3. Cast Zenith if ((the target lives more than 30 s longer and the sim's fight style is DungeonRoute) or (the target lives more than 25 s longer and the sim's fight style isn't DungeonRoute)) and Bloodlust is active and Celestial Conduit is on cooldown and (Rising Sun Kick is on cooldown or there are more than 2 enemies) and Zenith isn't active and you have Celestial Conduit talentedtarget on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=(target.time_to_die>30&fight_style.dungeonroute|target.time_to_die>25&!fight_style.dungeonroute)&(buff.bloodlust.up&cooldown.celestial_conduit.remains&(cooldown.rising_sun_kick.remains|active_enemies>2)&!buff.zenith.up&talent.celestial_conduit)
    4. Cast Zenith if ((the target lives more than 30 s longer and the sim's fight style is DungeonRoute) or (the target lives more than 25 s longer and the sim's fight style isn't DungeonRoute)) and you have Flurry Strikes talented and (Bloodlust is active or your potion has more than 295 s of cooldown left) and Zenith isn't active and (Bloodlust has more than 30 s left or you have Spiritual Focus talented)target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=(target.time_to_die>30&fight_style.dungeonroute|target.time_to_die>25&!fight_style.dungeonroute)&(talent.flurry_strikes&(buff.bloodlust.up|cooldown.potion.remains>295))&!buff.zenith.up&(buff.bloodlust.remains>30|talent.spiritual_focus)
    5. Cast Zenith if more than 250 s into the fight and your potion has more than 295 s of cooldown left and ((trinket 1 has no on-use effect that grants a stat buff and trinket 2 has no on-use effect that grants a stat buff) or (trinket 1 has an on-use effect that grants a stat buff and trinket 1 has more than 30 s of cooldown left) or (trinket 2 has an on-use effect that grants a stat buff and trinket 2 has more than 30 s of cooldown left)) and (more than 120 s of the fight remain or (the fight ends within 50 s and more than the time until Zenith is fully recharged of the fight remain))target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=time>250&cooldown.potion.remains>295&(!trinket.1.has_use_buff&!trinket.2.has_use_buff|trinket.1.has_use_buff&trinket.1.cooldown.remains>30|trinket.2.has_use_buff&trinket.2.cooldown.remains>30)&(fight_remains>120|fight_remains<50&fight_remains>cooldown.zenith.full_recharge_time)
    6. Cast Zenith if ((the target lives more than 30 s longer and the sim's fight style is DungeonRoute) or (the target lives more than 25 s longer and the sim's fight style isn't DungeonRoute)) and you have Flurry Strikes talented and trinket 1 has no on-use effect that grants a stat buff and trinket 2 has no on-use effect that grants a stat buff and Rising Sun Kick is on cooldown and Fists of Fury comes off cooldown within 5 s and (Whirling Dragon Punch comes off cooldown within 10 s or Strike of the Windlord comes off cooldown within 10 s) and Zenith is fully recharged within 40 s and the sim's fight style isn't DungeonSlice and Zenith isn't activetarget on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=(target.time_to_die>30&fight_style.dungeonroute|target.time_to_die>25&!fight_style.dungeonroute)&talent.flurry_strikes&!trinket.1.has_use_buff&!trinket.2.has_use_buff&cooldown.rising_sun_kick.remains&cooldown.fists_of_fury.remains<5&(cooldown.whirling_dragon_punch.remains<10|cooldown.strike_of_the_windlord.remains<10)&cooldown.zenith.full_recharge_time<40&!fight_style.dungeonslice&!buff.zenith.up
    7. Cast Zenith if ((the target lives more than 30 s longer and the sim's fight style is DungeonRoute) or (the target lives more than 25 s longer and the sim's fight style isn't DungeonRoute)) and Bloodlust isn't active and ((trinket 1 is Algethar Puzzle Box and trinket 1 has more than 100 s of cooldown left) or (trinket 2 is Algethar Puzzle Box and trinket 2 has more than 100 s of cooldown left)) and (Rising Sun Kick is on cooldown or there are more than 2 enemies or (you have Drinking Horn Cover talented and you have fewer than 2 Chi)) and Zenith isn't activetarget on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=(target.time_to_die>30&fight_style.dungeonroute|target.time_to_die>25&!fight_style.dungeonroute)&(!buff.bloodlust.up&(trinket.1.is.algethar_puzzle_box&trinket.1.cooldown.remains>100|trinket.2.is.algethar_puzzle_box&trinket.2.cooldown.remains>100)&(cooldown.rising_sun_kick.remains|active_enemies>2|talent.drinking_horn_cover&chi<2))&!buff.zenith.up
    8. Cast Zenith if (patchwerk is true or (the sim's fight style is DungeonRoute and the target lives more than 27 s plus (5 if you have Drinking Horn Cover talented, else 0) longer)) and you have Flurry Strikes talented and (the stacks of Tigereye Brew 1 is more than 19 minus (2 if you have Echo Technique talented, else 0) or (Tigereye Brew 1 has more than 11 stacks and (1 if you have Spiritual Focus talented, else 0) minus (2 if you have Echo Technique talented, else 0) isn't 0)) and ((the target lives more than 30 s longer and the sim's fight style is DungeonRoute) or (the target lives more than 25 s longer and the sim's fight style isn't DungeonRoute)) and (Rising Sun Kick is on cooldown or there is more than one enemy) and ((trinket 1 has no on-use effect that grants a stat buff and trinket 2 has no on-use effect that grants a stat buff) or (trinket 1 has an on-use effect that grants a stat buff and (trinket 1 has more than 40 s of cooldown left or (trinket 1 has more than 30 s of cooldown left and you have Spiritual Focus talented))) or (trinket 2 has an on-use effect that grants a stat buff and (trinket 2 has more than 40 s of cooldown left or (trinket 2 has more than 30 s of cooldown left and you have Spiritual Focus talented)))) and ((you have Strike of the Windlord talented and Strike of the Windlord comes off cooldown within 15 s minus (5 if you have Revolving Whirl talented, else 0) and you have Drinking Horn Cover talented) or (you have Whirling Dragon Punch talented and Whirling Dragon Punch comes off cooldown within 15 s minus (7 if you have Revolving Whirl talented, else 0) and you have Drinking Horn Cover talented) or (you have Strike of the Windlord talented and Strike of the Windlord comes off cooldown within 10 s) or (you have Whirling Dragon Punch talented and Whirling Dragon Punch comes off cooldown within 10 s)) and Fists of Fury comes off cooldown within 9 s plus (4 if you have Spiritual Focus talented, else 0)target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=(variable.patchwerk|fight_style.dungeonroute&target.time_to_die>27+5*talent.drinking_horn_cover)&talent.flurry_strikes&(buff.tigereye_brew_1.stack>19-2*talent.echo_technique|buff.tigereye_brew_1.stack>11&talent.spiritual_focus-2*talent.echo_technique)&(target.time_to_die>30&fight_style.dungeonroute|target.time_to_die>25&!fight_style.dungeonroute)&(cooldown.rising_sun_kick.remains|active_enemies>1)&(!trinket.1.has_use_buff&!trinket.2.has_use_buff|trinket.1.has_use_buff&(trinket.1.cooldown.remains>40|trinket.1.cooldown.remains>30&talent.spiritual_focus)|trinket.2.has_use_buff&(trinket.2.cooldown.remains>40|trinket.2.cooldown.remains>30&talent.spiritual_focus))&(talent.strike_of_the_windlord&cooldown.strike_of_the_windlord.remains<15-5*talent.revolving_whirl&talent.drinking_horn_cover|talent.whirling_dragon_punch&cooldown.whirling_dragon_punch.remains<15-7*talent.revolving_whirl&talent.drinking_horn_cover|talent.strike_of_the_windlord&cooldown.strike_of_the_windlord.remains<10|talent.whirling_dragon_punch&cooldown.whirling_dragon_punch.remains<10)&cooldown.fists_of_fury.remains<9+4*talent.spiritual_focus
    9. Cast Zenith if (Rising Sun Kick is on cooldown or there are more than 2 enemies) and the sim's fight style is DungeonSlice and more than 130 s into the fight and less than 150 s into the fight and there is more than one enemy and you have Flurry Strikes talented and Zenith isn't activetarget on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=(cooldown.rising_sun_kick.remains|active_enemies>2)&fight_style.dungeonslice&time>130&time<150&active_enemies>1&talent.flurry_strikes&!buff.zenith.up
    10. Cast Zenith if the sim's fight style is DungeonSlice and the target lives more than 15 s longer and there are more than 4 enemies and (you have Flurry Strikes talented or (you have Celestial Conduit talented and you have Restore Balance talented and Invoke Xuen, the White Tiger comes off cooldown within the time until Zenith is fully recharged)) and patchwerk is false and Zenith isn't activetarget on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=fight_style.dungeonslice&target.time_to_die>15&active_enemies>4&(talent.flurry_strikes|talent.celestial_conduit&talent.restore_balance&cooldown.invoke_xuen_the_white_tiger.remains<cooldown.zenith.full_recharge_time)&!variable.patchwerk&!buff.zenith.up
    11. Cast Zenith if Zenith isn't active and you have Celestial Conduit talented and the fight ends within the cooldown left on Invoke Xuen, the White Tiger and (Rising Sun Kick is on cooldown or there are more than 2 enemies) and ((the target lives more than 30 s longer and the sim's fight style is DungeonRoute) or (the target lives more than 25 s longer and the sim's fight style isn't DungeonRoute) or (the target lives more than 15 s longer and there are more than 4 enemies)) and patchwerk is falsetarget on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=!buff.zenith.up&(talent.celestial_conduit&fight_remains<cooldown.invoke_xuen_the_white_tiger.remains&(cooldown.rising_sun_kick.remains|active_enemies>2)&(target.time_to_die>30&fight_style.dungeonroute|target.time_to_die>25&!fight_style.dungeonroute|target.time_to_die>15&active_enemies>4)&!variable.patchwerk)
    12. Cast Zenith if Zenith isn't active and (you have Flurry Strikes talented or you have Spiritual Focus talented) and the sim's fight style is DungeonRoute and Zenith is fully recharged within 30 s and the target lives more than 25 s minus (5 if you have Spiritual Focus talented, else 0) longertarget on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=!buff.zenith.up&(talent.flurry_strikes|talent.spiritual_focus)&fight_style.dungeonroute&cooldown.zenith.full_recharge_time<30&target.time_to_die>25-5*talent.spiritual_focus
    13. Cast Zenith if patchwerk is true and Zenith isn't active and Fists of Fury comes off cooldown within 10 s and (Whirling Dragon comes off cooldown within 10 s or Strike of the Windlord comes off cooldown within 10 s) and (Rising Sun Kick is on cooldown or (you have fewer than 2 Chi and you have less than 50 Energy) or there is more than one enemy) and Zenith is fully recharged within 30 s and ((trinket 1 has no on-use effect that grants a stat buff and trinket 2 has no on-use effect that grants a stat buff) or (trinket 1 has an on-use effect that grants a stat buff and trinket 1 has more than 30 s of cooldown left) or (trinket 2 has an on-use effect that grants a stat buff and trinket 2 has more than 30 s of cooldown left)) and (more than 120 s of the fight remain or (the fight ends within 50 s and more than the time until Zenith is fully recharged of the fight remain))target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=variable.patchwerk&!buff.zenith.up&cooldown.fists_of_fury.remains<10&(cooldown.whirling_dragon.remains<10|cooldown.strike_of_the_windlord.remains<10)&(cooldown.rising_sun_kick.remains|chi<2&energy<50|active_enemies>1)&cooldown.zenith.full_recharge_time<30&(!trinket.1.has_use_buff&!trinket.2.has_use_buff|trinket.1.has_use_buff&trinket.1.cooldown.remains>30|trinket.2.has_use_buff&trinket.2.cooldown.remains>30)&(fight_remains>120|fight_remains<50&fight_remains>cooldown.zenith.full_recharge_time)
    14. Cast Zenith if the fight ends within 23 s and (Rising Sun Kick is on cooldown or there are more than 2 enemies)target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=fight_remains<=23&(cooldown.rising_sun_kick.remains|active_enemies>2)
    15. Cast Zenith if the fight ends within 45 s and Zenith is fully recharged within 5 s and (Rising Sun Kick is on cooldown or there is more than one enemy)target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=fight_remains<45&cooldown.zenith.full_recharge_time<5&(cooldown.rising_sun_kick.remains|active_enemies>1)
    16. Cast Zenith if Zenith isn't active and patchwerk is true and trinket 1 isn't Algethar Puzzle Box and trinket 2 isn't Algethar Puzzle Box and trinket 1 has an on-use effect that grants a stat buff and (trinket 1 is off cooldown or Zenith is fully recharged within 5 s) and (you have Flurry Strikes talented or Invoke Xuen, the White Tiger has more than 10 s left)target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=!buff.zenith.up&(variable.patchwerk&!trinket.1.is.algethar_puzzle_box&!trinket.2.is.algethar_puzzle_box&trinket.1.has_use_buff&(trinket.1.cooldown.ready|cooldown.zenith.full_recharge_time<5))&(talent.flurry_strikes|buff.invoke_xuen_the_white_tiger.remains>10)
    17. Cast Zenith if Zenith isn't active and patchwerk is true and trinket 1 isn't Algethar Puzzle Box and trinket 2 isn't Algethar Puzzle Box and trinket 2 has an on-use effect that grants a stat buff and (trinket 2 is off cooldown or Zenith is fully recharged within 5 s) and (you have Flurry Strikes talented or Invoke Xuen, the White Tiger has more than 10 s left)target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=!buff.zenith.up&(variable.patchwerk&!trinket.1.is.algethar_puzzle_box&!trinket.2.is.algethar_puzzle_box&trinket.2.has_use_buff&(trinket.2.cooldown.ready|cooldown.zenith.full_recharge_time<5))&(talent.flurry_strikes|buff.invoke_xuen_the_white_tiger.remains>10)
    18. Cast Zenith if (Zenith isn't active and you have Celestial Conduit talented and Zenith is fully recharged within 30 s and there are more than 4 enemies and the sim's fight style is DungeonSlice) or (you have Flurry Strikes talented and the sim's fight style is DungeonSlice and Zenith is fully recharged within 20 s and Rising Sun Kick is on cooldown and Fists of Fury comes off cooldown within 10 s and less than 60 s into the fight and Zenith isn't active)target on the enemy with the highest time until the target dies
      simczenith,target_if=max:target.time_to_die,if=!buff.zenith.up&talent.celestial_conduit&cooldown.zenith.full_recharge_time<30&active_enemies>4&fight_style.dungeonslice|talent.flurry_strikes&fight_style.dungeonslice&cooldown.zenith.full_recharge_time<20&cooldown.rising_sun_kick.remains&cooldown.fists_of_fury.remains<10&time<60&!buff.zenith.up
  12. Is it true that there is a single enemy?Not set

    If so, go through Default st, then carry on below if nothing there fits

    simccall_action_list,name=default_st,if=active_enemies=1
  13. Is it true that there is more than one enemy?Not set

    If so, go through Multitarget, then carry on below if nothing there fits

    simccall_action_list,name=multitarget,if=active_enemies>1
  14. go through Fallback, then carry on below if nothing there fits

    simccall_action_list,name=fallback

    Fallback4 lines

    1. Cast Blackout Kick if Blackout Kick isn't the ability you used lastFallback
      simcblackout_kick,if=combo_strike
    2. Cast Slicing Winds
      simcslicing_winds
    3. Cast Tiger Palm if Tiger Palm isn't the ability you used last
      simctiger_palm,if=combo_strike
    4. Cast Spinning Crane Kick if you have more than 4 Chi and Spinning Crane Kick isn't the ability you used last
      simcspinning_crane_kick,if=chi>4&combo_strike
  15. Cast Arcane Torrent if your Chi is less than your maximum Chi and you have less than 55 Energy
    simcarcane_torrent,if=chi<chi.max&energy<55
  16. Cast Thorn Bloom
    simcthorn_bloom
  17. Cast Haymaker
    simchaymaker
  18. Cast Bag of Tricks
    simcbag_of_tricks
  19. Cast Arcane Pulse
    simcarcane_pulse
  20. Cast Rocket Barrage
    simcrocket_barrage
  21. Cast Light's Judgment
    simclights_judgment

Read from ActionPriorityLists/default/monk_windwalker.simc in simulationcraft/simc at 1860cd1d5763, the commit this engine build runs.