Implement the DiceField and required changes to get it working (closes #179)
This commit is contained in:
parent
0064e10635
commit
327f921b9c
5 changed files with 62 additions and 40 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue