logging experience level changes again
The livelog message for losing a level had an off-by-1 error, showing the level the hero ended up at rather than the level that was lost. There was a message for regaining a previously lost level when rank title stayed the same but no such message if the title changed (the achievement of gaining a particular title only occurs once). Say "regained" rather than "gained" when gaining a previously lost level. (Blessed potions of full healing regain levels but can also reduce u.ulevelmax so a different way to remember peak experience level has been added.) Report level change due to polymorphing into new man/woman/elf/&c. I hadn't realized that that hasn't been recording achievement for new rank when applicable and decided to leave things that way. Report gender change when putting on an amulet of change or becoming a new man/&c unless hero is polymorphed at the time or experience level is also changing.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
* Incrementing EDITLEVEL can be used to force invalidation of old bones
|
||||
* and save files.
|
||||
*/
|
||||
#define EDITLEVEL 48
|
||||
#define EDITLEVEL 49
|
||||
|
||||
/*
|
||||
* Development status possibilities.
|
||||
|
||||
Reference in New Issue
Block a user