dungeons-of-moria / umoria

Moria: a roguelike Dungeon Crawler game | Umoria Source Code
https://umoria.org
GNU General Public License v3.0
341 stars 71 forks source link

Monsters healing above maximum health #61

Open supersnail12345 opened 2 years ago

supersnail12345 commented 2 years ago

Looking at the drain mana functionality around line 812 of monster.cpp, it appears there is no check to prevent a monster from going above maximum health with this spell, at least as far as I can see? I am unsure of whether this is intended behavior, but felt it was worth opening an issue in case it was not since this seems potentially unintuitive.

(Though amusing I must admit.)

mrcook commented 2 years ago

Thanks for the info on this @supersnail12345. I just took a quick a look and yeah, I see what you mean. Most likely this is how it was in the original 5.6 code, but for sure I'll take a look and double check.