mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Checking it out. May not work. Not a Telegram.
This commit is contained in:
parent
09141053c9
commit
e44823b6dd
6 changed files with 64 additions and 1 deletions
|
|
@ -31,6 +31,17 @@ export default class DHArmor extends AttachableItem {
|
|||
actionIds: new fields.ArrayField(new fields.StringField({ required: true }))
|
||||
})
|
||||
),
|
||||
//Testing new armor schema
|
||||
armor: new fields.SchemaField({
|
||||
value: new fields.NumberField({integer: true, min: 0, initial: 0}),
|
||||
max: new fields.NumberField({ required: true, integer: true, min: 0, initial: 0}),
|
||||
priority: new fields.StringField({
|
||||
required: true,
|
||||
choices: CONFIG.DH.ITEM.allArmorKeys,
|
||||
initial: CONFIG.DH.ITEM.armorPriorityKeys[0]
|
||||
})
|
||||
}),
|
||||
//End
|
||||
marks: new fields.SchemaField({
|
||||
value: new fields.NumberField({ initial: 0, integer: true })
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue