Skip to content

Commit

Permalink
Brewmaster and Windwalker talents, auras, abilities, and priorities.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Jul 26, 2024
1 parent 0230e0e commit 3bdc3fd
Show file tree
Hide file tree
Showing 8 changed files with 927 additions and 689 deletions.
288 changes: 166 additions & 122 deletions Dragonflight/MonkMistweaver.lua

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Hekili.toc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ TheWarWithin\HunterSurvival.lua
# TheWarWithin\MageFrost.lua
TheWarWithin\MonkBrewmaster.lua
# TheWarWithin\MonkMistweaver.lua
# TheWarWithin\MonkWindwalker.lua
TheWarWithin\MonkWindwalker.lua
# TheWarWithin\PaladinHoly.lua
TheWarWithin\PaladinProtection.lua
TheWarWithin\PaladinRetribution.lua
Expand Down
2 changes: 1 addition & 1 deletion Scripts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ function scripts:LoadScripts()
end
end

if list ~= "precombat" and ( ability.item or data.action == "trinket1" or data.action == "trinket2" ) and data.enabled then
if list ~= "precombat" and ( ability.item or data.action == "trinket1" or data.action == "trinket2" or data.action == "main_hand" ) and data.enabled then
self.PackInfo[ pack ].items[ data.action ] = true
end

Expand Down
2 changes: 2 additions & 0 deletions State.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,9 @@ do
elseif k == "charges" then return cooldown.charges
elseif k == "charges_fractional" then return cooldown.charges_fractional
elseif k == "charges_max" or k == "max_charges" then return ability and ability.charges or 1
elseif k == "cooldown_duration" then return cooldown.duration
elseif k == "cooldown_react" or k == "cooldown_up" then return cooldown.remains == 0
elseif k == "cooldown_remains" then return cooldown.remains
elseif k == "cost" then
if not ability then return 0 end

Expand Down
470 changes: 282 additions & 188 deletions TheWarWithin/MonkBrewmaster.lua

Large diffs are not rendered by default.

742 changes: 375 additions & 367 deletions Dragonflight/MonkWindwalker.lua → TheWarWithin/MonkWindwalker.lua

Large diffs are not rendered by default.

34 changes: 24 additions & 10 deletions TheWarWithin/Priorities/MonkBrewmaster.simc
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
actions.precombat+=/potion
actions.precombat+=/chi_burst,if=talent.chi_burst.enabled

actions+=/spear_hand_strike
actions+=/spear_hand_strike,if=target.debuff.casting.react
actions+=/diffuse_magic
actions+=/expel_harm,if=health.pct<=settings.eh_percent
actions+=/vivify,if=health.pct<=settings.vivify_percent&buff.vivacious_vivification.up
actions+=/purifying_brew,if=tanking&settings.purify_for_celestial&(time_to_max_charges<gcd.max|buff.purified_chi.up&buff.purified_chi.remains<1.5*gcd.max)|cooldown.celestial_brew.remains<2*gcd.max&charges_fractional>1.5
actions+=/celestial_brew,if=tanking&(!talent.improved_celestial_brew|buff.purified_chi.up)&(!settings.max_damage|buff.blackout_combo.down)
actions+=/purifying_brew,line_cd=5,if=talent.improved_invoke_niuzao_the_black_ox&settings.purify_for_niuzao&pet.niuzao_the_black_ox.active
## actions+=/purifying_brew,line_cd=5,if=talent.improved_invoke_niuzao_the_black_ox&settings.purify_for_niuzao&pet.niuzao_the_black_ox.active
actions+=/purifying_brew,if=group&(!settings.max_damage|buff.blackout_combo.down)&settings.purify_stagger_currhp>0&stagger.pct>=settings.purify_stagger_currhp
actions+=/purifying_brew,if=solo&(!settings.max_damage|buff.blackout_combo.down)&settings.purify_stagger_currhp>0&stagger.pct>=settings.purify_stagger_currhp*0.5
actions+=/purifying_brew,if=group&(settings.max_damage&buff.blackout_combo.down)&settings.purify_stagger_maxhp>0&stagger.pct>=settings.purify_stagger_maxhp
Expand All @@ -18,34 +17,45 @@ actions+=/dampen_harm,if=health.pct<75&incoming_damage_3s>health.max*(0.2+(0.2*g
actions+=/fortifying_brew,if=health.pct<50&incoming_damage_3s>health.max*(0.2+(0.2*group))&(buff.dampen_harm.down)
actions+=/potion
actions+=/touch_of_death
actions+=/use_items,if=debuff.weapons_of_order_debuff.stack>3|talent.weapons_of_order|boss&fight_remains<25
actions+=/call_action_list,name=items
actions+=/blood_fury
actions+=/berserking
actions+=/lights_judgment
actions+=/fireblood
actions+=/ancestral_call
actions+=/bag_of_tricks
## Use <a href='https://www.wowhead.com/spell=10060/power-infusion'>Power Infusion</a> when <a href='https://www.wowhead.com/spell=387184/weapons-of-order'>Weapons of Order</a> reaches 4 stacks.
## actions+=/invoke_external_buff,name=power_infusion,if=buff.weapons_of_order.remains<=20&talent.weapons_of_order.enabled
# Use <a href='https://www.wowhead.com/spell=10060/power-infusion'>Power Infusion</a> when <a href='https://www.wowhead.com/spell=387184/weapons-of-order'>Weapons of Order</a> reaches 4 stacks.
## actions+=/invoke_external_buff,name=power_infusion,if=!talent.weapons_of_order.enabled
actions+=/call_action_list,name=rotation_pta,strict=1,if=talent.press_the_advantage.enabled
actions+=/call_action_list,name=rotation_boc,strict=1,if=!talent.press_the_advantage.enabled

actions.items+=/main_hand,if=boss&fight_remains<cooldown_duration|(debuff.weapons_of_order_debuff.stack>3|fight_remains>cooldown_remains)
actions.items+=/trinket1,if=boss&fight_remains<cooldown_duration|(debuff.weapons_of_order_debuff.stack>3|fight_remains>cooldown_remains)
actions.items+=/trinket2,if=boss&fight_remains<cooldown_duration|(debuff.weapons_of_order_debuff.stack>3|fight_remains>cooldown_remains)

actions.rotation_pta+=/invoke_niuzao_the_black_ox
actions.rotation_pta+=/rising_sun_kick,if=buff.press_the_advantage.stack<(7+main_hand.2h)
actions.rotation_pta+=/rising_sun_kick,if=buff.press_the_advantage.stack>9&active_enemies<=3&(buff.blackout_combo.up|!talent.blackout_combo.enabled)
actions.rotation_pta+=/keg_smash,if=(buff.press_the_advantage.stack>9)&active_enemies>3
actions.rotation_pta+=/spinning_crane_kick,if=active_enemies>5&buff.exploding_keg.up&buff.charred_passions.up
actions.rotation_pta+=/blackout_kick
actions.rotation_pta+=/purifying_brew,if=(!buff.blackout_combo.up)
actions.rotation_pta+=/black_ox_brew,if=energy+energy.regen<=40
actions.rotation_pta+=/breath_of_fire,if=buff.charred_passions.remains<cooldown.blackout_kick.remains&(buff.blackout_combo.up|!talent.blackout_combo.enabled)
actions.rotation_pta+=/exploding_keg
actions.rotation_pta+=/bonedust_brew
actions.rotation_pta+=/exploding_keg,if=((buff.bonedust_brew.up)|(cooldown.bonedust_brew.remains>=20))
actions.rotation_pta+=/exploding_keg,if=(!talent.bonedust_brew.enabled)
actions.rotation_pta+=/breath_of_fire,if=(buff.blackout_combo.up|!talent.blackout_combo.enabled)
actions.rotation_pta+=/keg_smash,if=buff.press_the_advantage.stack<10
actions.rotation_pta+=/rushing_jade_wind,if=talent.rushing_jade_wind.enabled
actions.rotation_pta+=/spinning_crane_kick,if=active_enemies>2
actions.rotation_pta+=/spinning_crane_kick,if=(1.1>(swing.mh.remains)*(1+spell_haste)-swing.mh.two_hand)
actions.rotation_pta+=/expel_harm
## actions.rotation_pta+=/spinning_crane_kick,if=(1.1>(time-action.melee_main_hand.last_used)*(1+spell_haste)-main_hand.2h)
actions.rotation_pta+=/chi_burst

actions.rotation_boc+=/blackout_kick
actions.rotation_boc+=/purifying_brew,if=(buff.blackout_combo.down&(buff.recent_purifies.down|cooldown.purifying_brew.charges_fractional>(1+talent.improved_purifying_brew.enabled-0.1)))&talent.improved_invoke_niuzao_the_black_ox.enabled&(cooldown.weapons_of_order.remains>40|cooldown.weapons_of_order.remains<5)
actions.rotation_boc+=/weapons_of_order,if=(buff.recent_purifies.up)&talent.improved_invoke_niuzao_the_black_ox.enabled
actions.rotation_boc+=/invoke_niuzao_the_black_ox,if=(buff.invoke_niuzao_the_black_ox.down&buff.recent_purifies.up&buff.weapons_of_order.remains<14)&talent.improved_invoke_niuzao_the_black_ox.enabled
actions.rotation_boc+=/invoke_niuzao_the_black_ox,if=(debuff.weapons_of_order_debuff.stack>3)&!talent.improved_invoke_niuzao_the_black_ox.enabled
Expand All @@ -54,16 +64,20 @@ actions.rotation_boc+=/weapons_of_order,if=(talent.weapons_of_order.enabled)&!ta
actions.rotation_boc+=/keg_smash,if=(time-action.weapons_of_order.last_used<2)
actions.rotation_boc+=/keg_smash,if=(buff.weapons_of_order.remains<gcd*2&buff.weapons_of_order.up)&!talent.improved_invoke_niuzao_the_black_ox.enabled
actions.rotation_boc+=/keg_smash,if=(buff.weapons_of_order.remains<gcd*2)&talent.improved_invoke_niuzao_the_black_ox.enabled
actions.rotation_boc+=/purifying_brew,if=(!buff.blackout_combo.up)&!talent.improved_invoke_niuzao_the_black_ox.enabled
actions.rotation_boc+=/rising_sun_kick
actions.rotation_boc+=/black_ox_brew,if=(energy+energy.regen<=40)
actions.rotation_boc+=/tiger_palm,if=(buff.blackout_combo.up&active_enemies=1)
actions.rotation_boc+=/breath_of_fire,if=(buff.charred_passions.remains<cooldown.blackout_kick.remains)
actions.rotation_boc+=/keg_smash,if=(buff.weapons_of_order.up&debuff.weapons_of_order_debuff.stack<=3)
actions.rotation_boc+=/exploding_keg
actions.rotation_boc+=/bonedust_brew,if=(time<10&debuff.weapons_of_order_debuff.stack>3)|(time>10&talent.weapons_of_order.enabled)
actions.rotation_boc+=/bonedust_brew,if=(!talent.weapons_of_order.enabled)
actions.rotation_boc+=/exploding_keg,if=(buff.bonedust_brew.up)
actions.rotation_boc+=/exploding_keg,if=(cooldown.bonedust_brew.remains>=20)
actions.rotation_boc+=/exploding_keg,if=(!talent.bonedust_brew.enabled)
actions.rotation_boc+=/keg_smash
actions.rotation_boc+=/rushing_jade_wind,if=talent.rushing_jade_wind.enabled
actions.rotation_boc+=/breath_of_fire
actions.rotation_boc+=/tiger_palm,if=active_enemies=1&!talent.blackout_combo.enabled
actions.rotation_boc+=/spinning_crane_kick,if=active_enemies>1
actions.rotation_boc+=/expel_harm
actions.rotation_boc+=/chi_burst
actions.rotation_boc+=/chi_burst
76 changes: 76 additions & 0 deletions TheWarWithin/Priorities/MonkWindwalker.simc
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
actions+=/spear_hand_strike,if=target.debuff.casting.react
# Potion
actions+=/potion,if=buff.storm_earth_and_fire.up&(!talent.invoke_xuen|pet.xuen_the_white_tiger.active)|boss&fight_remains<=30
# Use Trinkets
actions+=/call_action_list,name=trinkets
# Use Cooldowns
actions+=/call_action_list,name=cooldowns,strict=1,if=talent.storm_earth_and_fire
# Default Priority
actions+=/call_action_list,name=default_aoe,strict=1,if=active_enemies>=3
actions+=/call_action_list,name=default_st,strict=1,if=active_enemies<3

# Use <a href='https://www.wowhead.com/spell=10060/power-infusion'>Power Infusion</a> while <a href='https://www.wowhead.com/spell=123904/invoke-xuen-the-white-tiger'>Invoke Xuen, the White Tiger</a> is active.
actions.trinkets+=/use_item,name=algethar_puzzle_box,if=(pet.xuen_the_white_tiger.active|!talent.invoke_xuen_the_white_tiger)&!buff.storm_earth_and_fire.up|boss&fight_remains<25
actions.trinkets+=/use_item,name=erupting_spear_fragment,if=buff.storm_earth_and_fire.up
actions.trinkets+=/manic_grieftorch,if=!trinket.1.has_use_buff&!trinket.2.has_use_buff&!buff.storm_earth_and_fire.up&!pet.xuen_the_white_tiger.active|(trinket.1.has_use_buff|trinket.2.has_use_buff)&cooldown.invoke_xuen_the_white_tiger.remains>30|boss&fight_remains<5
actions.trinkets+=/beacon_to_the_beyond,if=!trinket.1.has_use_buff&!trinket.2.has_use_buff&!buff.storm_earth_and_fire.up&!pet.xuen_the_white_tiger.active|(trinket.1.has_use_buff|trinket.2.has_use_buff)&cooldown.invoke_xuen_the_white_tiger.remains>30|boss&fight_remains<10
actions.trinkets+=/djaruun_pillar_of_the_elder_flame,if=cooldown.fists_of_fury.remains<2&cooldown.invoke_xuen_the_white_tiger.remains>10|boss&fight_remains<12
actions.trinkets+=/dragonfire_bomb_dispenser,if=!trinket.1.has_use_buff&!trinket.2.has_use_buff|(trinket.1.has_use_buff|trinket.2.has_use_buff)&cooldown.invoke_xuen_the_white_tiger.remains>10|boss&fight_remains<10
actions.trinkets+=/trinket1,if=(pet.xuen_the_white_tiger.active|!talent.invoke_xuen_the_white_tiger)&buff.storm_earth_and_fire.up|boss&fight_remains<25
actions.trinkets+=/trinket1,if=!trinket.1.has_use_buff&!trinket.2.has_use_buff|(trinket.1.has_use_buff|trinket.2.has_use_buff)&cooldown.invoke_xuen_the_white_tiger.remains>30
actions.trinkets+=/trinket2,if=(pet.xuen_the_white_tiger.active|!talent.invoke_xuen_the_white_tiger)&buff.storm_earth_and_fire.up|boss&fight_remains<25
actions.trinkets+=/trinket2,if=!trinket.1.has_use_buff&!trinket.2.has_use_buff|(trinket.1.has_use_buff|trinket.2.has_use_buff)&cooldown.invoke_xuen_the_white_tiger.remains>30

actions.cooldowns+=/invoke_xuen_the_white_tiger,if=(active_enemies>2|debuff.acclamation.up)&(prev.tiger_palm|energy<60&!talent.inner_peace|energy<55&talent.inner_peace|chi>3)
actions.cooldowns+=/storm_earth_and_fire,if=(buff.invokers_delight.up|fight_remains>15&cooldown.storm_earth_and_fire.full_recharge_time<cooldown.invoke_xuen_the_white_tiger.remains&cooldown.strike_of_the_windlord.remains<2)|boss&fight_remains<=30|buff.bloodlust.up&cooldown.invoke_xuen_the_white_tiger.remains
actions.cooldowns+=/touch_of_karma

# >=3 Targets
actions.default_aoe+=/tiger_palm,if=(energy>55&talent.inner_peace|energy>60&!talent.inner_peace)&combo_strike&chi.max-chi>=2&buff.teachings_of_the_monastery.stack<buff.teachings_of_the_monastery.max_stack&!buff.ordered_elements.up&(!set_bonus.tier30_2pc|set_bonus.tier30_2pc&buff.dance_of_chiji.up&!buff.blackout_reinforcement.up&talent.energy_burst)|buff.storm_earth_and_fire.remains>3&cooldown.fists_of_fury.remains<3&chi<2
actions.default_aoe+=/touch_of_death
actions.default_aoe+=/spinning_crane_kick,if=buff.dance_of_chiji.stack=2&combo_strike
actions.default_aoe+=/rising_sun_kick,cycle_targets=1,if=buff.ordered_elements.remains<2&buff.storm_earth_and_fire.up&talent.ordered_elements
actions.default_aoe+=/celestial_conduit,if=buff.storm_earth_and_fire.up&buff.ordered_elements.up&cooldown.strike_of_the_windlord.remains
actions.default_aoe+=/chi_burst,if=combo_strike
actions.default_aoe+=/spinning_crane_kick,if=buff.dance_of_chiji.stack=2|buff.dance_of_chiji.up&combo_strike&buff.storm_earth_and_fire.up
actions.default_aoe+=/whirling_dragon_punch
actions.default_aoe+=/strike_of_the_windlord
actions.default_aoe+=/blackout_kick,cycle_targets=1,if=buff.teachings_of_the_monastery.stack=8&talent.shadowboxing_treads
actions.default_aoe+=/fists_of_fury,cycle_targets=1
actions.default_aoe+=/rising_sun_kick,cycle_targets=1,if=talent.xuens_battlegear|cooldown.whirling_dragon_punch.remains<3
actions.default_aoe+=/spinning_crane_kick,if=combo_strike
actions.default_aoe+=/blackout_kick,cycle_targets=1,if=!talent.knowledge_of_the_broken_temple&buff.teachings_of_the_monastery.stack=4&talent.shadowboxing_treads
actions.default_aoe+=/crackling_jade_lightning,if=buff.the_emperors_capacitor.stack>19&!buff.ordered_elements.up&combo_strike&talent.power_of_the_thunder_king
actions.default_aoe+=/blackout_kick,cycle_targets=1,if=combo_strike&talent.shadowboxing_treads
actions.default_aoe+=/blackout_kick,cycle_targets=1,if=combo_strike
actions.default_aoe+=/crackling_jade_lightning,if=buff.the_emperors_capacitor.stack>19&!buff.ordered_elements.up&combo_strike
actions.default_aoe+=/jadefire_stomp
actions.default_aoe+=/tiger_palm,cycle_targets=1,if=combo_strike&buff.ordered_elements.up&chi.deficit>=1

actions.default_st+=/touch_of_death
actions.default_st+=/celestial_conduit,if=buff.storm_earth_and_fire.up&buff.ordered_elements.up&cooldown.strike_of_the_windlord.remains
actions.default_st+=/rising_sun_kick,cycle_targets=1,if=!pet.xuen_the_white_tiger.active&prev.tiger_palm|buff.storm_earth_and_fire.up&talent.ordered_elements
actions.default_st+=/strike_of_the_windlord,if=talent.gale_force&buff.invokers_delight.up
actions.default_st+=/fists_of_fury,cycle_targets=1,if=buff.power_infusion.up&buff.bloodlust.up
actions.default_st+=/rising_sun_kick,cycle_targets=1,if=buff.power_infusion.up&buff.bloodlust.up
actions.default_st+=/blackout_kick,cycle_targets=1,if=buff.teachings_of_the_monastery.stack=8
actions.default_st+=/whirling_dragon_punch
actions.default_st+=/strike_of_the_windlord,if=time>5
actions.default_st+=/spinning_crane_kick,if=combo_strike&buff.dance_of_chiji.up&set_bonus.tier30_2pc&!buff.blackout_reinforcement.up
actions.default_st+=/rising_sun_kick,cycle_targets=1
actions.default_st+=/fists_of_fury,if=buff.ordered_elements.remains>execute_time|!buff.ordered_elements.up|buff.ordered_elements.remains<=gcd.max
actions.default_st+=/spinning_crane_kick,if=combo_strike&buff.dance_of_chiji.up&set_bonus.tier30_2pc&!buff.blackout_reinforcement.up&talent.energy_burst
actions.default_st+=/tiger_palm,cycle_targets=1,if=combo_strike&chi.deficit>=2&(!buff.ordered_elements.up|energy.time_to_max<=gcd.max*3)
actions.default_st+=/jadefire_stomp,if=talent.singularly_focused_jade|talent.jadefire_harmony
actions.default_st+=/rising_sun_kick,cycle_targets=1
actions.default_st+=/blackout_kick,if=combo_strike&buff.blackout_reinforcement.up
actions.default_st+=/chi_burst,if=!buff.ordered_elements.up
actions.default_st+=/blackout_kick,cycle_targets=1,if=combo_strike&(buff.ordered_elements.up|buff.bok_proc.up&chi.deficit>=1&talent.energy_burst)
actions.default_st+=/spinning_crane_kick,if=combo_strike&buff.dance_of_chiji.up&(buff.ordered_elements.up|energy.time_to_max>=gcd.max*3&talent.sequenced_strikes&talent.energy_burst|!talent.sequenced_strikes|!talent.energy_burst|buff.dance_of_chiji.stack=2|buff.dance_of_chiji.remains<=gcd.max*3)
actions.default_st+=/crackling_jade_lightning,if=buff.the_emperors_capacitor.stack>19&!buff.ordered_elements.up&combo_strike
actions.default_st+=/blackout_kick,cycle_targets=1,if=combo_strike
actions.default_st+=/jadefire_stomp
actions.default_st+=/tiger_palm,cycle_targets=1,if=combo_strike&buff.ordered_elements.up&chi.deficit>=1
actions.default_st+=/chi_burst
actions.default_st+=/spinning_crane_kick,if=combo_strike&buff.ordered_elements.up&talent.hit_combo
actions.default_st+=/blackout_kick,cycle_targets=1,if=buff.ordered_elements.up&!talent.hit_combo

0 comments on commit 3bdc3fd

Please sign in to comment.