Corrected the SRD to use base effects again

This commit is contained in:
WBHarry 2026-03-21 01:43:25 +01:00
parent 4113f6c562
commit 8a728e6c27
51 changed files with 316 additions and 174 deletions

View file

@ -493,19 +493,15 @@ export const weaponFeatures = {
key: 'system.evasion', key: 'system.evasion',
mode: 2, mode: 2,
value: '-1' value: '-1'
}
]
}, },
{ {
key: 'Armor',
type: 'armor', type: 'armor',
name: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.effects.barrier.name', typeData: {
description: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.effects.barrier.description',
img: 'icons/skills/melee/shield-block-bash-blue.webp',
changes: [
{
type: 'armor', type: 'armor',
max: 'ITEM.@system.tier + 1' max: 'ITEM.@system.tier + 1'
} }
}
] ]
} }
] ]
@ -812,24 +808,20 @@ export const weaponFeatures = {
} }
}, },
{ {
type: 'armor',
name: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.effects.doubleDuty.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.effects.doubleDuty.name',
description: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.effects.doubleDuty.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.effects.doubleDuty.description',
img: 'icons/skills/melee/sword-shield-stylized-white.webp', img: 'icons/skills/melee/sword-shield-stylized-white.webp',
changes: [ changes: [
{ {
key: 'Armor',
type: 'armor',
value: 0,
typeData: {
type: 'armor', type: 'armor',
max: 1 max: 1
} }
],
system: {
rangeDependence: {
enabled: true,
range: 'melee',
target: 'hostile',
type: 'withinRange'
}
} }
]
} }
] ]
}, },
@ -1208,15 +1200,19 @@ export const weaponFeatures = {
description: 'DAGGERHEART.CONFIG.WeaponFeature.protective.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.protective.description',
effects: [ effects: [
{ {
type: 'armor',
name: 'DAGGERHEART.CONFIG.WeaponFeature.protective.effects.protective.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.protective.effects.protective.name',
description: 'DAGGERHEART.CONFIG.WeaponFeature.protective.effects.protective.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.protective.effects.protective.description',
img: 'icons/skills/melee/shield-block-gray-orange.webp', img: 'icons/skills/melee/shield-block-gray-orange.webp',
changes: [ changes: [
{ {
key: 'Armor',
type: 'armor',
value: 0,
typeData: {
type: 'armor', type: 'armor',
max: 'ITEM.@system.tier' max: 'ITEM.@system.tier'
} }
}
] ]
} }
] ]

View file

@ -26,6 +26,8 @@ export default class Armor extends foundry.abstract.DataModel {
label: 'Armor', label: 'Armor',
defaultPriortiy: 20, defaultPriortiy: 20,
handler: (actor, change, _options, _field, replacementData) => { handler: (actor, change, _options, _field, replacementData) => {
const parsedMax = itemAbleRollParse(change.typeData.max, actor, change.effect.parent);
game.system.api.documents.DhActiveEffect.applyChange( game.system.api.documents.DhActiveEffect.applyChange(
actor, actor,
{ {
@ -42,7 +44,7 @@ export default class Armor extends foundry.abstract.DataModel {
...change, ...change,
key: 'system.armorScore.max', key: 'system.armorScore.max',
type: CONFIG.DH.GENERAL.activeEffectModes.add.id, type: CONFIG.DH.GENERAL.activeEffectModes.add.id,
value: change.typeData.max value: parsedMax
}, },
replacementData replacementData
); );

View file

@ -90,19 +90,22 @@
"effects": [ "effects": [
{ {
"name": "Armorer", "name": "Armorer",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"max": "1" "typeData": {
} "type": "armor",
], "max": "1",
"armorInteraction": "active" "armorInteraction": "active"
}
}
]
}, },
"_id": "tJw2JIPcT9hEMRXg", "_id": "tJw2JIPcT9hEMRXg",
"img": "icons/tools/hand/hammer-and-nail.webp", "img": "icons/tools/hand/hammer-and-nail.webp",

View file

@ -22,19 +22,22 @@
"effects": [ "effects": [
{ {
"name": "Bare Bones Armor", "name": "Bare Bones Armor",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"value": 0, "value": 0,
"max": "3 + @system.traits.strength.value", "key": "Armor",
"key": "system.armorScore",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20 "priority": 20,
} "typeData": {
], "type": "armor",
"max": "3 + @system.traits.strength.value",
"armorInteraction": "inactive" "armorInteraction": "inactive"
}
}
]
}, },
"_id": "FCsgz7Tdsw6QUzBs", "_id": "FCsgz7Tdsw6QUzBs",
"img": "icons/magic/control/buff-strength-muscle-damage-orange.webp", "img": "icons/magic/control/buff-strength-muscle-damage-orange.webp",

View file

@ -253,7 +253,7 @@
"origin": "Compendium.daggerheart.domains.Item.YtZzYBtR0yLPPA93", "origin": "Compendium.daggerheart.domains.Item.YtZzYBtR0yLPPA93",
"transfer": false, "transfer": false,
"_id": "ptYT10JZ2WJHvFMd", "_id": "ptYT10JZ2WJHvFMd",
"type": "armor", "type": "base",
"system": { "system": {
"rangeDependence": { "rangeDependence": {
"enabled": false, "enabled": false,
@ -263,13 +263,16 @@
}, },
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "1" "max": "1"
} }
}
], ],
"duration": { "duration": {
"type": "shortRest" "type": "shortRest"

View file

@ -91,17 +91,20 @@
"effects": [ "effects": [
{ {
"name": "Valor-Touched", "name": "Valor-Touched",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "1" "max": "1"
} }
}
] ]
}, },
"_id": "Ma8Zp005QYKPWIEN", "_id": "Ma8Zp005QYKPWIEN",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!LzLOJ9EVaHWAjoq9.qlzHOAnpBYzosQxK" "_key": "!items.effects!LzLOJ9EVaHWAjoq9.qlzHOAnpBYzosQxK"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "YehcKtTeJ18q0THd", "_id": "YehcKtTeJ18q0THd",

View file

@ -70,19 +70,22 @@
"_key": "!items.effects!crIbCb9NZ4K0VpoU.awdHgEaM54G3emOU" "_key": "!items.effects!crIbCb9NZ4K0VpoU.awdHgEaM54G3emOU"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "Xp0MlTLdCe2oP36X", "_id": "Xp0MlTLdCe2oP36X",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!epkAmlZVk7HOfUUT.Fq9Q93IHCchhfSss" "_key": "!items.effects!epkAmlZVk7HOfUUT.Fq9Q93IHCchhfSss"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "GyPhsm7zLznZDfN2", "_id": "GyPhsm7zLznZDfN2",

View file

@ -27,19 +27,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "XJueICAnl5vu2q2U", "_id": "XJueICAnl5vu2q2U",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!WuoVwZA53XRAIt6d.Hy0sNtFS1JAXxgwC" "_key": "!items.effects!WuoVwZA53XRAIt6d.Hy0sNtFS1JAXxgwC"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "2OMciFns3bSETeH9", "_id": "2OMciFns3bSETeH9",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!mNN6pvcsS10ChrWF.s8KtTIngTjnOlaTP" "_key": "!items.effects!mNN6pvcsS10ChrWF.s8KtTIngTjnOlaTP"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "dIb9PWvzyS3jYDUj", "_id": "dIb9PWvzyS3jYDUj",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!haULhuEg37zUUvhb.ZfO5NjpqEIzZVlPq" "_key": "!items.effects!haULhuEg37zUUvhb.ZfO5NjpqEIzZVlPq"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "hA0EcaykFiIpg4ZH", "_id": "hA0EcaykFiIpg4ZH",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!vMJxEWz1srfwMsoj.8bwf1Ri3jYkjphEv" "_key": "!items.effects!vMJxEWz1srfwMsoj.8bwf1Ri3jYkjphEv"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "Wejd1c4e8VtnFoc4", "_id": "Wejd1c4e8VtnFoc4",

View file

@ -64,19 +64,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "FgjNYkbghYSz8gwW", "_id": "FgjNYkbghYSz8gwW",

View file

@ -90,19 +90,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "7" "max": "7"
} }
}
] ]
}, },
"_id": "n4wyEBHbHIuYNBzt", "_id": "n4wyEBHbHIuYNBzt",

View file

@ -66,19 +66,22 @@
"_key": "!items.effects!Q6LxmtFetDDkoZVZ.xGxqTCO8MjNq5Cw6" "_key": "!items.effects!Q6LxmtFetDDkoZVZ.xGxqTCO8MjNq5Cw6"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "gZfuMqjYTYLspQop", "_id": "gZfuMqjYTYLspQop",

View file

@ -88,19 +88,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "5t3jCX3AGiWBB4DN", "_id": "5t3jCX3AGiWBB4DN",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!7emTSt6nhZuTlvt5.QIefVb73cm9gYju8" "_key": "!items.effects!7emTSt6nhZuTlvt5.QIefVb73cm9gYju8"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "9jCrg3Acd75jVclW", "_id": "9jCrg3Acd75jVclW",

View file

@ -70,19 +70,22 @@
"_key": "!items.effects!UdUJNa31WxFW2noa.mfKMW9SX3Mnos1nY" "_key": "!items.effects!UdUJNa31WxFW2noa.mfKMW9SX3Mnos1nY"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "OmGtjOMcTHNN6OsH", "_id": "OmGtjOMcTHNN6OsH",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!yJFp1bfpecDcStVK.v1FNEsypRF5W6vVc" "_key": "!items.effects!yJFp1bfpecDcStVK.v1FNEsypRF5W6vVc"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "3" "max": "3"
} }
}
] ]
}, },
"_id": "ySw8mkws8rxzxsg4", "_id": "ySw8mkws8rxzxsg4",

View file

@ -81,19 +81,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "nyoNusMuukJt1MJw", "_id": "nyoNusMuukJt1MJw",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!K5WkjS0NGqHYmhU3.JHupzYULxdQzFzuj" "_key": "!items.effects!K5WkjS0NGqHYmhU3.JHupzYULxdQzFzuj"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "7FdWcilv74zKcXWk", "_id": "7FdWcilv74zKcXWk",

View file

@ -70,19 +70,22 @@
"_key": "!items.effects!9f7RozpPTqrzJS1m.wstJ1aKKtmXgCwxB" "_key": "!items.effects!9f7RozpPTqrzJS1m.wstJ1aKKtmXgCwxB"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "qgA4nbITVOp2WTpl", "_id": "qgA4nbITVOp2WTpl",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!jphnMZjnS2FkOH3s.BFwU3ErPaajUSMUz" "_key": "!items.effects!jphnMZjnS2FkOH3s.BFwU3ErPaajUSMUz"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "dtkOq7rUKj5nLGJP", "_id": "dtkOq7rUKj5nLGJP",

View file

@ -27,19 +27,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "JqnUKeUDbH4YJbVb", "_id": "JqnUKeUDbH4YJbVb",

View file

@ -77,19 +77,22 @@
"_key": "!items.effects!tzZntboNtHL5C6VM.P3aCN8PQgPXP4C9M" "_key": "!items.effects!tzZntboNtHL5C6VM.P3aCN8PQgPXP4C9M"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "6Mh24zh1c3aK60wZ", "_id": "6Mh24zh1c3aK60wZ",

View file

@ -27,19 +27,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "3" "max": "3"
} }
}
] ]
}, },
"_id": "2enPnnikOoG0oIZP", "_id": "2enPnnikOoG0oIZP",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!EsIN5OLKe9ZYFNXZ.8Oa6Y375X8UpcPph" "_key": "!items.effects!EsIN5OLKe9ZYFNXZ.8Oa6Y375X8UpcPph"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "7" "max": "7"
} }
}
] ]
}, },
"_id": "kqNdkD1d4FOQloMV", "_id": "kqNdkD1d4FOQloMV",

View file

@ -70,19 +70,22 @@
"_key": "!items.effects!SXWjUR2aUR6bYvdl.zvzkRX2Uevemmbz4" "_key": "!items.effects!SXWjUR2aUR6bYvdl.zvzkRX2Uevemmbz4"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "7" "max": "7"
} }
}
] ]
}, },
"_id": "kFxM3Et2bPzghJWm", "_id": "kFxM3Et2bPzghJWm",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!c6tMXz4rPf9ioQrf.3AUNxBoj7mp1ziJQ" "_key": "!items.effects!c6tMXz4rPf9ioQrf.3AUNxBoj7mp1ziJQ"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "jdD0dJoh8gdGdh6W", "_id": "jdD0dJoh8gdGdh6W",

View file

@ -27,19 +27,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "gP4PsefQLSTcBAQm", "_id": "gP4PsefQLSTcBAQm",

View file

@ -65,19 +65,22 @@
"_key": "!items.effects!AQzU2RsqS5V5bd1v.3n4O7PyAWMEFdr5p" "_key": "!items.effects!AQzU2RsqS5V5bd1v.3n4O7PyAWMEFdr5p"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "xMJr6Zj9zZd7v5uD", "_id": "xMJr6Zj9zZd7v5uD",

View file

@ -57,19 +57,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "ebhSsuWrFYUVkGXC", "_id": "ebhSsuWrFYUVkGXC",

View file

@ -64,19 +64,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "pw8CD3IFNqb7530v", "_id": "pw8CD3IFNqb7530v",

View file

@ -64,19 +64,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "4" "max": "4"
} }
}
] ]
}, },
"_id": "Y4ZSoO0iGxLiNr80", "_id": "Y4ZSoO0iGxLiNr80",

View file

@ -95,19 +95,22 @@
"_key": "!items.effects!8X16lJQ3xltTwynm.rkrqlwqtR9REgRx7" "_key": "!items.effects!8X16lJQ3xltTwynm.rkrqlwqtR9REgRx7"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "8" "max": "8"
} }
}
] ]
}, },
"_id": "vNGSiFtcEBCz6jFQ", "_id": "vNGSiFtcEBCz6jFQ",

View file

@ -70,19 +70,22 @@
"_key": "!items.effects!QjwsIhXKqnlvRBMv.V8CcTcVAIxHq8KNd" "_key": "!items.effects!QjwsIhXKqnlvRBMv.V8CcTcVAIxHq8KNd"
}, },
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "jfcv9NL2RtlfpECz", "_id": "jfcv9NL2RtlfpECz",

View file

@ -57,19 +57,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "5" "max": "5"
} }
}
] ]
}, },
"_id": "E8iCCJSpPbCMostx", "_id": "E8iCCJSpPbCMostx",

View file

@ -57,19 +57,22 @@
}, },
"effects": [ "effects": [
{ {
"type": "armor", "type": "base",
"name": "Armor Effect", "name": "Armor Effect",
"img": "icons/equipment/chest/breastplate-helmet-metal.webp", "img": "icons/equipment/chest/breastplate-helmet-metal.webp",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "6" "max": "6"
} }
}
] ]
}, },
"_id": "avGWSRMFFLbdJaYC", "_id": "avGWSRMFFLbdJaYC",

View file

@ -114,17 +114,20 @@
"description": "<p>Add the item's Tier to your Armor Score</p>", "description": "<p>Add the item's Tier to your Armor Score</p>",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"_id": "7285CRGdZfHCEtT2", "_id": "7285CRGdZfHCEtT2",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier" "max": "ITEM.@system.tier"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -152,17 +152,20 @@
"description": "Gain Weapon Tier + 1 to Armor Score; -1 to Evasion", "description": "Gain Weapon Tier + 1 to Armor Score; -1 to Evasion",
"img": "icons/skills/melee/shield-block-bash-blue.webp", "img": "icons/skills/melee/shield-block-bash-blue.webp",
"_id": "J0f7zqqOr61ADpdy", "_id": "J0f7zqqOr61ADpdy",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier + 1" "max": "ITEM.@system.tier + 1"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -114,17 +114,20 @@
"description": "<p>Add the item's Tier to your Armor Score</p>", "description": "<p>Add the item's Tier to your Armor Score</p>",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"_id": "pZCrWd7zLTarvEQK", "_id": "pZCrWd7zLTarvEQK",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier" "max": "ITEM.@system.tier"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -152,17 +152,20 @@
"description": "Gain Weapon Tier + 1 to Armor Score; -1 to Evasion", "description": "Gain Weapon Tier + 1 to Armor Score; -1 to Evasion",
"img": "icons/skills/melee/shield-block-bash-blue.webp", "img": "icons/skills/melee/shield-block-bash-blue.webp",
"_id": "XugJeHJdnC6IymSa", "_id": "XugJeHJdnC6IymSa",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier + 1" "max": "ITEM.@system.tier + 1"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -114,17 +114,20 @@
"description": "Add your character's Tier to your Armor Score", "description": "Add your character's Tier to your Armor Score",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"_id": "vnR4Zhnb0rOqwrFw", "_id": "vnR4Zhnb0rOqwrFw",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier" "max": "ITEM.@system.tier"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -114,17 +114,20 @@
"description": "<p>Add the item's Tier to your Armor Score</p>", "description": "<p>Add the item's Tier to your Armor Score</p>",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"_id": "EixxJrRHyc6kj3Wg", "_id": "EixxJrRHyc6kj3Wg",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier" "max": "ITEM.@system.tier"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -152,17 +152,20 @@
"description": "Gain Weapon Tier + 1 to Armor Score; -1 to Evasion", "description": "Gain Weapon Tier + 1 to Armor Score; -1 to Evasion",
"img": "icons/skills/melee/shield-block-bash-blue.webp", "img": "icons/skills/melee/shield-block-bash-blue.webp",
"_id": "1fgUIaXl6VQrhP7j", "_id": "1fgUIaXl6VQrhP7j",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier + 1" "max": "ITEM.@system.tier + 1"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -114,17 +114,20 @@
"description": "<p>Add the item's Tier to your Armor Score</p>", "description": "<p>Add the item's Tier to your Armor Score</p>",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"_id": "eV4lFIpQMiKERj4U", "_id": "eV4lFIpQMiKERj4U",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier" "max": "ITEM.@system.tier"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -160,17 +160,20 @@
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "1" "max": "1"
} }
}
] ]
}, },
"_id": "mvUY9LGfwICak7cE", "_id": "mvUY9LGfwICak7cE",
"type": "armor", "type": "base",
"disabled": false, "disabled": false,
"duration": { "duration": {
"value": null, "value": null,

View file

@ -152,17 +152,20 @@
"description": "Gain Weapon Tier + 1 to Armor Score; -1 to Evasion", "description": "Gain Weapon Tier + 1 to Armor Score; -1 to Evasion",
"img": "icons/skills/melee/shield-block-bash-blue.webp", "img": "icons/skills/melee/shield-block-bash-blue.webp",
"_id": "tLRc4UAnGuIq7er3", "_id": "tLRc4UAnGuIq7er3",
"type": "armor", "type": "base",
"system": { "system": {
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "Armor",
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20, "priority": 20,
"value": 0, "value": 0,
"typeData": {
"type": "armor",
"max": "ITEM.@system.tier + 1" "max": "ITEM.@system.tier + 1"
} }
}
] ]
}, },
"disabled": false, "disabled": false,

View file

@ -20,7 +20,7 @@
<header> <header>
<div>{{localize "EFFECT.FIELDS.changes.element.value.label"}}</div> <div>{{localize "EFFECT.FIELDS.changes.element.value.label"}}</div>
<div>{{localize "DAGGERHEART.GENERAL.max"}}</div> <div>{{localize "DAGGERHEART.GENERAL.max"}}</div>
<div>{{localize "DAGGERHEART.EFFECTS.Armor.FIELDS.armorInteraction.label"}}</div> <div>{{localize "DAGGERHEART.EFFECTS.ChangeTypes.armor.FIELDS.armorInteraction.label"}}</div>
<div>{{localize "EFFECT.FIELDS.changes.element.priority.label"}}</div> <div>{{localize "EFFECT.FIELDS.changes.element.priority.label"}}</div>
</header> </header>
<ol class="scrollable"> <ol class="scrollable">