Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 15, 2011, 16:19   #1
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,891
PowerWyrm is on a distinguished road
Stat/exp increase doesn't update current HP/SP

This sounds like a bug to me...

For example, let's say a character is fully healed at 100/100 HPs. Then I find a ring of constitution +3 and equip it. Now the character has 100/120HPs, as if it had been injured in the process...

Same thing happens when you increase your INT/WIS for SP, or when you gain a level for both HP and SP.

When did this behavior change? And why? I remember clearly that you used to have HP/SP adjusted when you raised INT/WIS/CON or gained a level before...
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old February 15, 2011, 16:24   #2
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,024
Derakon is on a distinguished road
Your memories must be of a variant, because Vanilla has always been like this. I'm not saying it's right, might you. It would be straightforward to update your current HP/SP so that the ratio of current:max was maintained.
Derakon is offline   Reply With Quote
Old February 15, 2011, 16:39   #3
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,023
fizzix is on a distinguished road
Quote:
Originally Posted by Derakon View Post
Your memories must be of a variant, because Vanilla has always been like this. I'm not saying it's right, might you. It would be straightforward to update your current HP/SP so that the ratio of current:max was maintained.
I love that moment of fear when you kill something OoD clevel 1 and all the sudden you get a low hitpoint warning because your HP tripled.
fizzix is offline   Reply With Quote
Old February 15, 2011, 17:04   #4
Raxmei
Apprentice
 
Join Date: Feb 2011
Posts: 94
Raxmei is on a distinguished road
Angband's been like that for as long as I can remember. Adom does increase currrent HP when you level. I can't count the number of times levelling up has saved the life of a character in a tight spot in that game. If Angband did change that would reduce the annoyance factor of using certain swap equipment but that's about all that I'd really notice.
Raxmei is offline   Reply With Quote
Old February 15, 2011, 18:13   #5
camlost
Sangband 1.x Maintainer
 
camlost's Avatar
 
Join Date: Apr 2007
Posts: 523
camlost is on a distinguished road
Sangband scales HP/SP now. But it's not standard Angband practice.
__________________
a chunk of Bronze {These look tastier than they are. !E}
3 blank Parchments (Vellum) {No french novels please.}
camlost is offline   Reply With Quote
Old February 16, 2011, 12:45   #6
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,891
PowerWyrm is on a distinguished road
Alright... diving into the source, I found traces of code dealing with maintaining current HP/max HP ratio (and current SP/max SP ratio). The system was changed... in Angband 2.8.1! From the change list:

Quote:
•The player's current mana/hitpoints are no longer adjusted when the maximum mana/hitpoints change, except to enforce maximum limits. Among other things, gaining a level no longer raises the player's current mana/hitpoints immediately. This prevents some bizarre implications of the old adjustment semantics
I guess it was easier to remove the feature than to fix it...
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


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
Most current version? ZenDragon Vanilla 8 January 20, 2010 11:34
using scrolls of increase to hit to uncurse Calris Greyhame Vanilla 0 April 30, 2009 13:29
Suggestion : Make exp penalty hurt (but not too much ;-) PaulBlay Vanilla 14 April 7, 2009 03:24
using replicating critters to increase level fast Greyhame Vanilla 6 January 23, 2009 03:21
Exp to level ratio/formula Jude Vanilla 3 September 18, 2008 05:45


All times are GMT +1. The time now is 02:53.


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