diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/ftbsc/bscv/tools/Inventory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/bscv/tools/Inventory.java b/src/main/java/ftbsc/bscv/tools/Inventory.java index b47950f..e63d0d1 100644 --- a/src/main/java/ftbsc/bscv/tools/Inventory.java +++ b/src/main/java/ftbsc/bscv/tools/Inventory.java @@ -31,6 +31,6 @@ public class Inventory implements ICommons { .get(Attributes.ATTACK_SPEED); if (speed_attrs.isEmpty()) return damage; double speed = Math.abs(speed_attrs.iterator().next().getAmount()); - return damage * speed; + return damage / (1. + speed); } } |