16 lines
466 B
C#
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();
|
|
}
|
|
}
|