2011Scape / game

An open-source emulator that targets RuneTek-5, client revision 667 (October 4th, 2011)
http://2011scape.com
Apache License 2.0
32 stars 131 forks source link

fix: Fixed kebab heal amount #527

Closed ipkpjersi closed 1 month ago

ipkpjersi commented 4 months ago

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.

ipkpjersi commented 2 months ago

Anyone wanna take a look at this one, maybe test it out? :eyes: I think it's correct, it works as expected from my testing.