Coder Social home page Coder Social logo

Comments (4)

ogalisteo avatar ogalisteo commented on June 9, 2024 1

Hi, I recently joined gitHub while I found yout bot looking for Savage Words rolls,
and I find the L and H options very interesting, but cannot use it with simultaneously different type of dice rolls;
I mean, a typical SW roll is: d8! (Trait dice; it could be d4, d6, d8, 10 or d12) and d6! (Savage dice) -both can explode- but keep only higher.
is there a way I haven't see to roll different dice with H option, or isnt supported yet?
thank you for your time,

from rollem-telegram-bot.

treetrnk avatar treetrnk commented on June 9, 2024

I just added this in with commit e60a497. I implemented it a little differently, opting for the L and H version, but there is no dash separating them from the dice notation since I already have the dash interpreted as a minus sign. So now, to roll with advantage, you would roll /r 2d20H and disadvantage would be /r 2d20L.

I realize this doesn't cover all of the games you mentioned, but I am doing this in my free time and I believe this change will be beneficial for the greatest number of users. Plus, you can do all of the things you mentioned manually since all of the rolls are listed in the output. I may choose to change how this works or improve the "keep" system in the future, but this is what I have for now. Anyone else is welcome to contribute as well. Hope that helps!

from rollem-telegram-bot.

TomasMFranco avatar TomasMFranco commented on June 9, 2024

from rollem-telegram-bot.

DzyubSpirit avatar DzyubSpirit commented on June 9, 2024

I believe Savage World rolls with different dice are not implemented. I think the simplest syntax would be d8!+d6!-L -> I can look into implementing it

from rollem-telegram-bot.

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.