Rng..::..PercentileRoll Method

Returns a die roll based on a percentage change

Namespace:  AngbandOS.Core
Assembly:  AngbandOS.Core (in AngbandOS.Core.dll)

Syntax


public bool PercentileRoll(
	int chance
)

Parameters

chance
Type: Int32
The chance of success (inclusive)

Return Value

Whether the roll succeeded