Qdr /

New WoD

Qdr.Nwod History

Hide minor edits - Show changes to output

Added lines 1-34:
(:title New WoD:)
(:category: Function :)
(:Summary: Makes a check using the '''New World of Darkness''' rules. :)
(:format: @@nwod(poolSize, target)@@ :)
(:sinceVersion: 1.2.0 :)
(:lastVersion: 1.2.0 :)


{$:Summary}

! Usage
:Format: {$:format}

:Parameters: \
@@poolSize@@: Number of dice to roll.\\
@@target@@: Value to reach with a dice roll to obtain a success.\\

:Returns: The number of successes, according to the '''New World of Darkness''' rules.

! Description
Makes a check using the '''New World of Darkness''' rules.

A d10 is rolled ''poolSize'' times. Each time the result is greater or equal to ''target'' a success is obtained.

A roll of 10 explodes, namely the die is rolled again and again as long as the result is a 10. To each 10 obviously corresponds an extra success.

! Examples
Some results generated by @@nwod(5, 8)@@:\\
[3,9!,4,4,9!] = 2 (each "!" denotes a success)\\
[5,16!,9!,6,28!!!] = 5 (values greater than 10 are exploded dice)\\
[6,4,1,6,5] = 0\\

! History
Supported since Quick Dice Roller {$:sinceVersion}
Page last modified on October 23, 2014, at 08:32 PM