@ -3885,7 +3885,7 @@ public void dismissNecroPets() {
else
speed = 20f; //unarmed attack speed
if (weapon != null)
speed *= (1 + weapon.getBonusPercent(ModType.WeaponSpeed, SourceType.None));
speed *= (1 + this.bonuses.getFloatPercentAll(ModType.WeaponSpeed, SourceType.None));
speed *= (1 + this.bonuses.getFloatPercentAll(ModType.AttackDelay, SourceType.None));
if (speed < 10)
speed = 10;
@ -30,7 +30,19 @@ public class WeaponSpeedEffectModifier extends AbstractEffectModifier {
}
@Override
public void applyBonus(AbstractCharacter ac, int trains) {}
public void applyBonus(AbstractCharacter ac, int trains) {
Float amount = 0f;
if (this.useRampAdd)
amount = this.percentMod + (this.ramp * trains);
amount = this.percentMod * (1 + (this.ramp * trains));
amount = amount/100;
ac.getBonuses().addFloat(this, amount);
public void applyBonus(Item item, int trains) {