forgottenserver
forgottenserver copied to clipboard
Item boostpercenthealing not working
Before creating an issue, please ensure:
- [x] This is a bug in the software that resides in this repository, and not a support matter (use https://otland.net/forums/support.16/ for support)
- [x] This issue is reproducible without changes to the C++ code in this repository
Steps to reproduce (include any configuration/script required to reproduce)
thank you for your great work , i really appreciate it .
some of the attributes that wasn't working works fine at the moment like (boostpercentdamage,boostpercentphysical) but
im trying to add healing percentage to an item like
<attribute key="boostpercenthealing" value="75" />
but it doesn't work at all , so if you can look again at it that would be great.
Originally posted by @Sansero1 in https://github.com/otland/forgottenserver/issues/2807#issuecomment-1121364592
Why it doesn't work:
blockhit is not executed for COMBAT_HEALING cause you cant block healing this is why it doesnt work
How to fix:
execute blockhit for healing or add additional handler for healing boost