diff --git a/Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs b/Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs index 05e4cf60..8e9c1cca 100644 --- a/Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs +++ b/Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs @@ -80,20 +80,6 @@ public class RandomUtil(ISptLogger logger, ICloner cloner) return Math.Round(num, toFixed); } - /// - /// Calculates the percentage of a given number and returns the result. - /// - /// The percentage to calculate. - /// The number to calculate the percentage of. - /// The number of decimal places to round the result to (default is 2). - /// The calculated percentage of the given number, rounded to the specified number of decimal places. - public virtual int GetPercentOfValue(double percent, int number, int toFixed = 2) - { - var num = percent * (number / 100); - - return (int)Math.Round(num, toFixed); - } - /// /// Calculates the percentage of a given number and returns the result. ///