Attack frequency on 1.10.0
KrusteF opened this issue ยท 3 comments
-
Server Version: Paper 1.12.2
-
OldCombatMechanics version: 1.10.0
-
Server Log File: https://pastebin.com/dQ2Cp2jX
-
OldCombatMechanics config file: https://pastebin.com/DTy63wa6
Problem Description
For the past 2 months I've been trying to fix a bug (thinking it's from my plugin), but today i noticed when i change the version to 1.9.0 (OCM) that this bugs gets fixed:
The attack frequency does not work properly on 1.10.0 (OCM), meaning the player / mob can hit the player 10+ times per second, video:
https://youtu.be/kDEMSaP4HFs
You can clearly see that when the version is 1.10.0 the SLIME is attacking more then 1 or 2 times per second, but when the version is 1.9.0 he barely attacks
To Reproduce
Steps to reproduce the behavior:
- Install 1.10.0 (OCM) version
- Try getting attacked by a mob
- Install 1.9.0 (OCM) version
- Try getting attacked by a mob again
Expected Behaviour
As shown in the video, expected behaviour is to not being attacked 10+ times per second
Actual Behaviour
Every mob attacks more then once per second.
@HamtaBot @KrusteF please try the new test builds, where I have rewritten most of the calculations that deal with damage.
Closing due to rewrite of all damage calculation code. Please contribute debug logs to issue #636 if you think the problem is still present.