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.
No Mana or Health Regeneration?
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: No Mana or Health Regeneration?
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.
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.
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: No Mana or Health Regeneration?
Marzo fixed this and the latest Windows Snapshot is available.