Git Product home page Git Product logo

lfrrollbot's People

Contributors

rcuhljr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

headlessnewt

lfrrollbot's Issues

Dicesuke branching

Dicesuke is really a singular problem in that anyone else ever using this code shouldn't need to worry about it. I should make it generic and move that detection code off to a permanent branch for dealing with other bots.

Thread safeness

Remove the terrible hack of wrapped booleans for thread safeness and redo it in mutexs.

Hero system support

"All rolling for skill successes or to hit are done on 3d6. So, no biggie there. There are two basic types of damage; normal and killing damage. (Technically, there are three, but there us such a small difference, it doesn't matter. It is called No Normal Defense or Limited Defense Attack that you don't count the Body.)

Normal Damage is just d6 rolls but it produces two effects, Body and STUN. Stun is just a count of the pips. Body is calculated by counting 6's as 2 Body and 1's count as 0 Body. Every other number is counted as 1 Body. For example, a roll of you roll 5d6 , with a result of 6, 6, 6, 3, 1 you will have 7 Body and 22 Stun.

Killing Damage is a little different, but there are the still two effects as mentioned above. Body is done by counting the pips like STUN, but the Stun is counted totally different. It is a multiple of the body. This multiple can vary by what genre' the group is playing. One genre' sets the multiplier based on Hit Location. Otherwise, it is multiplied by 1d6. The basics for that multiplier is generally 1d6-1, but a modifier can adjust this as well.

For example, if the attack is a 3d6+1k (short hand for killing dice) you would roll 6d6 and add 1 to the total. In our example let's say that the total for the roll is a 13. This would be the Body presented. If you are not using Hit Location (which ranges from x1 to x5 Stun multiplier), it is multiplied by 1d6 plus or minus various numbers. It will never go below 1.

I'm not sure how you would represent this multiplier for stun. If you 'assume' a base of 1d6 to be triggered off of use of the "K," we just have to figure out where to put the secondary modifier in the syntax.

Perhaps we could go with this: 3d6+1k-1 would mean a multiplier of -1. So, at max, the Body would be multiplier of 5 and a minimum of 1.

I think that includes everything. " -Tom

Figure out how much support for heroes to add, always on? toggleable? by channel?

Hanging Connections

It might still be possible for the hanging connections bug to reoccur, I should take another stab at timing pings to detect a live connection.

Rework message max length

Determine the max length of a message that we can speak and properly handle it instead of the 400 cut off hack. Also update docs on dicebox.

Refactor

Move out most of the classes from rollbot.rb into their own files.

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.