Browse Source

PlayerCombatStats modified skills

lakebane-dex-penalty
FatBoy-DOTC 7 days ago
parent
commit
4c21159553
  1. 2
      src/engine/objects/PlayerCombatStats.java

2
src/engine/objects/PlayerCombatStats.java

@ -570,7 +570,7 @@ public class PlayerCombatStats {
this.defense = Math.round(defense); this.defense = Math.round(defense);
} }
public static float calculateModifiedSkill(String skillName, PlayerCharacter pc, int baseSkill) { public static float calculateModifiedSkill(String skillName, PlayerCharacter pc) {
// Define the contribution percentages for intelligence and strength // Define the contribution percentages for intelligence and strength
CharacterSkill skill = null; CharacterSkill skill = null;
if (pc.skills.containsKey(skillName)) { if (pc.skills.containsKey(skillName)) {

Loading…
Cancel
Save