Tetra

Tetra

12M Downloads

[Bug] Weapon Attack Speed Not Being Calculated Correctly

MylesJacobSwie opened this issue ยท 0 comments

commented

Observed behaviour

When changing the Speed stat of an item, you are able to mouse over it and see the time in seconds between each swing. When at very low numbers, such as 0.2 Speed, it states the weapon should take only 1.67 seconds between each swing. Instead, it is actually using the raw stat "Speed" for the swings per second.

Because of this, at 0.2 Speed, despite stating "1.67 seconds between swings", it takes actually 5 seconds between each speed, more closely relating to the expected 0.2 swings per second.

Expected behaviour

Expected the weapon's swing speed to be relatable to that of the "seconds between swings" stat under Speed category.

Steps to reproduce

Create an Iron Axe.
Apply a Leather Binding.
Make the Head (right) into another Axe Head (Iron).
Mouse over "Speed" stat and read "seconds between swings"
Swing weapon.
Observe speed between swings.

Crashlog

No response

Tetra version

5.1.0

mutil/mGui version

5.1.0

Forge version

43.2.0

Other mods

No response