From 961e2915b4ef4d078be0eb544a5ced945d7bde30 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 20 Jan 2025 17:43:06 -0600 Subject: [PATCH] attack speed --- src/engine/objects/PlayerCharacter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 1f7ad191..f6bbb6fa 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -3969,7 +3969,8 @@ public class PlayerCharacter extends AbstractCharacter { speed = weaponBase.getSpeed(); else speed = 20f; //unarmed attack speed - if (weapon != null) { + + //if (weapon != null) { //speed *= (1 + this.bonuses.getFloatPercentAll(ModType.WeaponSpeed, SourceType.None)); for(Effect eff : this.effects.values()){ for(AbstractEffectModifier mod : eff.getEffectModifiers()){ @@ -3979,7 +3980,7 @@ public class PlayerCharacter extends AbstractCharacter { } } } - } + //} //speed *= (1 + this.bonuses.getFloatPercentAll(ModType.AttackDelay, SourceType.None)); for(Effect eff : this.effects.values()){