From fa82decb9a5d2995b1bddd31e8aede14fd230d96 Mon Sep 17 00:00:00 2001 From: KorGgenT Date: Sun, 9 Jun 2019 22:43:40 -0400 Subject: [PATCH] update mana regen less often this allows for larger chunks of mana to be regenerated at a time --- src/player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player.cpp b/src/player.cpp index 8a16a52132232..1a1da41743c4f 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -3952,8 +3952,8 @@ void player::update_body( const time_point &from, const time_point &to ) { update_stamina( to_turns( to - from ) ); update_stomach( from, to ); - if( ticks_between( from, to, 10_turns ) > 0 ) { - magic.update_mana( *this, to_turns( 10_turns ) ); + if( ticks_between( from, to, 3_minutes ) > 0 ) { + magic.update_mana( *this, to_turns( 3_minutes ) ); } const int five_mins = ticks_between( from, to, 5_minutes ); if( five_mins > 0 ) {