Open w-shimaya opened 4 years ago
I signed up for GitHub to request this exact feature.
I'm playtesting a game where the players regularly roll 2d6, then compare the total of the numbers on the dice to a target number that represents the difficulty of the task being attempted. If the number on the dice is equal to or greater than the target number, the roll is a success; if the number on the dice is less than the target number, the roll is a failure. Some of my playtesters attempted to use Dice Maiden's existing !roll 2d6 t7
syntax for this purpose, and were briefly confused when results like [5,4] didn't count as a success.
I second w-shimaya's suggestion of using >=
for the syntax, as it opens up the possibility of eventually supporting <=
, <
, and >
, which would be good for roll-low systems and games where rolling equal to the target number is a failure instead of a success.
In many systems such as CoC and Paranoia, I roll 1dX many times and check success/failure by comparing its summed value with the target. Currently, some features count the number of successful dices, but it seems that nothing focuses on the sum (just printing it).
!roll 1d100 t80
->[73] Result: 0
So, it would be nice to have a syntax that checks if the sum is greater than the target or not and explicitly prints success/failure. Specifically, what I imagine would look like:
!roll 1d100 >= 80
->[57] Result: Failure
!roll 2d10 >= 10
->[3, 9]=12 Result: Success
I would be happy if I could hear what you think about it!