From 9e24c5e322dbdeecfe7381f90ea1f59f773d8aa9 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 13 Jan 2025 04:10:32 -0700 Subject: [PATCH] [monk] Tier set does weird things. I blame the script. --- engine/class_modules/monk/sc_monk.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/class_modules/monk/sc_monk.cpp b/engine/class_modules/monk/sc_monk.cpp index fdbc04e0f37..d09f98fe8b0 100644 --- a/engine/class_modules/monk/sc_monk.cpp +++ b/engine/class_modules/monk/sc_monk.cpp @@ -585,7 +585,8 @@ void monk_action_t::execute() // TWW S2 WW 2pc if ( p()->tier.tww2.winning_streak->up() && base_t::data().affected_by( p()->tier.tww2.ww_2pc_winning_streak->effectN( 1 ) ) ) - if ( p()->rng().roll( p()->tier.tww2.ww_2pc->effectN( 1 ).percent() ) ) + if ( p()->rng().roll( p()->tier.tww2.ww_2pc->effectN( 1 ).percent() ) || + p()->tier.tww2.winning_streak->at_max_stacks() ) p()->tier.tww2.winning_streak->expire(); // TWW S1 Windwalker 2PC @@ -7887,8 +7888,7 @@ void monk_t::create_buffs() ->set_stack_change_callback( [ & ]( buff_t *, int old, int new_ ) { if ( old && !new_ ) tier.tww2.cashout->trigger( old ); - } ) - ->set_expire_at_max_stack( tier.tww2.ww_4pc->ok() ); + } ); tier.tww2.cashout = make_buff_fallback( tier.tww2.ww_4pc->ok(), this, "cashout", tier.tww2.ww_4pc_cashout ); // BrM tier.tww2.luck_of_the_draw =