RC-17 | Add rank to the datamodel
This commit is contained in:
parent
f9ef7c2c18
commit
27f668b92f
1 changed files with 8 additions and 0 deletions
|
|
@ -61,6 +61,14 @@ export class HeroData extends foundry.abstract.TypeDataModel {
|
|||
required: true,
|
||||
nullable: false,
|
||||
}),
|
||||
rank: new fields.NumberField({
|
||||
min: 0,
|
||||
initial: 0,
|
||||
max: 3,
|
||||
integer: true,
|
||||
required: true,
|
||||
nullable: false,
|
||||
}),
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue