Makes a check using the Original World of Darkness rules.
Usage
- Format
-
owod(poolSize, target)
- 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 1.2.0