From f80ad61179dc0f840f7f38574c855827da350f15 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 23 Jan 2025 16:39:21 -0600 Subject: [PATCH] PlayerCombatStats weapon speed enchants applied separately --- src/engine/objects/PlayerCombatStats.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/engine/objects/PlayerCombatStats.java b/src/engine/objects/PlayerCombatStats.java index eada8e4c..b73ae601 100644 --- a/src/engine/objects/PlayerCombatStats.java +++ b/src/engine/objects/PlayerCombatStats.java @@ -361,7 +361,6 @@ public class PlayerCombatStats { weapon = this.owner.charItemManager.getEquipped(2); } - float weaponSpecificValues = 0.0f; if(weapon == null) { speed = 20.0f; }else{ @@ -372,7 +371,6 @@ public class PlayerCombatStats { float percent = mod.getPercentMod(); int trains = eff.getTrains(); float modValue = percent + (trains * mod.getRamp()); - weaponSpecificValues += modValue * 0.01f; speed *= 1 + (modValue * 0.01f); } } @@ -396,7 +394,6 @@ public class PlayerCombatStats { } float bonusValues = 1 + this.owner.bonuses.getFloatPercentAll(Enum.ModType.AttackDelay,Enum.SourceType.None);//1.0f; - //speed *= 1 + weaponSpecificValues; bonusValues -= stanceValue; // take away stance modifier from alac bonus values speed *= 1 + stanceValue; // apply stance bonus speed *= bonusValues; // apply alac bonuses without stance mod