forked from MagicBane/Server
mob baseline stats
This commit is contained in:
@@ -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