Browse Source

attack speed

lakebane-dex-penalty
FatBoy-DOTC 1 week ago
parent
commit
961e2915b4
  1. 5
      src/engine/objects/PlayerCharacter.java

5
src/engine/objects/PlayerCharacter.java

@ -3969,7 +3969,8 @@ public class PlayerCharacter extends AbstractCharacter { @@ -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 { @@ -3979,7 +3980,7 @@ public class PlayerCharacter extends AbstractCharacter {
}
}
}
}
//}
//speed *= (1 + this.bonuses.getFloatPercentAll(ModType.AttackDelay, SourceType.None));
for(Effect eff : this.effects.values()){

Loading…
Cancel
Save