Kebabs were only healing 10% of what they should be. At 190 constitution, they would only heal 1 instead of 10 - this is of course very obviously incorrect. This fixes that issue since the Player's max constitution level is already 10% of their total constitution. I have tested and double checked that it now heals the proper amount.
What has been done?
I fixed a bug in some code I wrote. Kebabs now heal the proper amount.
Has your code been documented?
The existing code and the bug fix are both fully commented yes.
Kebabs were only healing 10% of what they should be. At 190 constitution, they would only heal 1 instead of 10 - this is of course very obviously incorrect. This fixes that issue since the Player's max constitution level is already 10% of their total constitution. I have tested and double checked that it now heals the proper amount.
What has been done?
I fixed a bug in some code I wrote. Kebabs now heal the proper amount.
Has your code been documented?
The existing code and the bug fix are both fully commented yes.