getAttackSpeed

fun getAttackSpeed(original: Double): Double

Get the attack speed of the determined weapon, or return original if no weapon is selected or if ChangeOnAction does not contain ChangeOnAction.ON_ATTACK.

When we switch our item on the same tick as we attack, the cooldown progress is not updated.