Code Monkey home page Code Monkey logo

Comments (3)

Humblemonk avatar Humblemonk commented on June 4, 2024

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

from dicemaiden.

Humblemonk avatar Humblemonk commented on June 4, 2024

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

from dicemaiden.

Auctorion avatar Auctorion commented on June 4, 2024

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.

from dicemaiden.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.