forked from MagicBane/Server
Merge remote-tracking branch 'origin/feature-workorder2.7' into feature-workorder2.7
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user