Add edit/viewability to the item rarity (closes #152)
This commit is contained in:
parent
de672642d2
commit
ad2da03f1e
6 changed files with 49 additions and 5 deletions
|
|
@ -31,7 +31,7 @@ export class CommonItemData extends foundry.abstract.TypeDataModel {
|
|||
tier: new fields.StringField({
|
||||
initial: DOTDUNGEON.defaultItemTier,
|
||||
nullable: false,
|
||||
choices: DOTDUNGEON.itemTiers,
|
||||
choices: DOTDUNGEON.itemTiers.map(tier => tier.value),
|
||||
}),
|
||||
/*
|
||||
If this property is set to true, the item will be shown in the combat tab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue