Files
SPT-Server-Build/Core/Helpers/ProbabilityHelper.cs
T
2025-01-11 21:01:32 +00:00

19 lines
504 B
C#

using Core.Annotations;
namespace Core.Helpers;
[Injectable]
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();
}
}