Files
SPT-Server-Build/Core/Helpers/ProbabilityHelper.cs
T
2025-01-08 23:32:58 +00:00

16 lines
466 B
C#

namespace Core.Helpers;
public class ProbabilityHelper
{
/// <summary>
/// Chance to roll a number out of 100
/// </summary>
/// <param name="chance">Percentage chance roll should success</param>
/// <param name="scale">scale of chance to allow support of numbers > 1-100</param>
/// <returns>true if success</returns>
public bool RollChance(double chance, double scale = 1)
{
throw new NotImplementedException();
}
}