Qdr /

Original WoD

Qdr.Owod History

Show minor edits - Show changes to output

Added lines 1-42:
(:title Original WoD:)
(:category: Function :)
(:Summary: Makes a check using the '''Original World of Darkness''' rules. :)
(:format: @@owod(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 '''Original World of Darkness''' rules.

! Description
Makes a check using the '''Original 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 is rolled again (rolls of 1 on these rerolls do not count).

Any number of 1 cancels a single success.

If the number of 1 is greater than the number of successes, the number of successes is reduced to zero. It's a failed roll.

If the number of successes is 0 and at least a 1 was rolled, the outcome is a '''botch'''.

! Examples
Some results generated by @@owod(5, 8)@@:\\
[3,9!,4,4,9!] = 2 (each "!" denotes a success)\\
[9!,2,13!,5,3] = 2 (values greater than 10 are re-rolled dice)\\
[3,9!,5,1,8!≡C] = 1 (the "C" indicate a cancelled success)\\
[1,8!,6,5,1≡F] = 0 (the "F" indicate a failed roll)\\
[2,1,5,5,6≡B] = -1 (the "B" indicate a botch)\\

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