Home | Zones | Log in | Register

dice rolling

fun new feature

Nobody | Reply | Create New Thread New Thread
Page 1 of /1

took the liberty to add a Fun feature while i was working on some harder stuff
simply type /roll [dice] into the reply box

the syntax is described here: https://github.com/justinian/dice#golang-dice
but to put it simply d&d style dice rolls work fine, like /roll 1d20

bird on skateboard

also if you want to actually post /roll as a message and not roll stuff just put a space in front of the slash

bird on skateboard

this is pretty cool. is it possible to implement a mode where you can see the results of each individual die rolled rather than the total? that would be super helpful for WOD games

i didn't learn nothin

From: Applebaps at 2019-12-15 20:38:20
this is pretty cool. is it possible to implement a mode where you can see the results of each individual die rolled rather than the total? that would be super helpful for WOD games

i think so, let me see

bird on skateboard
| Posted: 2019-12-15 20:49:03Dec 15 20:49 | Filter

Tiko rolled 10d20: 118
(rolls: 6 7 7 9 9 12 15 16 18 19)

/roll

boom

bird on skateboard

seems like the rolls get sorted tho is that bad

bird on skateboard

From: Tiko at 2019-12-15 20:49:09
boom

nice!

i didn't learn nothin

From: Tiko at 2019-12-15 20:50:25
seems like the rolls get sorted tho is that bad

nah

in WOD you’re looking for a number of dice above certain thresholds so sorting makes it a bit easier actually

i didn't learn nothin

like say you want to roll against a test of difficulty 4, you roll as many d8s as you have dots in relevant skills/stats and however many are 4+ is your number of successes

i didn't learn nothin

unless you’re incredibly bored, the roll function as is will do fine for anything we could want to do with it

thanks! you da bess

Edited by Applebaps at 2019-12-15 21:11:51Dec 15 21:11
i didn't learn nothin

sweet

bird on skateboard

long gone are the days of AD&D where you had to roll below certain thresholds (with THAC0 and to-hit), i’m pretty sure every P&P system on the market now has you rolling above thresholds for a success

i didn't learn nothin

almost crashed my computer trying to roll a billion dice locally lolz
added a limit (1000 dice for now) 😅

bird on skateboard

lmfao

i didn't learn nothin
| Posted: 2019-12-15 21:29:42Dec 15 21:29 | Filter

Tiko rolled 10d8v4: 5
(rolls: 2 7 2 5 1 5 7 8 3 2)

/roll

From: Applebaps at 2019-12-15 21:10:11
like say you want to roll against a test of difficulty 4, you roll as many d8s as you have dots in relevant skills/stats and however many are 4+ is your number of successes

you can do this like the above btw
(just rolled 10 d8s, checking them against 4)

bird on skateboard

that’s pretty neat but i don’t see it tallying successes?

i didn't learn nothin

the bold number is the successes

bird on skateboard

oh! duh lol

i didn't learn nothin
| Posted: 2019-12-15 21:32:57Dec 15 21:32 | Filter

Applebaps rolled 5d8v6: 3
(rolls: 7 8 6 1 4)

/roll

nice i like this. lemme try and break it lol

i didn't learn nothin

ah i see you already thought of negative numbers

i didn't learn nothin

all i added was the max dice check everything else is the beauty of open source ;)

bird on skateboard
| Posted: 2019-12-16 02:53:12Dec 16 02:53 | Filter

rodentplan rolled 1d20: 18

/roll
| Posted: 2019-12-18 01:45:38Dec 18 01:45 | Filter

meepches rolled 1d20: 2

/roll
Reply:
To reply to this thread, please join this community.
Pages: 1
1 person is reading this thread now.
Thread List | ↑ Top