DiceMaiden icon indicating copy to clipboard operation
DiceMaiden copied to clipboard

REQUEST: Extended rolls to a target number

Open Auctorion opened this issue 4 years ago • 3 comments

In several systems there are mechanics for extended rolls to reach a certain target threshold. E.g. in WoD you have to get X number of successes over several rolls to determine how long something takes. It would be neat to have a function where Dice Maiden repeats a !roll command and provides a condensed summary of the roll results.

It currently leads to this:

Screenshot 2020-04-16 at 16 28 37

Auctorion avatar Apr 16 '20 15:04 Auctorion

Could you utilize a roll set to get this done? For example: [11:26 AM] Humblemonk: !roll 10 14d10 t8 e10 [11:26 AM] BOT dice maiden: Humblemonk Rolls: [10, 9, 8, 8, 7, 7, 5, 5, 4, 4, 3, 2, 1, 1], [6] Result: 4 [10, 10, 9, 9, 8, 6, 5, 5, 5, 4, 3, 3, 2, 1], [9, 1] Result: 6 [10, 10, 9, 9, 9, 8, 7, 7, 6, 4, 4, 3, 2, 1], [10, 2] Result: 7 [9, 9, 9, 8, 8, 7, 5, 5, 5, 5, 4, 3, 2, 1] Result: 5 [10, 9, 9, 8, 7, 7, 7, 5, 3, 3, 2, 1, 1, 1], [1] Result: 4 [10, 9, 9, 8, 8, 8, 7, 7, 7, 6, 5, 1, 1, 1], [3] Result: 6 [10, 10, 9, 8, 8, 6, 6, 6, 4, 4, 3, 2, 2, 1], [10, 2] Result: 6 [10, 10, 10, 10, 9, 9, 8, 7, 7, 6, 5, 4, 3, 2], [9, 5, 3, 3] Result: 8 [10, 10, 9, 8, 8, 8, 7, 7, 6, 4, 4, 3, 1, 1], [7, 1] Result: 6 [10, 8, 8, 7, 6, 5, 4, 4, 3, 3, 2, 2, 2, 1], [1] Result: 3

Humblemonk avatar Jun 28 '20 18:06 Humblemonk

Going to close this one out for now. I think roll sets should be able to do the job here.

Humblemonk avatar Jul 04 '20 06:07 Humblemonk

Just to say, that does work, it would just be neater to have it repeat the roll command only enough times to reach a threshold of successes that is >= a target number of successes.

Auctorion avatar Jul 17 '20 22:07 Auctorion