monk="T23_Monk_Windwalker_Serenity"
source=default
spec=windwalker
level=120
race=pandaren
role=dps
position=back
talents=2022033

# Default consumables
potion=unbridled_fury
flask=greater_flask_of_the_currents
food=mechdowels_big_mech
augmentation=battle_scarred

# This default action priority list is automatically created based on your character.
# It is a attempt to provide you with a action list that is both simple and practicable,
# while resulting in a meaningful and good simulation. It may not result in the absolutely highest possible dps.
# Feel free to edit, adapt and improve it to your own needs.
# SimulationCraft is always looking for updates and improvements to the default action lists.

# Executed before combat begins. Accepts non-harmful actions only.
actions.precombat=flask
actions.precombat+=/food
actions.precombat+=/augmentation
# Snapshot raid buffed stats before combat begins and pre-potting is done.
actions.precombat+=/snapshot_stats
actions.precombat+=/potion
# Checks if you have a trinket equipped that wants to be used together with ToD
actions.precombat+=/variable,name=tod_on_use_trinket,op=set,value=equipped.cyclotronic_blast|equipped.lustrous_golden_plumage|equipped.gladiators_badge|equipped.gladiators_medallion|equipped.remote_guidance_device
actions.precombat+=/variable,name=font_of_power_precombat_channel,op=set,value=19,if=!talent.serenity.enabled&(variable.tod_on_use_trinket|equipped.ashvanes_razor_coral)
actions.precombat+=/use_item,name=azsharas_font_of_power
actions.precombat+=/chi_burst,if=!talent.serenity.enabled|!talent.fist_of_the_white_tiger.enabled
actions.precombat+=/chi_wave,if=talent.fist_of_the_white_tiger.enabled|essence.conflict_and_strife.major
actions.precombat+=/invoke_xuen_the_white_tiger
actions.precombat+=/guardian_of_azeroth

# Executed every time the actor is available.
actions=auto_attack
actions+=/spear_hand_strike,if=target.debuff.casting.react
# Variable that will tell you if you will need to wait to cast ToD/do not want to cast it at all anymore
actions+=/variable,name=hold_tod,op=set,value=cooldown.touch_of_death.remains+9>target.time_to_die|!talent.serenity.enabled&!variable.tod_on_use_trinket&equipped.dribbling_inkpod&target.time_to_pct_30.remains<130&target.time_to_pct_30.remains>8|fight_remains<130&fight_remains>cooldown.serenity.remains&cooldown.serenity.remains>2|buff.serenity.up&fight_remains>11
# Use potion if Serenity is up, or both SEF and ToD are up, or the target will die within 60 seconds
actions+=/potion,if=buff.serenity.up|buff.storm_earth_and_fire.up&dot.touch_of_death.remains|fight_remains<=60
actions+=/reverse_harm,if=chi.max-chi>=2&(talent.serenity.enabled|!dot.touch_of_death.remains)&buff.serenity.down&(energy.time_to_max<1|talent.serenity.enabled&cooldown.serenity.remains<2|!talent.serenity.enabled&cooldown.touch_of_death.remains<3&!variable.hold_tod|energy.time_to_max<4&cooldown.fists_of_fury.remains<1.5)
# Use FotWT if  you are missing at least 3 chi, And  serenity, And  BotE are not up, AND you either are about to cap energy, or serenity is about to come up, or ToD is about to come up, or FoF is coming up and you will cap energy soon
actions+=/fist_of_the_white_tiger,target_if=min:debuff.mark_of_the_crane.remains,if=chi.max-chi>=3&buff.serenity.down&buff.seething_rage.down&(energy.time_to_max<1|talent.serenity.enabled&cooldown.serenity.remains<2|!talent.serenity.enabled&cooldown.touch_of_death.remains<3&!variable.hold_tod|energy.time_to_max<4&cooldown.fists_of_fury.remains<1.5)
# Use TP if it wont break mastery, AND are missing at least 2 chi, AND big cooldowns are not up, AND you either are about to cap energy, or serenity is about to come up, or ToD is coming up, or FoF is coming up and you will cap energy soon
actions+=/tiger_palm,target_if=min:debuff.mark_of_the_crane.remains,if=!combo_break&chi.max-chi>=2&(talent.serenity.enabled|!dot.touch_of_death.remains|active_enemies>2)&buff.seething_rage.down&buff.serenity.down&(energy.time_to_max<1|talent.serenity.enabled&cooldown.serenity.remains<2|!talent.serenity.enabled&cooldown.touch_of_death.remains<3&!variable.hold_tod|energy.time_to_max<4&cooldown.fists_of_fury.remains<1.5)
actions+=/chi_wave,if=!talent.fist_of_the_white_tiger.enabled&prev_gcd.1.tiger_palm&time<=3
actions+=/call_action_list,name=cd_serenity,if=talent.serenity.enabled
actions+=/call_action_list,name=cd_sef,if=!talent.serenity.enabled
# Call the Serenity action list if Serenity is currently up
actions+=/call_action_list,name=serenity,if=buff.serenity.up
# Call the ST action list if there are 2 or less enemies
actions+=/call_action_list,name=st,if=active_enemies<3
# Call the AoE action list if there are 3 or more enemies
actions+=/call_action_list,name=aoe,if=active_enemies>=3

# Actions.AoE is intended for use with Hectic_Add_Cleave and currently needs to be optimized
actions.aoe=whirling_dragon_punch
actions.aoe+=/energizing_elixir,if=!prev_gcd.1.tiger_palm&chi<=1&energy<50
actions.aoe+=/fists_of_fury,if=energy.time_to_max>1
actions.aoe+=/rising_sun_kick,target_if=min:debuff.mark_of_the_crane.remains,if=(talent.whirling_dragon_punch.enabled&cooldown.rising_sun_kick.duration>cooldown.whirling_dragon_punch.remains+4)&(cooldown.fists_of_fury.remains>3|chi>=5)
actions.aoe+=/rushing_jade_wind,if=buff.rushing_jade_wind.down
actions.aoe+=/spinning_crane_kick,if=combo_strike&(((chi>3|cooldown.fists_of_fury.remains>6)&(chi>=5|cooldown.fists_of_fury.remains>2))|energy.time_to_max<=3|buff.dance_of_chiji.react)
actions.aoe+=/reverse_harm,if=chi.max-chi>=2
actions.aoe+=/chi_burst,if=chi.max-chi>=3
actions.aoe+=/fist_of_the_white_tiger,target_if=min:debuff.mark_of_the_crane.remains,if=chi.max-chi>=3
actions.aoe+=/tiger_palm,target_if=min:debuff.mark_of_the_crane.remains,if=chi.max-chi>=2&(!talent.hit_combo.enabled|!combo_break)
actions.aoe+=/chi_wave,if=!combo_break
actions.aoe+=/flying_serpent_kick,if=buff.bok_proc.down,interrupt=1
actions.aoe+=/blackout_kick,target_if=min:debuff.mark_of_the_crane.remains,if=combo_strike&(buff.bok_proc.up|(talent.hit_combo.enabled&prev_gcd.1.tiger_palm&chi<4))

# Cooldowns
actions.cd_sef=invoke_xuen_the_white_tiger,if=buff.serenity.down|fight_remains<25
actions.cd_sef+=/guardian_of_azeroth,if=fight_remains>185|!variable.hold_tod&cooldown.touch_of_death.remains<=14|fight_remains<36
actions.cd_sef+=/worldvein_resonance,if=cooldown.touch_of_death.remains>58|cooldown.touch_of_death.remains<2|variable.hold_tod|fight_remains<20
# Use Arcane Torrent if you are missing at least 1 Chi and won't cap energy within 0.5 seconds
actions.cd_sef+=/arcane_torrent,if=chi.max-chi>=1&energy.time_to_max>=0.5
actions.cd_sef+=/use_item,name=lustrous_golden_plumage,if=cooldown.touch_of_death.remains<1|cooldown.touch_of_death.remains>20|variable.hold_tod|fight_remains<=20
actions.cd_sef+=/use_item,effect_name=gladiators_medallion,if=cooldown.touch_of_death.remains<1|cooldown.touch_of_death.remains>20|variable.hold_tod|fight_remains<=20
actions.cd_sef+=/use_item,effect_name=gladiators_emblem,if=fight_remains>159|cooldown.touch_of_death.remains<1|variable.hold_tod
actions.cd_sef+=/touch_of_death,if=!variable.hold_tod&(!equipped.cyclotronic_blast|cooldown.cyclotronic_blast.remains<=1)&(chi>1|energy<40)
actions.cd_sef+=/storm_earth_and_fire,,if=cooldown.storm_earth_and_fire.charges=2|dot.touch_of_death.remains|fight_remains<20|(buff.worldvein_resonance.remains>10|cooldown.worldvein_resonance.remains>cooldown.storm_earth_and_fire.full_recharge_time|!essence.worldvein_resonance.major)&(cooldown.touch_of_death.remains>cooldown.storm_earth_and_fire.full_recharge_time|variable.hold_tod&!equipped.dribbling_inkpod)&cooldown.fists_of_fury.remains<=9&chi>=3&cooldown.whirling_dragon_punch.remains<=13
actions.cd_sef+=/touch_of_karma,if=fight_remains>159|dot.touch_of_death.remains|variable.hold_tod
actions.cd_sef+=/blood_of_the_enemy,if=cooldown.touch_of_death.remains>45|variable.hold_tod&cooldown.fists_of_fury.remains<2|fight_remains<12|fight_remains>100&fight_remains<110&(cooldown.fists_of_fury.remains<3|cooldown.whirling_dragon_punch.remains<5|cooldown.rising_sun_kick.remains<5)
actions.cd_sef+=/concentrated_flame,if=!dot.concentrated_flame_burn.remains&((cooldown.concentrated_flame.remains<=cooldown.touch_of_death.remains+1|variable.hold_tod)&(!talent.whirling_dragon_punch.enabled|cooldown.whirling_dragon_punch.remains)&cooldown.rising_sun_kick.remains&cooldown.fists_of_fury.remains&buff.storm_earth_and_fire.down|dot.touch_of_death.remains)|fight_remains<8
# Use Blood Fury if Touch of Death's cooldown is greater than 30 (this includes while ToD is currently active), or off cooldown when you are holding onto ToD, or when the target is about to die
actions.cd_sef+=/blood_fury,if=cooldown.touch_of_death.remains>30|variable.hold_tod|fight_remains<20
actions.cd_sef+=/berserking,if=cooldown.touch_of_death.remains>30|variable.hold_tod|fight_remains<15
actions.cd_sef+=/lights_judgment
actions.cd_sef+=/fireblood,if=cooldown.touch_of_death.remains>30|variable.hold_tod|fight_remains<10
actions.cd_sef+=/ancestral_call,if=cooldown.touch_of_death.remains>30|variable.hold_tod|fight_remains<20
actions.cd_sef+=/bag_of_tricks
actions.cd_sef+=/use_item,name=pocketsized_computation_device,,if=cooldown.touch_of_death.remains>30|variable.hold_tod
actions.cd_sef+=/use_item,name=remote_guidance_device,if=cooldown.touch_of_death.remains>30|variable.hold_tod
actions.cd_sef+=/use_item,effect_name=gladiators_badge,if=cooldown.touch_of_death.remains>20|variable.hold_tod|fight_remains<20
actions.cd_sef+=/use_item,name=galecallers_boon,if=cooldown.touch_of_death.remains>55|variable.hold_tod|fight_remains<12
actions.cd_sef+=/use_item,name=writhing_segment_of_drestagath,if=cooldown.touch_of_death.remains>20|variable.hold_tod
actions.cd_sef+=/use_item,name=ashvanes_razor_coral,if=variable.tod_on_use_trinket&(cooldown.touch_of_death.remains>21|variable.hold_tod)&(debuff.razor_coral_debuff.down|buff.storm_earth_and_fire.remains>13|fight_remains-cooldown.touch_of_death.remains<40&cooldown.touch_of_death.remains<25|fight_remains<25)
actions.cd_sef+=/use_item,name=ashvanes_razor_coral,if=!variable.tod_on_use_trinket&(debuff.razor_coral_debuff.down|(!equipped.dribbling_inkpod|target.time_to_pct_30.remains<8)&(dot.touch_of_death.remains|cooldown.touch_of_death.remains+9>fight_remains)&buff.storm_earth_and_fire.up|fight_remains<25)
actions.cd_sef+=/use_item,name=variable_intensity_gigavolt_oscillating_reactor
actions.cd_sef+=/the_unbound_force
actions.cd_sef+=/purifying_blast
actions.cd_sef+=/reaping_flames,if=target.time_to_pct_20>30|target.health.pct<=20
actions.cd_sef+=/focused_azerite_beam
actions.cd_sef+=/memory_of_lucid_dreams,if=energy<40
actions.cd_sef+=/ripple_in_space
actions.cd_sef+=/bag_of_tricks

# Cooldowns
actions.cd_serenity=invoke_xuen_the_white_tiger,if=buff.serenity.down|fight_remains<25
actions.cd_serenity+=/use_item,name=azsharas_font_of_power,if=buff.serenity.down&(cooldown.serenity.remains<20|fight_remains<40)
actions.cd_serenity+=/guardian_of_azeroth,if=buff.serenity.down&(fight_remains>185|cooldown.serenity.remains<=7)|fight_remains<35
actions.cd_serenity+=/blood_fury,if=cooldown.serenity.remains>20|fight_remains<20
actions.cd_serenity+=/berserking,if=cooldown.serenity.remains>20|fight_remains<15
# Use Arcane Torrent if Serenity is not up, and you are missing at least 1 Chi, and won't cap energy within 0.5 seconds
actions.cd_serenity+=/arcane_torrent,if=buff.serenity.down&chi.max-chi>=1&energy.time_to_max>=0.5
actions.cd_serenity+=/lights_judgment
actions.cd_serenity+=/fireblood,if=cooldown.serenity.remains>20|fight_remains<10
actions.cd_serenity+=/ancestral_call,if=cooldown.serenity.remains>20|fight_remains<20
actions.cd_serenity+=/bag_of_tricks
actions.cd_serenity+=/use_item,name=lustrous_golden_plumage,if=cooldown.touch_of_death.remains<1|cooldown.touch_of_death.remains>20|variable.hold_tod|fight_remains<=20
actions.cd_serenity+=/use_item,effect_name=gladiators_medallion,if=cooldown.touch_of_death.remains<1|cooldown.touch_of_death.remains>20|variable.hold_tod|fight_remains<=20
actions.cd_serenity+=/use_item,effect_name=gladiators_emblem,if=fight_remains>159|cooldown.touch_of_death.remains<1|variable.hold_tod
actions.cd_serenity+=/touch_of_death,if=!variable.hold_tod
actions.cd_serenity+=/touch_of_karma,if=fight_remains>159|dot.touch_of_death.remains|variable.hold_tod
actions.cd_serenity+=/use_item,name=pocketsized_computation_device,if=buff.serenity.down&(cooldown.touch_of_death.remains>10|variable.hold_tod)|fight_remains<5
actions.cd_serenity+=/blood_of_the_enemy,if=buff.serenity.down&(cooldown.serenity.remains>20|cooldown.serenity.remains<2)|fight_remains<15
actions.cd_serenity+=/use_item,name=remote_guidance_device,if=cooldown.touch_of_death.remains>10|variable.hold_tod
actions.cd_serenity+=/use_item,effect_name=gladiators_badge,if=cooldown.serenity.remains>20|fight_remains<20
actions.cd_serenity+=/use_item,name=galecallers_boon,if=cooldown.serenity.remains>20|fight_remains<20
actions.cd_serenity+=/use_item,name=writhing_segment_of_drestagath,if=cooldown.touch_of_death.remains>10|variable.hold_tod
actions.cd_serenity+=/use_item,name=ashvanes_razor_coral,if=debuff.razor_coral_debuff.down|buff.serenity.remains>9|fight_remains<25
actions.cd_serenity+=/use_item,name=variable_intensity_gigavolt_oscillating_reactor
actions.cd_serenity+=/worldvein_resonance,if=buff.serenity.down&(cooldown.serenity.remains>15|cooldown.serenity.remains<2)|fight_remains<20
actions.cd_serenity+=/concentrated_flame,if=buff.serenity.down&(cooldown.serenity.remains|cooldown.concentrated_flame.charges=2)&!dot.concentrated_flame_burn.remains&(cooldown.rising_sun_kick.remains&cooldown.fists_of_fury.remains|fight_remains<8)
actions.cd_serenity+=/serenity
actions.cd_serenity+=/the_unbound_force,if=buff.serenity.down
actions.cd_serenity+=/purifying_blast,if=buff.serenity.down
actions.cd_serenity+=/reaping_flames,if=buff.serenity.down&(target.time_to_pct_20>30|target.health.pct<=20)|target.time_to_die<2
actions.cd_serenity+=/focused_azerite_beam,if=buff.serenity.down
actions.cd_serenity+=/memory_of_lucid_dreams,if=buff.serenity.down&energy<40
actions.cd_serenity+=/ripple_in_space,if=buff.serenity.down
actions.cd_serenity+=/bag_of_tricks,if=buff.serenity.down

# Priority while serenity is up
actions.serenity=fists_of_fury,if=buff.serenity.remains<1|active_enemies>1
actions.serenity+=/spinning_crane_kick,if=combo_strike&(active_enemies>2|active_enemies>1&!cooldown.rising_sun_kick.up)
actions.serenity+=/rising_sun_kick,target_if=min:debuff.mark_of_the_crane.remains,if=combo_strike
# This will cast FoF and interrupt the channel if the GCD is ready and something higher on the priority list (RSK) is avaible
actions.serenity+=/fists_of_fury,interrupt_if=gcd.remains=0
actions.serenity+=/fist_of_the_white_tiger,target_if=min:debuff.mark_of_the_crane.remains,if=chi<3
actions.serenity+=/reverse_harm,if=chi.max-chi>1&energy.time_to_max<1
# Use BoK, it will only break mastery if Hit Combo is NOT talented
actions.serenity+=/blackout_kick,target_if=min:debuff.mark_of_the_crane.remains,if=combo_strike|!talent.hit_combo.enabled
actions.serenity+=/spinning_crane_kick

# Single target priority
actions.st=whirling_dragon_punch
actions.st+=/fists_of_fury,if=talent.serenity.enabled|cooldown.touch_of_death.remains>6|variable.hold_tod
# Use RSK on targets without Mark of the Crane debuff, if possible, and if ToD is at least 2 seconds away
actions.st+=/rising_sun_kick,target_if=min:debuff.mark_of_the_crane.remains,if=talent.serenity.enabled|cooldown.touch_of_death.remains>2|variable.hold_tod
actions.st+=/rushing_jade_wind,if=buff.rushing_jade_wind.down&active_enemies>1
actions.st+=/reverse_harm,if=chi.max-chi>1
actions.st+=/fist_of_the_white_tiger,target_if=min:debuff.mark_of_the_crane.remains,if=chi<3
actions.st+=/energizing_elixir,if=chi<=3&energy<50
# Use CB if you are more than 0 Chi away from max and have 1 enemy, or are more than 1 Chi away from max
actions.st+=/chi_burst,if=chi.max-chi>0&active_enemies=1|chi.max-chi>1
# Use TP if you are 4 or more chi away from max and ToD and SEF are both not up
actions.st+=/tiger_palm,target_if=min:debuff.mark_of_the_crane.remains,if=combo_strike&chi.max-chi>3&!dot.touch_of_death.remains&buff.storm_earth_and_fire.down
actions.st+=/chi_wave
actions.st+=/spinning_crane_kick,if=combo_strike&buff.dance_of_chiji.react
# Use BoK if both FoF and RSK are not close, or RSK is close and FoF is not close and you have more than 2 chi, or FoF is close RSK is not close and you have more than 3 chi, or you have more than 5 chi, or if you get a proc
actions.st+=/blackout_kick,target_if=min:debuff.mark_of_the_crane.remains,if=combo_strike&((talent.serenity.enabled|cooldown.touch_of_death.remains>2|variable.hold_tod)&(cooldown.rising_sun_kick.remains>2&cooldown.fists_of_fury.remains>2|cooldown.rising_sun_kick.remains<3&cooldown.fists_of_fury.remains>3&chi>2|cooldown.rising_sun_kick.remains>3&cooldown.fists_of_fury.remains<3&chi>4|chi>5)|buff.bok_proc.up)
actions.st+=/tiger_palm,target_if=min:debuff.mark_of_the_crane.remains,if=combo_strike&chi.max-chi>1
# Use FSK and interrupt it straight away
actions.st+=/flying_serpent_kick,interrupt=1
# Use BoK if FoF is close and you have 2 chi and your last global was TP, or if you are about to cap energy and either your last gcd was TP or if you are less than 2 chi away from capping
actions.st+=/blackout_kick,target_if=min:debuff.mark_of_the_crane.remains,if=combo_strike&(cooldown.fists_of_fury.remains<3&chi=2|energy.time_to_max<1)&(prev_gcd.1.tiger_palm|chi.max-chi<2)

head=cowl_of_fluid_machinations,id=159302,bonus_id=5062/1587/4786/4775,azerite_powers=390/389/22/218/13
neck=heart_of_azeroth,id=158075,bonus_id=4929/5814/4936/1566,azerite_level=48
shoulders=mantle_of_fastidious_machinations,id=158304,bonus_id=5062/1587/4786/4775,azerite_powers=389/388/461/83/13
back=high_tinkers_cape,id=165924,bonus_id=4800/1537
chest=mekkatorques_bomber_jacket,id=165830,bonus_id=4824/1537/4775,azerite_powers=389/117/22/14/13
wrists=bracers_of_regal_devotion,id=165517,bonus_id=4800/1537
hands=mechjockey_grips,id=165522,bonus_id=4800/1537
waist=stretched_sinew_waistcord,id=165525,bonus_id=4800/1537
legs=cranedancer_leggings,id=165521,bonus_id=4800/1537
feet=embossed_deckwalkers,id=165527,bonus_id=4800/1537
finger1=band_of_multisided_strikes,id=165565,bonus_id=4800/1537,enchant=pact_of_versatility
finger2=lord_admirals_signet,id=165566,bonus_id=4800/1537,enchant=pact_of_versatility
trinket1=kimbuls_razor_claw,id=165579,bonus_id=4800/1537
trinket2=variable_intensity_gigavolt_oscillating_reactor,id=165572,bonus_id=4800/1537
main_hand=stormtoothed_kasuyu,id=165601,bonus_id=4800/1537,enchant=deadly_navigation
off_hand=daelin_proudmoores_saber,id=165604,bonus_id=4800/1537,enchant=versatile_navigation

# Gear Summary
# gear_ilvl=416.81
# gear_agility=5821
# gear_stamina=9969
# gear_crit_rating=832
# gear_haste_rating=685
# gear_mastery_rating=998
# gear_versatility_rating=888
# gear_armor=2363
# set_bonus=keepsakes_2pc=1
