0.1.0 • Published 12 years ago

WoD-Dice v0.1.0

Weekly downloads
9
License
-
Repository
github
Last release
12 years ago

Usage

pool = new Pool(7); // create pool with 7 dice
pool = new Pool(); // create empty pool
pool.isWeak(); // Set pool as weak. 10's do not reroll and 1's cancel successes
pool.reroll(8); // Set pool to reroll 8 and above
successes = pool.roll(); // Roll pool and return successes

// COMBO USE
successes = new Pool().addDice(8).penalty(2).isWeak().reroll(9).roll();

LICENSE

        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                Version 2, December 2004

Copyright (C) 2012 Luiz Sócrate luiz@socrate.com.br

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.
0.1.0

12 years ago

0.0.3

13 years ago

0.0.2

13 years ago

0.0.1

13 years ago