Level Up! Reloaded

Level Up! Reloaded

26M Downloads

skill:fallprotect: Error in calculation of falling damage

kerzenhans opened this issue ยท 0 comments

commented

I think your handling of falling Damage is wrong. Verified in a testworld, a 200 block drop with skill level 2 resulted in 11 damage, should be around 160ish.
The calculation for the skill reduction should be on the damage Event like the natural armor skill.
By reducing the fallDistance every PlayerTick, the fallDistance will be hitting a limit because of a compunding effect and the terminal velocity in minecraft.