Skip to content

Commit

Permalink
Update effective_dps_test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
I-am-Erk committed Apr 13, 2024
1 parent 5ac22d5 commit d3e4437
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/effective_dps_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ static double weapon_dps_trials( avatar &attacker, monster &defender, item &weap
const int starting_hp = defender.get_hp_max();
defender.set_hp( starting_hp );

// Attack once
// Attack once, ignoring strain
attacker.set_strain( 10000 );
attacker.melee_attack_abstract( defender, false, matec_id( "" ) );

// Tally total damage and moves
Expand Down

0 comments on commit d3e4437

Please sign in to comment.