Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old July 1, 2010, 10:54   #1
Twilight
Apprentice
 
Twilight's Avatar
 
Join Date: Jan 2009
Location: Sweden
Posts: 58
Twilight is on a distinguished road
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.
__________________
It's better to burn out than to fade away!

Last edited by Twilight; July 1, 2010 at 11:00.
Twilight is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Player movement bug while targeting a spell - 3.0.9b JonnyOThan Development 1 December 23, 2009 19:27
feature request: add player history to char dump bebo Vanilla 4 February 26, 2009 19:11
Small bug in angband-3.0.9b-win.zip bdo Vanilla 1 May 2, 2008 19:34
Small Levels bonzo Variants 7 February 29, 2008 20:50
Drained stats, how to restore? Zambaku Vanilla 2 January 3, 2008 12:22


All times are GMT +1. The time now is 01:56.


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