public static bool HitSuccess(CombatUnit caster, CombatUnit target, int baseHit) { int hit = UnityEngine.Random.Range(1, 100); Side side = CombatUnit.actionAngle(caster, target); int hitTarget = target.EvadeRate(side, baseHit); return(hit > hitTarget); }