Giter Site home page Giter Site logo

journeyman88 / alea-iacta-sys-7thsea2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 64 KB

The system module in "Alea Iacta Est" for "7th Sea 2nd Edition". It provides an automatic Raise calculator that strives to optimize for max number of Raises.

License: Apache License 2.0

Java 100.00%
rpg-dice-roller 7th-sea

alea-iacta-sys-7thsea2's Introduction

alea-iacta-sys-7thsea2

A RPG system module for Alea Iacta Est implementing 7th Sea - 2nd Edition

Description

This command will roll several d10 and will try to group them together to generate the maximum number of Raises, this will work in 2 different modes - Simple Mode and Character Mode - to which can be applied different modifiers.

Simple Mode

This mode simply roll a certain number of dice and tries to calculate the Raises using basic rules (if no modifier is attached).

Character Mode

This mode, asides from rolling the dice determined by the sum of the parameters, uses the information provided to auto-activate eventual modifiers (reroll one dice, enable double Raises, enable dice explosion) according to the rules. Some modifiers, like 'Joie de Vivre' only works in this mode. If a modifier is passed, it will compound with those deducted from the parameters.

Roll modifiers

Passing these parameters, the associated modifier will be enabled:

  • -v : Will enable a more verbose mode that will show a detailed version of every result obtained in the roll.
  • -x : Will enable the dice explosion on a natural 10.
  • -d : Will enable the double Raises at a 15 or more sum, and calculate the Raises accordingly.
  • -r : Will enable the reroll of a single dice, if there's one or more leftover dice that are not part of any Raise, the lowest one will be rerolled and the Raises recalculated.
  • -i : Will increase the cost for each Raise by 5 as per Danger Points rules.
  • -j : Only work in Character Mode, enables the 'Joie de Vivre' advantage.

Help print

7th Sea 2nd Edition [ 7th-sea-2nd | 7s2 ]

Usage: 7s2 [-dhirvx] -n <diceNumber>
   or: 7s2 [-dhirvx] -t <traitRank> -s <skillRank> [-b <bonusDice>] [-j]

Description:
This command will roll several d10 and will try to group them
together to generate the maximum number of Raises, this will
work in 2 different modes - Simple Mode and Character Mode -
to which can be applied different modifiers.

Options:
  -t, --trait=traitValue    Trait level
  -s, --skill=skillRank     Skill level
  -b, --bonus=bonusDice     Bonus/Malus dice
  -j, --joie                Enable the 'Joie de vivre' advantage
  -n, --number=diceNumber   Roll this number of dice
  -r, --reroll              Force reroll of one dice enabled
  -d, --double              Force 'Double Raise' mode enabled
  -x, --explode             Force dice exposion enabled
  -i, --increase            Increase the 'cost' of a Raise by 5
  -h, --help                Print the command help
  -v, --verbose             Enable verbose output

alea-iacta-sys-7thsea2's People

Contributors

journeyman88 avatar

Watchers

 avatar  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.