From 72da9dfd9f4ded649f999b7f3100c3c188a598d3 Mon Sep 17 00:00:00 2001 From: Foxtrot_Uniform <46412513+Foxtrot-Uniform42@users.noreply.github.com> Date: Sun, 17 Jan 2021 17:42:56 +0500 Subject: [PATCH] Revert "Reverses subtraction in character.cpp to correct skill rust calculation" This reverts commit 638126cce85b5972990c824555867f6649a5cfe8. --- src/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/character.cpp b/src/character.cpp index 0ea756c71a4b6..ef87d384d4090 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -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" );