Skip to content

Commit

Permalink
[monk] Fix condition for shared TotM object. (#9872)
Browse files Browse the repository at this point in the history
  • Loading branch information
renanthera authored Jan 21, 2025
1 parent 715783a commit 6617449
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions engine/class_modules/monk/sc_monk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7129,7 +7129,7 @@ void monk_t::init_spells()

if ( talent.windwalker.teachings_of_the_monastery->ok() )
shared.teachings_of_the_monastery = talent.windwalker.teachings_of_the_monastery;
else if ( baseline.mistweaver.teachings_of_the_monastery->ok() )
else if ( specialization() == MONK_MISTWEAVER && baseline.mistweaver.teachings_of_the_monastery->ok() )
shared.teachings_of_the_monastery = baseline.mistweaver.teachings_of_the_monastery;
else
shared.teachings_of_the_monastery = spell_data_t::not_found();
Expand Down Expand Up @@ -7950,8 +7950,9 @@ void monk_t::create_buffs()
if ( old && !new_ )
tier.tww2.cashout->trigger( old );
} );
tier.tww2.cashout = make_buff_fallback( tier.tww2.ww_4pc->ok(), this, "cashout", tier.tww2.ww_4pc_cashout )
->set_max_stack( 59 ); // Spell says it caps at 8, but have screenshots of it stacking to at least 59.
tier.tww2.cashout =
make_buff_fallback( tier.tww2.ww_4pc->ok(), this, "cashout", tier.tww2.ww_4pc_cashout )
->set_max_stack( 59 ); // Spell says it caps at 8, but have screenshots of it stacking to at least 59.
// BrM
tier.tww2.luck_of_the_draw =
make_buff_fallback( tier.tww2.brm_2pc->ok(), this, "luck_of_the_draw", tier.tww2.brm_2pc_luck_of_the_draw )
Expand Down

0 comments on commit 6617449

Please sign in to comment.