Added viewers, tree node viewers and fixed forms for new damage schema

This commit is contained in:
Thaum Rystra
2020-05-19 00:15:05 +02:00
parent 93ab67a91b
commit 4a039e769b
13 changed files with 196 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ import SimpleSchema from 'simpl-schema';
const AdjustmentSchema = new SimpleSchema({
// The roll that determines how much to change the attribute
adjustment: {
amount: {
type: String,
optional: true,
defaultValue: '1',

View File

@@ -3,7 +3,7 @@ import DAMAGE_TYPES from '/imports/constants/DAMAGE_TYPES.js';
const DamageSchema = new SimpleSchema({
// The roll that determines how much to damage the attribute
damage: {
amount: {
type: String,
optional: true,
defaultValue: '1d8 + strength.modifier',