ArtemGr / Sidekick

Dice and LFG bot for Discord.
MIT License
250 stars 39 forks source link

Chronicles of Darkness 8-Again/9-Again/Rote #94

Open PeterChernoff opened 6 years ago

PeterChernoff commented 6 years ago

Is there a way to include the 8/9/rote quality of World of Darkness. Also, the ability to separate which rolls are rolls and which rolls are rerolls would be nice.

IntrepidVector commented 6 years ago

I was about to request the same thing when I found this comment! I'm starting up a Chronicles of Darkness game and can't seem to force this. I was hoping something like "/r 10d10 !>=9 >=8" would manage it for 9-again, but no luck.

Here's how AnyDice handles the input, if that's any help. http://anydice.com/articles/new-world-of-darkness/

ArtemGr commented 6 years ago

Put shortly, you roll a pool of d10s and count all 8s and higher as a success. Additionally, you reroll and add for each 10 you get. In some cases you can reroll on a 9 or even on an 8.

Can you give an example of how

/r 1d10!>8>7

is wrong for nWoD?

Please provide an example of the actual result and the expected result.

IntrepidVector commented 6 years ago

Oh, that does it! I guess I simply had the wrong formatting! Thank you for your help! I can suss out from your example what to do, but do you have how exploding and success-counting work exactly documented somewhere?

ArtemGr commented 6 years ago

Oh, that does it!

Sup. I will investigate why /r 10d10 !>=9 >=8 behaves differently.

but do you have how exploding and success counting work exactly documented somewhere?

It shouldn't be breaking the principle of least astonishment. The ops are performed in order, e.g. in /r 1d10!>8>7 the !>8 explodes anything larger than eight, then >7 filters the exploded dice pool.

IntrepidVector commented 6 years ago

Gotcha! Thanks again for your help

ArtemGr commented 6 years ago

You're welcome! Thanks for the link.

obiwankennedy commented 6 years ago

Have you heard about DiceParser. It is a dice bot for discord and it provides a way to manage COD dice system.

To do it: !6d10e10c[>7] Explode on 10, count dice higher than 7.

To add it to your server: https://discordapp.com/oauth2/authorize?&client_id=279722369260453888&scope=bot&permissions=0