Float fix

This commit is contained in:
MagicBot committed 2024-04-21 13:21:00 -04:00
1 parent 0286b63a8e
commit e00871324e
1 file changed
+1 -1
+1 -1
View File
@@ -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;