From 2638e9ea9c3c791b0e25e7068be5cbaea6089164 Mon Sep 17 00:00:00 2001 From: KorGgenT Date: Fri, 22 Jan 2021 15:34:21 -0500 Subject: [PATCH] fix magic casting xp --- src/magic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/magic.cpp b/src/magic.cpp index 9eb833b1f97aa..3c531977d0cf7 100644 --- a/src/magic.cpp +++ b/src/magic.cpp @@ -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