D100

From NWN Lexicon



Contents

[edit] d100(int)

Rolls a 100-sided die.

int d100(
    int nNumDice = 1
);

[edit] Parameters

nNumDice

The number of dice to roll. (Default: 1)


[edit] Description

Returns the total from rolling nNumDice x d100 dice. This is commonly referred to as percentile dice.
If nNumDice is less than 1, then 1 is used.



[edit] Remarks

A d100 (one-hundred sided die, or two ten sided dice rolled together) has a 1% probability of turning up any one number.


[edit] Version

1.22

[edit] See Also

functions: 

Random



 author: Charles Feduke
 

Personal tools
Categories