Browse Source

Merge remote-tracking branch 'origin/feature-workorder2.7' into feature-workorder2.7

combat-2
FatBoy-DOTC 7 months ago
parent
commit
4d601f13a0
  1. 2
      src/engine/gameManager/CombatManager.java

2
src/engine/gameManager/CombatManager.java

@ -245,7 +245,7 @@ public enum CombatManager {
int hitChance; int hitChance;
if (def == 0) if (def == 0)
def = 1; def = 1;
float dif = atr / def; float dif = atr * 1f / def;
if (dif <= 0.8f) if (dif <= 0.8f)
hitChance = 4; hitChance = 4;

Loading…
Cancel
Save