russellaugust / call-of-cthulhu-dicebot

A Call of Cthulhu dicebot that is tailored specificly to rolls for the tabletop game. It will also include a character sheet organizer linked directly to the dicebot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add roll syntax for advantage / disadvantage

russellaugust opened this issue · comments

Add some rolling syntax to allow for a quick advantage (roll twice, take the best) and disadvantage (roll twice, take the worst).

Possible syntax:

!r 45+
!r 45-

!r+ 45
!r- 45

Is there any situation where you'd need to roll anything other than a stat or d100? If so it could be the same syntax.

!r+ 1d6+5

I think I like the +/- at the beginning better. It implies it's a roll at advantage. Adding it to the end also runs the risk of it getting lumped into a mathematical roll like 1d4+8.

!r +45 could also work. This might be easier to implement. Need to check to see how hard it is to implement !r+ 50

I suggest .b or .bonus as an easier-to-understand call for less savvy users. .p or .penalty to match?

The catch, however, is that there are times when a roll can be made with 2 bonus or penalty dice. Could it be done with one extra roll for each + or - in the command?