Fix for weaponspeed effect modifier.

This commit is contained in:
2022-12-30 07:39:23 -05:00
parent dfd6beb988
commit a35c5ef3cc
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -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;