Browse Source

PlayerCombatStats damage calc final

lakebane-dex-penalty
FatBoy-DOTC 1 week ago
parent
commit
ecee2f2e8c
  1. 6
      src/engine/objects/PlayerCombatStats.java

6
src/engine/objects/PlayerCombatStats.java

@ -178,8 +178,8 @@ public class PlayerCombatStats { @@ -178,8 +178,8 @@ public class PlayerCombatStats {
double baseDMG = 6;
int primaryStat = this.owner.statDexCurrent;
int secondaryStat = this.owner.statStrCurrent;
double weaponSkill = 0;
double weaponMastery = 0;
double weaponSkill = 5;
double weaponMastery = 5;
if (mainHand) {
weapon = this.owner.charItemManager.getEquipped(1);
@ -218,7 +218,7 @@ public class PlayerCombatStats { @@ -218,7 +218,7 @@ public class PlayerCombatStats {
if(this.owner.bonuses != null){
maxDMG += this.owner.bonuses.getFloat(Enum.ModType.MaxDamage, Enum.SourceType.None);
maxDMG *= 1+ this.owner.bonuses.getFloatPercentAll(Enum.ModType.MeleeDamageModifier, Enum.SourceType.None);
maxDMG *= 1 + this.owner.bonuses.getFloatPercentAll(Enum.ModType.MeleeDamageModifier, Enum.SourceType.None);
}
if(mainHand){

Loading…
Cancel
Save