Skip to content

Commit

Permalink
Revert "Reverses subtraction in character.cpp to correct skill rust c…
Browse files Browse the repository at this point in the history
…alculation"

This reverts commit 638126c.
  • Loading branch information
Foxtrot-Uniform42 authored Jan 17, 2021
1 parent ac88c03 commit 72da9df
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 @@ -4117,7 +4117,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 * ( 8 - intel ) );
100 : 100 + 10 * ( intel - 8 ) );

ret *= mutation_value( "skill_rust_multiplier" );

Expand Down

0 comments on commit 72da9df

Please sign in to comment.