Skip to content

Commit

Permalink
[Hunter] remove unneeded Master Marksman KC trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayezi committed Aug 9, 2024
1 parent b880022 commit a075848
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions engine/class_modules/sc_hunter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2640,18 +2640,6 @@ struct kill_command_base_t : public hunter_pet_action_t<Pet, melee_attack_t>

return am;
}

void impact( action_state_t* s ) override
{
ab::impact( s );

if ( ab::o() -> talents.master_marksman.ok() && s -> result == RESULT_CRIT )
{
double amount = s -> result_amount * ab::o() -> talents.master_marksman -> effectN( 1 ).percent();
if ( amount > 0 )
residual_action::trigger( ab::o() -> actions.master_marksman, s -> target, amount );
}
}
};

struct kill_command_db_t: public kill_command_base_t<dire_critter_t>
Expand Down

0 comments on commit a075848

Please sign in to comment.