using System; namespace ProjectI.Combat { public static class PrecisionDamageRules { public static float Multiplier(float headshotMultiplier,bool scannedWeakPoint) { if(float.IsNaN(headshotMultiplier)||float.IsInfinity(headshotMultiplier)||headshotMultiplier<1)return 1; return (float)Math.Min(float.MaxValue,scannedWeakPoint?3*(double)headshotMultiplier:headshotMultiplier); } } }