WoD-Dice

White-Wolf's Storytelling dice roller.

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();
        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.