public static MinDamage ( List |
||
damageTaken | List |
|
return | float |
public static float MinDamage(List<float> damageTaken)
{
float smallest = float.MaxValue;
foreach (float f in damageTaken)
if (f < smallest)
smallest = f;
return smallest - (smallest / damageTaken.Count) + 1;
}