Rng..::..DiceRollMax Method

Returns the maximum value of a dice roll of (num)d(sides)

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

Syntax


public int DiceRollMax(
	int num,
	int sides
)

Parameters

num
Type: Int32
The number of dice to roll
sides
Type: Int32
The number of sides per die

Return Value