Skip to content

Commit

Permalink
Merge pull request CleverRaven#77557 from Night-Pryanik/parkour
Browse files Browse the repository at this point in the history
Don't apply parkour bonus when moving prone
  • Loading branch information
Maleclypse authored Nov 3, 2024
2 parents 9f5030b + bfca96b commit 6b98896
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 @@ -10219,7 +10219,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 6b98896

Please sign in to comment.