News:

NEW CT AFFILIATED SITE!
We have started a Star Wars: The Old Republic guild and invite all CT members to join and prepare for the release next year.  http://tor.criticalthreat.net

Main Menu

Dice Roller Instructions

Started by Krathognis, September 04, 2010, 12:52:06 AM

Previous topic - Next topic

Krathognis

From now on to generate dice rolls we will be using a piece of BBcode. this is the same way in which we do things like make an item bold  or Underlined. To generate a roll simply add [img]https://criticalthreat.net/smf/Themes/darkbreak_20/images/dice_warn.gif[/img] [color=red][b]This dice roll has been tampered with![/b][/color]
' '
on either side of your desired dice roll.  Additionally the button in your editor window will add the tags for you.

NOTE: REPLACE all { or } with [ or ]
USAGE:

Basic Roll
let us say that we want to roll 3d6.  we would simply use the following piece of code:
{roll}3d6{/roll}.

The result would look something like this:
QuoteRolled 3d6 : 2, 5, 3  total 10

Modifying a roll
Of course we rarely use basic rolls.  Often we want to modify these rolls in some way be it adding or subtracting from a roll or rolling the same set of dice multiple times as in stat generation.

To add or subtract an amount from a roll simply use the + or - modifiers like this:
{roll}2d12+5{/roll}

This will result in something like this:
QuoteRolled 2d12+5 : 6, 11 + 5, total 22

Now lets say that we wanted to create a grouped ATTACK and DAMAGE roll.  The default description for a roll is "rolled."  the result shows "ROLLED 2d12+5" but what if we wanted that label to say DAMAGE: 2d12+5?  we can change this by simply enclosing the labels we want within '{ }'  in our roll.

To illustrate this we will create a set of rolls for attack and damage.  we want our rolls to say "ATTACK: 1d20+5"  and DAMAGE: 2d6+7".
The code we need for this is:{roll}ATTACK: 1d20+5 {/roll}
{roll}DAMAGE: 2d6+7{/roll}


This results in a return of:
QuoteATTACK: 1d20+5 : 13 +5, total 18
DAMAGE: 1d6+7: 2 +7, total 9

Rolling Stats
The next issue is rolling basic stats.  The normal CT rolling formula is 6 rolls of 4d6  rerolling anything 2 or under. so how do we do this with the new rolling tag? simple!

First we must learn how to roll MULTIPLE SETS of dice  to do this we simply add a multiplier after the roll to be made like this:
{roll}2d6x3{/roll}

This would result in:
QuoteRolled 2d6 : 6, 3, total 9
Rolled 2d6 : 1, 4, total 5
Rolled 2d6 : 1, 5, total 6

Next we need to learn how to REROLL any roll of 2 or below. 
The carrot character '^' allows us to keep only rolls ABOVE a certain number while the 'v' character allows us to keep rolls BELOW a certain number.
{roll}2d20^10{/roll}
{roll}2d20v10{/roll}

would respectively look like this:
QuoteRolled 2d20^10 : 3 8 10 3 17, 2 10 9 10 14, total 31
and
QuoteRolled 2d20v10 : 11 3, 3, total 6

as you can see all the rolls are still listed, however the unwanted rolls are struck through.

So lets roll some statistic now!
the code we will use is as follows:
{roll}4d6^2x6{/roll}

and this results in:
Quote4d6^2 : 6, 1 5, 3, 3,  17
4d6^2 : 5, 1 2 3, 5, 4,  17
4d6^2 : 2 2 5, 4, 5, 2 1 1 4,  18
4d6^2 : 3, 1 6, 3, 6,  18
4d6^2 : 4, 5, 2 3, 5,  17
4d6^2 : 3, 4, 3, 2 3,  13


And there we are!  I hope this article has helped explain the new changes to our site.  please feel free to contact me with any questions you may have

-Krathognis


Krathognis

Rolled 4d6^2 : 2 2 3, 5, 6, 5, total 19
Rolled 4d6^2 : 2 6, 2 1 4, 3, 2 1 4, total 17
Rolled 4d6^2 : 3, 3, 4, 1 4, total 14
Rolled 4d6^2 : 1 5, 3, 4, 1 6, total 18
Rolled 4d6^2 : 2 3, 6, 1 2 1 4, 5, total 18
Rolled 4d6^2 : 6, 2 6, 2 5, 2 1 5, total 22