Fix for weaponspeed effect modifier.
This commit is contained in:
1 parent
dfd6beb988
commit
a35c5ef3cc
2 files changed
+14
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user