Skip to content

Commit

Permalink
[Shaman] Only reset MH swing timer when MW stacks < 5
Browse files Browse the repository at this point in the history
  • Loading branch information
navv1234 committed May 24, 2023
1 parent b25fae6 commit aa8c596
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions engine/class_modules/sc_shaman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1997,19 +1997,6 @@ struct shaman_spell_base_t : public shaman_action_t<Base>
this->p()->main_hand_attack->schedule_execute();
this->p()->proc.reset_swing_mw->occur();
}

if ( this->p()->off_hand_attack && this->p()->off_hand_attack->execute_event &&
( this->p()->bugs || !this->background ) )
{
if ( this->sim->debug )
{
this->sim->out_debug.print( "{} resetting {} due to MW spell cast of {}",
this->p()->name(), this->p()->off_hand_attack->name(),
this->name() );
}
event_t::cancel( this->p()->off_hand_attack->execute_event );
this->p()->off_hand_attack->schedule_execute();
}
}

// for benefit tracking purpose
Expand Down Expand Up @@ -9547,7 +9534,7 @@ void shaman_t::trigger_hot_hand( const action_state_t* state )
}
}

void shaman_t::trigger_legacy_of_the_frost_witch( const action_state_t* state,
void shaman_t::trigger_legacy_of_the_frost_witch( const action_state_t* /* state */,
unsigned consumed_stacks )
{
if ( !talent.legacy_of_the_frost_witch.ok() )
Expand Down

0 comments on commit aa8c596

Please sign in to comment.