mob baseline stats
This commit is contained in:
1 parent
25fed51523
commit
08060cf06f
4 files changed
+35
-42
No files matched your search
@@ -139,6 +139,8 @@ public enum CombatManager {
|
||||
//calculate hit chance based off ATR and DEF
|
||||
|
||||
int hitChance;
|
||||
if(def == 0)
|
||||
def = 1;
|
||||
float dif = atr / def;
|
||||
|
||||
if (dif <= 0.8f)
|
||||
|
||||
Reference in new issue
Block a user