Announcement

Collapse
No announcement yet.

How does the dice roller interact with the site's character sheets?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How does the dice roller interact with the site's character sheets?

    You can reference values on your character sheets when typing your rolls right into a post. The syntax for this is
    :s=(character sheet id):(name of the field in the character sheet):

    So, for example, you could do any of the following:
    I make a [dice=Strength Check]1d20+:s=306:Strength_mod:[/dice]
    Attack and damage rolls with my morningstar: [dice]1d20+:s=306:Atk_bonus1:,:s=306:Damage1:[/dice]
    Dexterity save while Blessed: [dice]1d20+:s=306:Dexterity_save:+1d4[/dice]
    And get the result:
    I make a (Strength Check 1d20+3) [1] + 3 = 4
    Attack and damage rolls with my morningstar: (1d20+6,1d8+3) [1] + 6 = 7, [2] + 3 = 5
    Dexterity save while Blessed: (1d20+3+1d4) [7] + 3 + [4] = 14

    The sheet also pre-loads the syntax for you in a box at the sheet's top left area based on which field you click into on the sheet itself, in case you would like to just copy/paste the roll code into the forum that way. After you have selected the field on the sheet you are trying to reference, just hit the 'Copy' button in the bar at the top. This will copy all of the required text onto your clipboard, ready to paste into your post and eliminating the possibility of a typing error in the code.

    Keep in mind that (at least with stuff inside of 'dice' tags) you can only reference fields on the character sheet that would result in a valid dice string, otherwise you will get an error. You can't reference the :s=306:Personality_traits: field, for example, as part of a dice roll because that would never be something actually used in a dice roll.
Working...
X