Skip to content

Commit

Permalink
fix magic casting xp
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT committed Jan 22, 2021
1 parent 9f43baa commit 2638e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/magic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ int spell::casting_exp( const Character &guy ) const
// the amount of xp you would get with no modifiers
const int base_casting_xp = 75;

return std::round( guy.adjust_for_focus( base_casting_xp * exp_modifier( guy ) ) );
return std::round( guy.adjust_for_focus( base_casting_xp * exp_modifier( guy ) ) / 100.0 );
}

std::string spell::enumerate_targets() const
Expand Down

0 comments on commit 2638e9e

Please sign in to comment.