RC-19 | Add Glory to the datamodel
This commit is contained in:
parent
0f9afca274
commit
f9ef7c2c18
1 changed files with 9 additions and 0 deletions
|
|
@ -53,6 +53,15 @@ export class HeroData extends foundry.abstract.TypeDataModel {
|
|||
nullable: false,
|
||||
}),
|
||||
}),
|
||||
level: new fields.SchemaField({
|
||||
glory: new fields.NumberField({
|
||||
min: 0,
|
||||
initial: 0,
|
||||
integer: true,
|
||||
required: true,
|
||||
nullable: false,
|
||||
}),
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue