Implement the DiceField and required changes to get it working (closes #179)

This commit is contained in:
Oliver-Akins 2024-04-27 02:07:22 -06:00
parent 0064e10635
commit 327f921b9c
5 changed files with 62 additions and 40 deletions

View file

@ -39,12 +39,12 @@ export class PlayerData extends foundry.abstract.TypeDataModel {
integer: true,
}),
stats: new fields.SchemaField({
build: diceChoiceField(), //new DiceField(),
meta: diceChoiceField(),
presence: diceChoiceField(),
hands: diceChoiceField(),
tilt: diceChoiceField(),
rng: diceChoiceField(),
build: new DiceField(),
meta: new DiceField(),
presence: new DiceField(),
hands: new DiceField(),
tilt: new DiceField(),
rng: new DiceField(),
}),
skills: new fields.SchemaField({
build: new fields.SchemaField({