0.10.11 - HealAttribute() can wrap around healing value [RESOLVED 0.10.14]

Posts: 2
Joined: Tue Sep 24, 2019 7:49 am

0.10.11 - HealAttribute() can wrap around healing value [RESOLVED 0.10.14]

Post by Tarhsid »

If I make a spell that heals more than the attribute damage, it wraps around to the beginning. In this save, the character has 24 points of strength out of 90 for 66 points of damage. He has a spell that heals exactly 67 points of strength. After casting the spell he has 25 points. It seems to wrap around this way consistently. I wasn't able to reproduce the bug with damaged speed or agility.

http://s000.tinyupload.com/?file_id=138 ... 4090433281

User avatar
Posts: 5748
Joined: Sun Mar 22, 2015 1:51 am

Re: Heal Strength spell is bugged

Post by Interkarma »

Thank you for excellent report and save to reproduce. There is indeed a bug here. It won't just affect Heal Strength either, as all of the HealAttribute() effects use the same code, only the attribute index changes.

I'll move this to bug reports and fix up when I can. I've attached a copy of save to this reply in case original link is lost.
(390 KiB) Downloaded 10 times