Skip to content

Commit

Permalink
Don't apply parkour bonus when prone
Browse files Browse the repository at this point in the history
  • Loading branch information
Night-Pryanik committed Nov 3, 2024
1 parent 55335a2 commit bfca96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10215,7 +10215,7 @@ std::vector<run_cost_effect> Character::run_cost_effects( float &movecost ) cons
1 );
run_cost_effect_mul( obstacle_mult, _( "Obstacle Muts." ) );

if( has_proficiency( proficiency_prof_parkour ) ) {
if( has_proficiency( proficiency_prof_parkour ) && !is_prone() ) {
run_cost_effect_mul( 0.5, _( "Parkour" ) );
}

Expand Down

0 comments on commit bfca96b

Please sign in to comment.