From cc83eb3090cf244cd22adecbfcba4f2bb96d5b28 Mon Sep 17 00:00:00 2001 From: osuphobia <78858975+osuphobia@users.noreply.github.com> Date: Sun, 26 May 2024 22:09:00 +0800 Subject: [PATCH] Correctly display the cost to learn the proficiency (#74075) * Update talker_character.cpp * Update src/talker_character.cpp Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Empty-Commit --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/talker_character.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/talker_character.cpp b/src/talker_character.cpp index a9b2fb7daa858..f8aef105be810 100644 --- a/src/talker_character.cpp +++ b/src/talker_character.cpp @@ -1097,7 +1097,8 @@ std::string talker_character_const::proficiency_training_text( const talker &stu if( cost > 0 ) { //~ Proficiency name: (current_practice) -> (next_practice) (cost in dollars) - return string_format( _( "%s: (%2.0f%%) -> (%s) (cost $%d)" ), name, pct_before, after_str, cost ); + return string_format( _( "%s: (%2.0f%%) -> (%s) (cost $%d)" ), name, pct_before, after_str, + cost / 100 ); } //~ Proficiency name: (current_practice) -> (next_practice) return string_format( _( "%s: (%2.0f%%) -> (%s)" ), name, pct_before, after_str );