Page 1 of 3

Dice test thread

Posted: Fri Jun 18, 2021 9:42 pm
by slate
Post in here to test the dice roller.

Format:

Code: Select all

[dice=I attack the darkness!]1d6 slashing + 2d8 holy + 2d6 persistent fire[/dice]

[dice=I attack the light!]1d8 bludgeon + 2d8 acid+ 2d6 persistent bleed[/dice]
will do this:

I attack the darkness!: 1d6= 4  slashing + 2d8= 8  holy + 2d6= 7  persistent fire
I attack the light!: 1d8= 2  bludgeon + 2d8= 13  acid + 2d6= 7  persistent bleed

Re: Dice test thread

Posted: Sat Jun 19, 2021 1:06 pm
by ESParker
Found the instructions, I think

Something like this?
[dice=Will Save versus more play by post]1d20+5[/dice]


It is not showing the results in the Preview like the Paizo Forums do, so I am not sure it is working.

Re: Dice test thread

Posted: Sat Jun 19, 2021 2:41 pm
by slate
|1d20+5

See the pics to see how I made that roll above.

Fill out to notation (I did 1d20+5)
Image
-
Then hit the green button circled in read to add to post
Image

Re: Dice test thread

Posted: Sat Jun 19, 2021 2:55 pm
by slate
Notice the number in the [dice tag cannot be changed. It is a unique value that is stored in the database so it cannot be modified. Basically you’d say something like

I cast fireball for Fireball|6d6 damage

Code: Select all

 I cast fireball for [roll=12]6d6[/roll] damage

Re: Dice test thread

Posted: Sat Jun 19, 2021 4:11 pm
by ESParker
Trying again. I thought the first example I found in the other thread was using [dice=] instead of [roll]

Does the roll have to have an assigned number? Do I have to track it?

|LLLL=101d20+5[/roll]

Re: Dice test thread

Posted: Sat Jun 19, 2021 4:17 pm
by slate
I will also check to see if there are any other dice rolling add-ons that might work better. This was just the first I came across.

Re: Dice test thread

Posted: Sun Jun 20, 2021 1:47 am
by slate
I wrote my own dice roller. To prevent cheating, your post will be automatically locked when you use dice rolling functions.

Code: Select all

[dice=1d6 slashing + 2d8 holy + 2d6 persistent fire]I attack the darkness![/dice]

[dice=1d8 bludgeon + 2d8 acid+ 2d6 persistent bleed]I attack the light![/dice]
will do this:

1d6= 5  slashing + 2d8= 2  holy + 2d6= 8  persistent fire
1d8= 8  bludgeon + 2d8= 10  acid + 2d6= 9  persistent bleed

Re: Dice test thread

Posted: Sun Jun 20, 2021 5:36 am
by ESParker
I will give it a try.

I will note the syntax is the opposite of the Paizo forum dice roller, where the Description of the roll follows the 1d20=[tooltip=[ 9 ]] 9 [/tooltip] [b]Attack[/b] + 1d8=[tooltip=[ 7 ]] 7 [/tooltip] [b]damage[/b]

[roll=14]1d20=[tooltip=[ 16 ]] 16 [/tooltip] [b]Attack[/b] + 1d8=[tooltip=[ 8 ]] 8 [/tooltip] [b]damage[/b][/roll]

Re: Dice test thread

Posted: Sun Jun 20, 2021 5:38 am
by ESParker
Well, that turned out strangely. Note quite sure what I did there.

Next time I will screen capture before I hit "Post"

Re: Dice test thread

Posted: Sun Jun 20, 2021 5:42 am
by ESParker
Let's do it again.

1d20=[tooltip=[ 9 ]] 9 [/tooltip] [b]Attack[/b]

[roll=15]1d20=[tooltip=[ 9 ]] 9 [/tooltip] [b]Attack[/b][/roll]

Re: Dice test thread

Posted: Sun Jun 20, 2021 11:38 am
by slate
Looks like I have more work to do lol

Put what you're doing inside [ code ] [ /code ] tags so I can see it pre-render?

Also, I do it with the descriptive text between the tags due to flexibility of characters allowed. I can mess around with the code to see if I can match Paizo. Going to GM a game soon, so I'll look tonight

Re: Dice test thread

Posted: Sun Jun 20, 2021 7:07 pm
by slate
I am testing with the flavor and roll data swapped.

Re: Dice test thread

Posted: Sun Jun 20, 2021 7:26 pm
by slate
I wrote my own dice roller. To prevent cheating, your post will be automatically locked when you use dice rolling functions.

Code: Select all

[dice=I attack the darkness!]1d6 slashing + 2d8 holy + 2d6 persistent fire[/dice]

[dice=I attack the light!]1d8 bludgeon + 2d8 acid+ 2d6 persistent bleed[/dice]
will do this:

I attack the darkness!: 1d6= 1  slashing + 2d8= 9  holy + 2d6= 3  persistent fire
I attack the light!: 1d8= 5  bludgeon + 2d8= 9  acid + 2d6= 2  persistent bleed

Re: Dice test thread

Posted: Sun Jun 20, 2021 7:30 pm
by slate
Can you test with the same format?

Put the roll in a
[code][/code]
tags and then put the same roll outside of them?

Re: Dice test thread

Posted: Sun Jun 20, 2021 7:31 pm
by slate
Like this:
[code][dice=I attack the darkness!]1d6 slashing + 2d8 holy + 2d6 persistent fire[/dice]

[dice=I attack the light!]1d8 bludgeon + 2d8 acid+ 2d6 persistent bleed[/dice][/code]

---------

[dice=I attack the darkness!]1d6 slashing + 2d8 holy + 2d6 persistent fire[/dice]
[dice=I attack the light!]1d8 bludgeon + 2d8 acid+ 2d6 persistent bleed[/dice]