Deprecated: Optional parameter $input declared before required parameter $form_state is implicitly treated as a required parameter in /home/dh_gapiai/asifproductions.com/sites/all/modules/references/node_reference/node_reference.module on line 633
Random Die Roller | As If Productions

Random Die Roller

dieroll(XdYmodZ)
Need a PHP function for rolling RPG dice? Yeah, I thought you did.


INSTRUCTIONS:

Type any die roll in standard RPG notation
such as 2d10, 3d6+30, 2d6-2, 1d10*3, or 2d100/2

SPECIAL OPERATORS:

The h (highest) operator displays the highest rolls in bold/red
i.e.: 4d6h3 means \'roll 4 d6s and show me the highest 3\'

The b (burning wheel) operator displays successes (4+) in bold/red
i.e.: 4d6b means \'roll 4 d6s and count the number of successes\'

The o (open-ended) operator keeps rolling and adding on crit success
i.e.: 1d100o means \'roll 1d100 open-ended\'

The f die generates results for FATE/FUDGE dice
i.e.: 4df means \'roll 4 FATE dice\'

You are welcome to download this PHP script and include it within your projects.

Department:
Project Types:
Personnel:
Technologies:

Tip Jar

Like it? Find it useful? Consider dropping me a tip. Every bit helps!
https://paypal.me/AsIfProductions