diff --git a/src/engine/gameManager/CombatManager.java b/src/engine/gameManager/CombatManager.java index a932179d..09f885a9 100644 --- a/src/engine/gameManager/CombatManager.java +++ b/src/engine/gameManager/CombatManager.java @@ -245,7 +245,7 @@ public enum CombatManager { int hitChance; if (def == 0) def = 1; - float dif = atr / def; + float dif = atr * 1f / def; if (dif <= 0.8f) hitChance = 4;