ArtemGr / Sidekick

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

Variable failure condition? #44

Closed EricTheSpider closed 6 years ago

EricTheSpider commented 7 years ago

I see that you have implemented oWoD (/r 3d10>=6f1) as one of the dice rolling variations. I have experimented with the command and whilst the size of the die can be varied I have been unable to adjust the failure condition sucessfully.

The whilst changing the number after the f will change the number that consititutes a failure I have been unable to get it to treat multiple results as a failure. For example I would like to be able to roll multiple d10s and treat 9 and 10 as a success, but 1,2 and 3 as failures (for example).

If this is not already implemented would it be possible to do this, or if it is (as I suspect) user error can you confirm the correct format for the command?

dashifen commented 7 years ago

it would also be interesting to use something like this for Shadowrun's glitch mechanics (e.g. rolling more than 50% of your dice pool as ones -- or in some cases ones and twos).

ArtemGr commented 6 years ago

Backed by Cerxi.

/r 1d10>7f1,2