Angband Forums

Angband Forums (
-   Development (
-   -   Small bug with Player History and drained levels. (

Twilight July 1, 2010 11:54

Small bug with Player History and drained levels.
I noticed this when gaining a maximum level while drained.

When you're drained your max xp goes up at a rate of 10%. If you gain a max-level while drained this goes unnoticed in player history. Looking at the code there's a check to see if level > max level when the history entry is made, but the max-level is already one (or more) higher due to the above, so it's not mentioned.

Simple solution is to do the history entry when a new max-level is reached, but that's not really when you want it. At the time when a player really reaches the level for the first time is more whats wanted, but then you have to do some more work with the code.

Back to my game!

Edit: Made a ticket as well.

All times are GMT +1. The time now is 10:31.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.