Coder Social home page Coder Social logo

sigma-labs-capstone's Introduction

My Sigma Labs prework capstone project

12345

This is a tool for a dungeon master running dnd 5th edition.
If your players are fighting a single dragon, running the combat is very easy manually, but if you want to have them fight 30 zombies, suddenly things slow down big time.

This tool's aim is to help running large groups of creatures in dnd combat.
It chooses targets for attacks, and rolls all the dice for you, so you can focus on description (or worrying about what the necromancer who summoned all these zombies is doing)

For people who aren't familiar with dnd combat: https://roll20.net/compendium/dnd5e/Combat


stretch goals: deal with positions and initiative (although at this point I'm basically making a whole vtt)


Hitrate:

If you haven't played dnd before this might be a bit confusing, so I'll give some examples here:

1: You are rolling to try and hit a target with defense (AC) 15 and you have a bonus to hit of +5: 
you roll a 20 sided dice and add 5

    rolling a 1 always misses
    rolling a 5 + 5 = 10. 10 < 15  ----> miss
    rolling a 10 + 5 = 15. if you get exactly the target, you hit
    
    so rolling a 10 or higher hits. That's 11 faces of the 20 sided dice, or a 55% chance of hitting

2: Target has AC 200, your modifier is +5
    whatever you roll on the dice, your result will be less than 200.
    But, rolling a 20 = automatic hit, regardless of modifier or AC.
    So 20 = hit, anything else = miss, you have 5% chance to hit 

3: target has AC 0 your modifier is +20
    Any dice roll plus your modifier will be bigger than 0, 
    But rolling a 1 = automatic miss
    so at best you can have 95% chance to hit

sigma-labs-capstone's People

Contributors

dmccallion avatar

Watchers

 avatar

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.