Tower of Games Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Home    Help    Search    Calendar    Login    Register  
*
News : The Tower of Games forums are up and running.  We are working to add useful threads for your use.  The calendar is a great place to find out what events are scheduled.  If you encounter any issues please email contactus@towerofgames.com September 06, 2010, 10:44:32 pm
+  Tower of Games Forum
|-+  Tower of Games - General
| |-+  News and Updates
| | |-+  Dice Roller added to the forums!
Advanced search
  « previous next »
Pages 1 Go Down
Author
Sticky Topic Topic: Dice Roller added to the forums!  (Read 32 times)
« on: July 07, 2010, 11:12:32 pm »
mfrantz
Chief Experience Officer
Administrator
Master of All He Sees and Purveys
*****
Posts: 1183

View Profile WWW

This mod allows users to roll dice. They can use the preview function to preview dice rolls to make sure they have it right for what they want, but once they press Post, the dice rolls are embedded in the post, meaning that the only way they can change is if the post is edited, but a warning is issued if that is attempted.

It starts from a [roll] tag, and outputs a
 tag (implemented just for the mod) - trying to use the blockquote tag outside of [roll] circumstances (such as quoting the post, or better, editing the post) generates a visible warning.

There are a variety of options you can have inside the roll tag:

1d6 : 5,  5
- rolls 1 6-sided dice.
Might result in:
Quote
Rolled 1d6 : 2, total 2

2d12+5 : 2, 3 + 5,  10
- roll 2 12-sided dice and add 5 to the result
Might result in:
Quote
Rolled 2d12+5 : 6, 11 + 5, total 22

2d20^10 : 18, 18,  36
- roll 2 20-sided dice, re-rolling any result necessary so that the dice rolls are greater than 10.
Quote
Rolled 2d20^10 :     17,     14, total 31

2d20v10 : 20 3, 18 15 8,  11
- roll 2 20-sided dice, re-rolling any result necessary so that the dice rolls are less than 10.
Quote
Rolled 2d20v10 :  3, 3, total 6

2d20<10 : 9, 8,  17
- roll 2 20-sided dice, discarding any result where the roll was not less than 10.
Quote
Rolled 2d20<10 : 4, , total 4

2d20>10 : 5, 8,  0
- roll 2 20-sided dice, discarding any result where the roll was not greater than 10.
Quote
Rolled 2d20>10 : ,

Normally it will add the word 'Rolled' in front - you can customise this. For example, a spell that does some serious damage in a game:
Freezing 1d10 : 10,  10
Fire 1d20 : 16,  16

Quote
Freezing 1d10 : 1, total 1
Fire 1d20 : 2, total 2

You can also nest the requirements, with the proviso of stating the things as they are in order here.
Uberdamage 15d100+10^10v90<80>20 : 96 60, 56, 30, 42, 28, 47, 33, 98 27, 81, 29, 3 91 36, 2 8 73, 1 24, 86, 74 + 10,  569
- 15 100-sided dice, adding 10 to the result, rerolling anything 10 or less, rerolling anything 90 or higher, and if after that, you have values 20 or less, or 80 or higher, they get dropped.
Quote
Uberdamage 15d100+10^10v90<80>20 : 82, 7 61, 3 36, 59, 30, 86, 14, 42, 70, 22, 99 58, 100 73, 46, 93 1 91 42, 12 + 10, total 549

Lastly you can also have an iterator at the end:
2d6 : 1, 4,  5
 2d6 : 6, 2,  8
 2d6 : 3, 6,  9
- roll 2d6 3 times and display the results overall
Quote
Rolled 2d6 : 6, 3, total 9
Rolled 2d6 : 1, 4, total 5
Rolled 2d6 : 1, 5, total 6

Logged

Michael R. Frantz
-------------------------------------------------
Chief Experience Officer (XO)
Event Coordinator
Airsoft Systems Technician
Malifaux and Infinity Wanna-Be

michael.frantz@towerofgames.com
"Accept no substitutes - the best in Gaming Experience..."
 
Print  Pages 1 Go Up
« previous next »
Jump to: