diff --git a/src/engine/objects/PlayerCombatStats.java b/src/engine/objects/PlayerCombatStats.java index c83bd6af..bf67777c 100644 --- a/src/engine/objects/PlayerCombatStats.java +++ b/src/engine/objects/PlayerCombatStats.java @@ -290,12 +290,15 @@ public class PlayerCombatStats { //Weapon Max DMG = BaseDMG * (0.0124*Primary Stat + 0.118*(Primary Stat -0.75)^0.5 // + 0.0022*Secondary Stat + 0.028*(Secondary Stat-0.75)^0.5 + 0.0075*(Weapon Skill + Weapon Mastery)) Item weapon; + float specialDex = this.owner.statDexBase; + specialDex += this.owner.bonuses.getFloat(Enum.ModType.Attr, Enum.SourceType.Dexterity); double baseDMG = 5; int primaryStat = getDexAfterPenalty(this.owner); int secondaryStat = this.owner.statStrCurrent; double weaponSkill = 5; double weaponMastery = 5; + if (mainHand) { weapon = this.owner.charItemManager.getEquipped(1); } else {