mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 23:49:02 +01:00
fixes
This commit is contained in:
parent
3d1be5fa22
commit
42867a4be1
7 changed files with 7 additions and 7 deletions
|
|
@ -130,7 +130,7 @@ export const typeConfig = {
|
|||
operator: "lte"
|
||||
},
|
||||
{
|
||||
key: "system.features",
|
||||
key: "system.itemFeatures",
|
||||
label: "Features",
|
||||
choices: () => [...Object.entries(CONFIG.DH.ITEM.weaponFeatures), ...Object.entries(CONFIG.DH.ITEM.armorFeatures)].map(([k,v]) => ({ value: k, label: v.label})),
|
||||
operator: "contains3"
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ export const armorFeatures = {
|
|||
img: 'icons/magic/time/hourglass-brown-orange.webp',
|
||||
cost: [
|
||||
{
|
||||
key: 'armorStack',
|
||||
key: 'armorSlot',
|
||||
value: 1
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ export default class DHArmor extends AttachableItem {
|
|||
return labels;
|
||||
}
|
||||
|
||||
get features() {
|
||||
get itemFeatures() {
|
||||
return this.armorFeatures;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
|
|||
return this.actions;
|
||||
}
|
||||
|
||||
get features() {
|
||||
get itemFeatures() {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ export default class DHWeapon extends AttachableItem {
|
|||
return labels;
|
||||
}
|
||||
|
||||
get features() {
|
||||
get itemFeatures() {
|
||||
return this.weaponFeatures;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue