Skip to content

Commit

Permalink
Reverses subtraction in character.cpp to correct skill rust calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxiClay authored and kevingranade committed Jan 7, 2021
1 parent a796834 commit 638126c
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 @@ -4061,7 +4061,7 @@ int Character::rust_rate() const
int intel = get_int();
/** @EFFECT_INT reduces skill rust by 10% per level above 8 */
int ret = ( ( rate_option == "vanilla" || rate_option == "capped" ) ?
100 : 100 + 10 * ( intel - 8 ) );
100 : 100 + 10 * ( 8 - intel ) );

ret *= mutation_value( "skill_rust_multiplier" );

Expand Down

0 comments on commit 638126c

Please sign in to comment.