Dark-elf Thaumaturgist, heavily poisoned by a Wereworm in the Sandworm lair. On 1HP, drank a {terrible} potion, and it's a !oSaltWater. Usual paralysis and "weak" hunger state, and I die.

The tombstone screen and score record both show death by starvation, not poison as I would have done in two turns.

MassimilianoMarangio: Potions of Salt Water remove poisons, but paralyse you and set the hunger status to "weak". This status can deal some low starvation damage after one round. The question is if a paralysed character should consume food (and take starvation damage) or not.

KalonKalon: I understand that. I have since tried to duplicate the situation, this time with more HP (25). I got the same result. Death by starvation, not poison. I think what is happening is that paralysis due to "vomiting" is happening BEFORE poison is purged. This is fine, as long as that is the intended effect. If not, it is probably as easily solved as simply changing the order to the potion effects to purge poison first, THEN paralyse you.

MassimilianoMarangio: The order is:

(void)set_food(PY_FOOD_STARVE - 1);
(void)set_poisoned(0);
(void)set_paralyzed(p_ptr->paralyzed + 4);

KalonKalon: Ok, that seems to be right (having never read ToME code) but why then do I die by starvation? I've never had 25HP of starvation damage in the first turn from a !oSaltWater before...?

MassimilianoMarangio: The starvation damage depends on the difference between the starvation threshold and the actual food value (i.e. on the food consumed while paralysed). If the consumed food per round is low (e.g. with Speed 0) the damage is also low. If you are regenerating, invisible and running at +40 Speed you can even lose 40 HP.

Moving to resolved.

BugReport113 (last edited 2004-10-04 08:18:02 by MassimilianoMarangio)