Page 1 of 1

No Mana or Health Regeneration?

Posted: Thu Jan 10, 2013 3:51 pm
by Jaesun
It seems there is no longer any Health or Mana regeneration, in the latest 1.5x snapshot (and playing with the Keyriing mod if that matters).

Even after 1 game hour, the Avatar will not gain any health or mana back. IIRC in the original, you gain 1 health and mana per every 1 game hour.

Re: No Mana or Health Regeneration?

Posted: Thu Jan 10, 2013 5:03 pm
by Malignant Manor
It was broken by revision 7267 when Marzo eliminated a warning in mend_npcs. I'll try and catch him later and see what he wants to do. Similar warning fixes may also ignore the Avatar.

Mana regeneration is better than 1. Exult uses 1 + rand()%(maxmana/3). I know I just gained 5 mana points in the original game and his intelligence was 18 so this is probably correct. It likey uses the same formula as the usecode sleep.


Edit: I cannot add a bug tracker because Sourceforge set it to read only for ~2 hours. I'm leaving it here for later.

as_npc() causes issues (warning fix regression)

Revision 7267 causes mend_wounds to ignore the Avatar (because(*it)->as_npc() equals zero for the Avatar?). Other uses of as_npc() may cause issues.

Re: No Mana or Health Regeneration?

Posted: Thu Jan 10, 2013 10:56 pm
by Malignant Manor
Marzo fixed this and the latest Windows Snapshot is available.