tokenshift / discord-mistbot Goto Github PK
View Code? Open in Web Editor NEWMistborn RPG helper bot.
Mistborn RPG helper bot.
Don't let characters mb init spend
more dice than they have remaining. Output an error message if they try to. (Right now, remaining
goes negative.)
The parseCharacterList
function was originally to parse character + wits pairs (e.g. for start
and join
), but is now used in several places that use character + "some number" pairs (pool
, spend
, etc).
Example: mb roll {pool} [difficulty]
-- rolls a pool of {pool}
dice against a difficulty [difficulty]
task. Then instead of just displaying the raw result, it will give you the outcome (name) from p. 146 of the Mistborn core book (roll result - difficulty).
Trying to mb init join {wits score}
as the same player should fail if you've already been added to initiative. Help text should point you to the mb init update {new wits score}
command.
Provide a flag to override this to allow a character to be added multiple times; e.g. mb init join {wits score} -f
.
This should only apply to self-joins, not if a character name is explicitly provided.
E.g. mb init spend {pool} [difficulty]
-- like the roll
command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.