gb-temp-dnd
v1.0.11
Published
Test module
Downloads
60
Readme
gb-dnd-toolset
HowTo
Install
npm install gb-temp-dnd
Character Sheet
Basic character sheet for our templates. This is a work in progress.
createCharcter
Basic Template for creating a character. This is a work in progress.
.dnd(stats)
This will create a CharacterSheet with basic DnD5e stats. This is a work in progress. You can input settings to override the default values. ex
createCharcter.dnd(
{
strength: 15,
},
{
athletics: {
proficiency: true,
},
sleightOfHand: {
proficiency: true,
expertise: true,
}
},
4);
validateCommand (command)
Validates a command and parse the given arguments. This is a work in progress.
calling a roll command:
let result = validateCommand('!r 1d20 + strength');
result = {
command: 'roll command',
dice: [['+', 1, 20], ['+', 2, 'strength']],
}