1.0.11 • Published 7 months ago

gb-temp-dnd v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

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']],
}
1.0.11

7 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago