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"
|
operator: "lte"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "system.features",
|
key: "system.itemFeatures",
|
||||||
label: "Features",
|
label: "Features",
|
||||||
choices: () => [...Object.entries(CONFIG.DH.ITEM.weaponFeatures), ...Object.entries(CONFIG.DH.ITEM.armorFeatures)].map(([k,v]) => ({ value: k, label: v.label})),
|
choices: () => [...Object.entries(CONFIG.DH.ITEM.weaponFeatures), ...Object.entries(CONFIG.DH.ITEM.armorFeatures)].map(([k,v]) => ({ value: k, label: v.label})),
|
||||||
operator: "contains3"
|
operator: "contains3"
|
||||||
|
|
|
||||||
|
|
@ -380,7 +380,7 @@ export const armorFeatures = {
|
||||||
img: 'icons/magic/time/hourglass-brown-orange.webp',
|
img: 'icons/magic/time/hourglass-brown-orange.webp',
|
||||||
cost: [
|
cost: [
|
||||||
{
|
{
|
||||||
key: 'armorStack',
|
key: 'armorSlot',
|
||||||
value: 1
|
value: 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -148,7 +148,7 @@ export default class DHArmor extends AttachableItem {
|
||||||
return labels;
|
return labels;
|
||||||
}
|
}
|
||||||
|
|
||||||
get features() {
|
get itemFeatures() {
|
||||||
return this.armorFeatures;
|
return this.armorFeatures;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
|
||||||
return this.actions;
|
return this.actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
get features() {
|
get itemFeatures() {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ export default class DHWeapon extends AttachableItem {
|
||||||
return labels;
|
return labels;
|
||||||
}
|
}
|
||||||
|
|
||||||
get features() {
|
get itemFeatures() {
|
||||||
return this.weaponFeatures;
|
return this.weaponFeatures;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"img": "icons/magic/time/hourglass-brown-orange.webp",
|
"img": "icons/magic/time/hourglass-brown-orange.webp",
|
||||||
"cost": [
|
"cost": [
|
||||||
{
|
{
|
||||||
"key": "armorStack",
|
"key": "armorSlot",
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"keyIsID": false,
|
"keyIsID": false,
|
||||||
"scalable": false,
|
"scalable": false,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
},
|
},
|
||||||
"cost": [
|
"cost": [
|
||||||
{
|
{
|
||||||
"key": "armorStack",
|
"key": "armorSlot",
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"keyIsID": false,
|
"keyIsID": false,
|
||||||
"scalable": false,
|
"scalable": false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue