The charge attack of spears sometimes deals only does knockback with no damage, despite the charge attack’s minimum speed threshhold for dealing knockback (5.1 blocks/second) behind higher than the minimum threshold for dealing damage (4.6 blocks/second).
Expected Result: Charge attacks always deal damage when they connect with the required speed threshhold (4.6 blocks/second)
Observed Result: Charge attacks occasionally fail to deal damage, but still deal knockback, despite the aformentioned speed thresholds being designed to make this an impossibility
CODE ANALYSIS:
This bug happens because the conditions for dealing damage uses relative speed, while the conditions for dealing knockback use the attacker’s speed.
Attachments
Comments 0
No comments.