Example #1
0
 public static float TargetCritChance(Character character, Stats stats)
 {
     return(Math.Max(0.0f, ((5.0f + Lookup.LevelModifier(character)) / 100.0f) - AvoidanceChance(character, stats, HitResult.Crit)));
 }