diff --git a/src/engine/objects/PlayerCombatStats.java b/src/engine/objects/PlayerCombatStats.java index fbce4eb2..a1ff45ee 100644 --- a/src/engine/objects/PlayerCombatStats.java +++ b/src/engine/objects/PlayerCombatStats.java @@ -270,6 +270,12 @@ public class PlayerCombatStats { minDMG *= 1 + this.owner.bonuses.getFloatPercentAll(Enum.ModType.MeleeDamageModifier, Enum.SourceType.None); } + if(this.owner.charItemManager != null){ + if(this.owner.charItemManager.getEquipped(1) != null && this.owner.charItemManager.getEquipped(2) != null && !this.owner.charItemManager.getEquipped(2).getItemBase().isShield()){ + minDMG *= 0.7f; + } + } + int roundedMin = (int)Math.round(minDMG); if (mainHand) { @@ -341,6 +347,12 @@ public class PlayerCombatStats { maxDMG *= 1 + this.owner.bonuses.getFloatPercentAll(Enum.ModType.MeleeDamageModifier, Enum.SourceType.None); } + if(this.owner.charItemManager != null){ + if(this.owner.charItemManager.getEquipped(1) != null && this.owner.charItemManager.getEquipped(2) != null && !this.owner.charItemManager.getEquipped(2).getItemBase().isShield()){ + maxDMG *= 0.7f; + } + } + int roundedMax = (int)Math.round(maxDMG); if(mainHand){