Skip to content

Commit

Permalink
[Outlaw] Allow Coup de Grace primary cast to trigger Main Gauche
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanMichaels committed Jul 26, 2024
1 parent 5624796 commit c5c4bfc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion engine/class_modules/sc_rogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7725,6 +7725,9 @@ struct coup_de_grace_t : public rogue_attack_t
return false;
}

bool procs_main_gauche() const override
{ return true; }

bool has_amount_result() const override
{ return true; }

Expand Down Expand Up @@ -8976,7 +8979,7 @@ void actions::rogue_action_t<Base>::trigger_main_gauche( const action_state_t* s
if ( !p()->mastery.main_gauche->ok() )
return;

if ( state->result_total <= 0 )
if ( !ab::has_amount_result() )
return;

if ( !ab::result_is_hit( state->result ) )
Expand Down

0 comments on commit c5c4bfc

Please sign in to comment.