Skip to content

Commit

Permalink
Restore penalty to reading already-read books. (CleverRaven#35845)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade authored and I-am-Erk committed Dec 6, 2019
1 parent 8650ef0 commit 10b6b77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5635,6 +5635,10 @@ int player::book_fun_for( const item &book, const player &p ) const
}
}

if( fun_bonus > 1 && book.get_chapters() > 0 && book.get_remaining_chapters( p ) == 0 ) {
fun_bonus /= 2;
}

return fun_bonus;
}

Expand Down

0 comments on commit 10b6b77

Please sign in to comment.