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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -20,7 +20,7 @@
<header>
<div>{{localize "EFFECT.FIELDS.changes.element.value.label"}}</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>
</header>
<ol class="scrollable">