PlayerCombatStats weapon speed enchants applied separately

This commit is contained in:
2025-01-23 16:38:27 -06:00
parent 44197fd83c
commit 10ccfb1086
+2 -1
View File
@@ -373,6 +373,7 @@ public class PlayerCombatStats {
int trains = eff.getTrains();
float modValue = percent + (trains * mod.getRamp());
weaponSpecificValues += modValue * 0.01f;
speed *= 1 + (modValue * 0.01f);
}
}
}
@@ -395,7 +396,7 @@ public class PlayerCombatStats {
}
float bonusValues = 1 + this.owner.bonuses.getFloatPercentAll(Enum.ModType.AttackDelay,Enum.SourceType.None);//1.0f;
speed *= 1 + weaponSpecificValues;
//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