Skip to content

Commit

Permalink
Correctly display the cost to learn the proficiency (#74075)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
osuphobia and github-actions[bot] authored May 26, 2024
1 parent 68b0102 commit cc83eb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/talker_character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit cc83eb3

Please sign in to comment.