diff --git a/lang/en.json b/lang/en.json index b6684e59..14218311 100755 --- a/lang/en.json +++ b/lang/en.json @@ -2980,7 +2980,8 @@ "domainTouchRequirement": "This domain card requires {nr} {domain} cards in the loadout to be used", "knowTheTide": "Know The Tide gained a token", "cannotAlterArmorEffectChanges": "You cannot alter the changes length of an armor effect", - "cannotAlterArmorEffectType": "You cannot alter the type of armor effect changes" + "cannotAlterArmorEffectType": "You cannot alter the type of armor effect changes", + "cannotAlterArmorEffectKey": "You cannot alter they key of armor effect changes" }, "Progress": { "migrationLabel": "Performing system migration. Please wait and do not close Foundry." diff --git a/module/applications/dialogs/damageReductionDialog.mjs b/module/applications/dialogs/damageReductionDialog.mjs index 494bad0f..d4a2b4d3 100644 --- a/module/applications/dialogs/damageReductionDialog.mjs +++ b/module/applications/dialogs/damageReductionDialog.mjs @@ -173,7 +173,7 @@ export default class DamageReductionDialog extends HandlebarsApplicationMixin(Ap ? Object.values(this.availableStressReductions).filter(red => red.selected) : []; const currentMarks = - this.actor.system.armor.system.marks.value + selectedArmorMarks.length + selectedStressMarks.length; + this.actor.system.armorScore.value + selectedArmorMarks.length + selectedStressMarks.length; const armorMarkReduction = selectedArmorMarks.length * this.actor.system.rules.damageReduction.increasePerArmorMark; diff --git a/module/applications/sheets-configs/action-config.mjs b/module/applications/sheets-configs/action-config.mjs index 0dbc377a..e75e16ab 100644 --- a/module/applications/sheets-configs/action-config.mjs +++ b/module/applications/sheets-configs/action-config.mjs @@ -24,9 +24,12 @@ export default class DHActionConfig extends DHActionBaseConfig { const effectData = this._addEffectData.bind(this)(); const data = this.action.toObject(); - const [created] = await this.action.item.createEmbeddedDocuments('ActiveEffect', [effectData], { + const created = await game.system.api.documents.DhActiveEffect.createDialog(effectData, { + parent: this.action.item, render: false }); + if (!created) return; + data.effects.push({ _id: created._id }); this.constructor.updateForm.bind(this)(null, null, { object: foundry.utils.flattenObject(data) }); this.action.item.effects.get(created._id).sheet.render(true); diff --git a/module/applications/sheets/api/application-mixin.mjs b/module/applications/sheets/api/application-mixin.mjs index 4de3d2be..aa04baed 100644 --- a/module/applications/sheets/api/application-mixin.mjs +++ b/module/applications/sheets/api/application-mixin.mjs @@ -511,7 +511,7 @@ export default function DHApplicationMixin(Base) { icon: 'fa-solid fa-trash', condition: target => { const doc = getDocFromElementSync(target); - return doc && doc.type !== 'beastform'; + return !doc || doc.type !== 'beastform'; }, callback: async (target, event) => { const doc = await getDocFromElement(target); diff --git a/module/config/itemConfig.mjs b/module/config/itemConfig.mjs index 7d80e597..06f3b004 100644 --- a/module/config/itemConfig.mjs +++ b/module/config/itemConfig.mjs @@ -491,17 +491,24 @@ export const weaponFeatures = { description: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.effects.barrier.description', img: 'icons/skills/melee/shield-block-bash-blue.webp', changes: [ - { - key: 'system.armorScore', - mode: 2, - value: 'ITEM.@system.tier + 1' - }, { 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: [ + { + type: 'armor', + max: 'ITEM.@system.tier + 1' + } + ] } ] }, @@ -791,11 +798,6 @@ export const weaponFeatures = { description: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.effects.doubleDuty.description', img: 'icons/skills/melee/sword-shield-stylized-white.webp', changes: [ - { - key: 'system.armorScore', - mode: 2, - value: '1' - }, { key: 'system.bonuses.damage.primaryWeapon.bonus', mode: 2, @@ -810,6 +812,26 @@ export const weaponFeatures = { type: 'withinRange' } } + }, + { + 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: [ + { + type: 'armor', + max: 1 + } + ], + system: { + rangeDependence: { + enabled: true, + range: 'melee', + target: 'hostile', + type: 'withinRange' + } + } } ] }, @@ -1188,14 +1210,14 @@ 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: 'system.armorScore', - mode: 2, - value: 'ITEM.@system.tier' + type: 'armor', + max: 'ITEM.@system.tier' } ] } diff --git a/module/data/activeEffect/armorEffect.mjs b/module/data/activeEffect/armorEffect.mjs index c277c904..d32d24b2 100644 --- a/module/data/activeEffect/armorEffect.mjs +++ b/module/data/activeEffect/armorEffect.mjs @@ -1,4 +1,4 @@ -import { getScrollTextData } from '../../helpers/utils.mjs'; +import { getScrollTextData, itemAbleRollParse } from '../../helpers/utils.mjs'; /** * ArmorEffects are ActiveEffects that have a static changes field of length 1. It includes current and maximum armor. @@ -12,6 +12,11 @@ export default class ArmorEffect extends foundry.data.ActiveEffectTypeDataModel ...super.defineSchema(), changes: new fields.ArrayField( new fields.SchemaField({ + key: new fields.StringField({ + required: true, + nullable: false, + initial: 'system.armorScore' + }), type: new fields.StringField({ required: true, blank: false, @@ -27,22 +32,22 @@ export default class ArmorEffect extends foundry.data.ActiveEffectTypeDataModel min: 0, label: 'DAGGERHEART.GENERAL.value' }), - max: new fields.NumberField({ + max: new fields.StringField({ required: true, - integer: true, - initial: 1, - min: 1, + nullable: false, + initial: '1', label: 'DAGGERHEART.GENERAL.max' }) }), { initial: [ { + key: 'system.armorScore', type: CONFIG.DH.GENERAL.activeEffectModes.armor.id, phase: 'initial', priority: 20, value: 0, - max: 1 + max: '1' } ] } @@ -99,7 +104,17 @@ export default class ArmorEffect extends foundry.data.ActiveEffectTypeDataModel get armorChange() { if (this.changes.length !== 1) throw new Error('Unexpected error. An armor effect should have a changes field of length 1.'); - return this.changes[0]; + + const actor = this.parent.actor?.type === 'character' ? this.parent.actor : null; + const changeData = this.changes[0]; + const maxParse = actor ? itemAbleRollParse(changeData.max, actor, this.parent.parent) : null; + const maxRoll = maxParse ? new Roll(maxParse).evaluateSync() : null; + const maxEvaluated = maxRoll ? (maxRoll.isDeterministic ? maxRoll.total : null) : null; + + return { + ...changeData, + max: maxEvaluated ?? changeData.max + }; } get armorData() { @@ -121,40 +136,39 @@ export default class ArmorEffect extends foundry.data.ActiveEffectTypeDataModel static orderEffectsForAutoChange(armorEffects, increasing) { const getEffectWeight = effect => { switch (effect.parent.type) { - case 'loot': - case 'consumable': - return 2; case 'class': case 'subclass': case 'ancestry': case 'community': case 'feature': case 'domainCard': - return 3; - case 'weapon': + return 2; case 'armor': + return 3; + case 'loot': + case 'consumable': return 4; - case 'character': + case 'weapon': return 5; + case 'character': + return 6; default: return 1; } }; - return armorEffects.sort((a, b) => - increasing ? getEffectWeight(b) - getEffectWeight(a) : getEffectWeight(a) - getEffectWeight(b) - ); + return armorEffects + .filter(x => !x.disabled && !x.isSuppressed) + .sort((a, b) => + increasing ? getEffectWeight(b) - getEffectWeight(a) : getEffectWeight(a) - getEffectWeight(b) + ); } /* Overrides */ - prepareBaseData() { - const armorChange = this.armorChange; - armorChange.key = 'system.armorScore'; - } - static getDefaultObject() { return { + key: 'system.armorScore', type: 'armor', name: game.i18n.localize('DAGGERHEART.EFFECTS.Armor.newArmorEffect'), img: 'icons/equipment/chest/breastplate-helmet-metal.webp' @@ -174,18 +188,29 @@ export default class ArmorEffect extends foundry.data.ActiveEffectTypeDataModel return false; } - if ( - changes.system.changes.length === 1 && - changes.system.changes[0].type !== CONFIG.DH.GENERAL.activeEffectModes.armor.id - ) { - ui.notifications.error(game.i18n.localize('DAGGERHEART.UI.Notifications.cannotAlterArmorEffectType')); - return false; - } + if (changes.system.changes.length === 1) { + if (changes.system.changes[0].type !== CONFIG.DH.GENERAL.activeEffectModes.armor.id) { + ui.notifications.error( + game.i18n.localize('DAGGERHEART.UI.Notifications.cannotAlterArmorEffectType') + ); + return false; + } - if (changes.system.changes[0].value !== this.armorChange.value && this.parent.actor?.type === 'character') { - const increased = changes.system.changes[0].value > this.armorChange.value; - const value = -1 * (this.armorChange.value - changes.system.changes[0].value); - options.scrollingTextData = [getScrollTextData(increased, value, 'armor')]; + if (changes.system.changes[0].key !== 'system.armorScore') { + ui.notifications.error( + game.i18n.localize('DAGGERHEART.UI.Notifications.cannotAlterArmorEffectKey') + ); + return false; + } + + if ( + changes.system.changes[0].value !== this.armorChange.value && + this.parent.actor?.type === 'character' + ) { + const increased = changes.system.changes[0].value > this.armorChange.value; + const value = -1 * (this.armorChange.value - changes.system.changes[0].value); + options.scrollingTextData = [getScrollTextData(increased, value, 'armor')]; + } } } } diff --git a/module/documents/actor.mjs b/module/documents/actor.mjs index da399df5..64e877c9 100644 --- a/module/documents/actor.mjs +++ b/module/documents/actor.mjs @@ -993,4 +993,8 @@ export default class DhpActor extends Actor { } } } + + applyActiveEffects(phase) { + super.applyActiveEffects(phase); + } } diff --git a/module/documents/item.mjs b/module/documents/item.mjs index ce87db4e..56048a81 100644 --- a/module/documents/item.mjs +++ b/module/documents/item.mjs @@ -233,7 +233,7 @@ export default class DHItem extends foundry.documents.Item { /** @inheritDoc */ static migrateData(source) { - const documentClass = game.system.api.data.items[`DH${source.type.capitalize()}`]; + const documentClass = game.system.api.data.items[`DH${source.type?.capitalize()}`]; if (documentClass?.migrateDocumentData) { documentClass.migrateDocumentData(source); } diff --git a/module/systemRegistration/migrations.mjs b/module/systemRegistration/migrations.mjs index 2b558ee2..6bfb32ee 100644 --- a/module/systemRegistration/migrations.mjs +++ b/module/systemRegistration/migrations.mjs @@ -313,7 +313,7 @@ export async function runMigrations() { phase: 'initial', priority: 20, value: 0, - max: migrationArmorScore + max: migrationArmorScore.toString() } ] } diff --git a/src/packs/domains/domainCard_Armorer_cy8GjBPGc9w9RaGO.json b/src/packs/domains/domainCard_Armorer_cy8GjBPGc9w9RaGO.json index aa9910dc..cb7bec9f 100644 --- a/src/packs/domains/domainCard_Armorer_cy8GjBPGc9w9RaGO.json +++ b/src/packs/domains/domainCard_Armorer_cy8GjBPGc9w9RaGO.json @@ -90,46 +90,42 @@ "effects": [ { "name": "Armorer", - "type": "base", + "type": "armor", "system": { - "rangeDependence": { - "enabled": false, - "type": "withinRange", - "target": "hostile", - "range": "melee" - } + "changes": [ + { + "key": "system.armorScore", + "type": "armor", + "phase": "initial", + "priority": 20, + "value": 0, + "max": "1" + } + ] }, - "_id": "cED730OjuMW5haJR", + "_id": "PczrmraHWZ54NJsW", "img": "icons/tools/hand/hammer-and-nail.webp", - "changes": [ - { - "key": "system.armorScore", - "mode": 2, - "value": "1", - "priority": null - } - ], "disabled": false, + "start": null, "duration": { - "startTime": null, - "combat": null, - "seconds": null, - "rounds": null, - "turns": null, - "startRound": null, - "startTurn": null + "value": null, + "units": "seconds", + "expiry": null, + "expired": false }, - "description": "

While you’re wearing armor, gain a +1 bonus to your Armor Score.

", + "description": "

While you’re wearing armor, gain a +1 bonus to your Armor Score.

", "origin": null, "tint": "#ffffff", "transfer": true, "statuses": [], + "showIcon": 1, + "folder": null, "sort": 0, "flags": {}, "_stats": { "compendiumSource": null }, - "_key": "!items.effects!cy8GjBPGc9w9RaGO.cED730OjuMW5haJR" + "_key": "!items.effects!cy8GjBPGc9w9RaGO.PczrmraHWZ54NJsW" } ], "ownership": { diff --git a/src/packs/domains/domainCard_Bare_Bones_l5D9kq901JDESaXw.json b/src/packs/domains/domainCard_Bare_Bones_l5D9kq901JDESaXw.json index 3b1ea76a..f6474623 100644 --- a/src/packs/domains/domainCard_Bare_Bones_l5D9kq901JDESaXw.json +++ b/src/packs/domains/domainCard_Bare_Bones_l5D9kq901JDESaXw.json @@ -4,7 +4,7 @@ "type": "domainCard", "folder": "QpOL7jPbMBzH96qR", "system": { - "description": "

When you choose not to equip armor, you have a base Armor Score of 3 + your Strength and use the following as your base damage thresholds:

Equip the below armor to use Bare Bones.

@UUID[Compendium.daggerheart.armors.Item.ITAjcigTcUw5pMCN]{Bare Bones}

", + "description": "

When you choose not to equip armor, you have a base Armor Score of 3 + your Strength and use the following as your base damage thresholds:

Equip the below armor to use Bare Bones.

", "domain": "valor", "recallCost": 0, "level": 1, @@ -19,7 +19,98 @@ } }, "flags": {}, - "effects": [], + "effects": [ + { + "name": "Bare Bones Armor", + "type": "armor", + "system": { + "changes": [ + { + "value": 0, + "max": "3 + @system.traits.strength.value", + "key": "system.armorScore", + "type": "armor", + "phase": "initial", + "priority": 20 + } + ] + }, + "_id": "Zn1nNUwjlkbRfbMc", + "img": "icons/magic/control/buff-strength-muscle-damage-orange.webp", + "disabled": false, + "start": null, + "duration": { + "value": null, + "units": "seconds", + "expiry": null, + "expired": false + }, + "description": "

You have a base Armor Score of 3 + your Strength

", + "origin": null, + "tint": "#ffffff", + "transfer": true, + "statuses": [], + "showIcon": 1, + "folder": null, + "sort": 0, + "flags": {}, + "_stats": { + "compendiumSource": null + }, + "_key": "!items.effects!l5D9kq901JDESaXw.Zn1nNUwjlkbRfbMc" + }, + { + "name": "Bare Bones", + "type": "base", + "system": { + "changes": [ + { + "key": "system.damageThresholds.major", + "type": "add", + "value": "9 + (@tier - 1) * 5 + max(0, (@tier -2) * 2 )", + "priority": null, + "phase": "initial" + }, + { + "key": "system.damageThresholds.severe", + "type": "add", + "value": "19 + (@tier - 1) * 5 + max(0, (@tier -2) * 2 )", + "priority": null, + "phase": "initial" + } + ], + "rangeDependence": { + "enabled": false, + "type": "withinRange", + "target": "hostile", + "range": "melee" + } + }, + "_id": "FazU8RFjMmTpXs7Z", + "img": "icons/magic/control/buff-strength-muscle-damage-orange.webp", + "disabled": false, + "start": null, + "duration": { + "value": null, + "units": "seconds", + "expiry": null, + "expired": false + }, + "description": "

You use the following as your base damage thresholds:

", + "origin": null, + "tint": "#ffffff", + "transfer": true, + "statuses": [], + "showIcon": 1, + "folder": null, + "sort": 0, + "flags": {}, + "_stats": { + "compendiumSource": null + }, + "_key": "!items.effects!l5D9kq901JDESaXw.FazU8RFjMmTpXs7Z" + } + ], "ownership": { "default": 0, "MQSznptE5yLT7kj8": 3 diff --git a/src/packs/domains/domainCard_Book_of_Ava_YtZzYBtR0yLPPA93.json b/src/packs/domains/domainCard_Book_of_Ava_YtZzYBtR0yLPPA93.json index 4ed5bd63..6dfc851a 100644 --- a/src/packs/domains/domainCard_Book_of_Ava_YtZzYBtR0yLPPA93.json +++ b/src/packs/domains/domainCard_Book_of_Ava_YtZzYBtR0yLPPA93.json @@ -105,7 +105,7 @@ }, "effects": [ { - "_id": "LdcT1nrkd5ORCU4n", + "_id": "OKf8Kjr6Px8A3ubJ", "onSave": false } ], @@ -252,43 +252,39 @@ "img": "icons/magic/defensive/shield-barrier-glowing-triangle-blue.webp", "origin": "Compendium.daggerheart.domains.Item.YtZzYBtR0yLPPA93", "transfer": false, - "_id": "LdcT1nrkd5ORCU4n", - "type": "base", + "type": "armor", + "_id": "OKf8Kjr6Px8A3ubJ", "system": { - "rangeDependence": { - "enabled": false, - "type": "withinRange", - "target": "hostile", - "range": "melee" - } + "changes": [ + { + "key": "system.armorScore", + "type": "armor", + "phase": "initial", + "priority": 20, + "value": 0, + "max": "1" + } + ] }, - "changes": [ - { - "key": "system.armorScore", - "mode": 2, - "value": "1", - "priority": null - } - ], "disabled": false, + "start": null, "duration": { - "startTime": null, - "combat": null, - "seconds": null, - "rounds": null, - "turns": null, - "startRound": null, - "startTurn": null + "value": null, + "units": "seconds", + "expiry": null, + "expired": false }, - "description": "

+1 bonus to your Armor Score until your next rest, or the caster cast's Tava’s Armor again.

", + "description": "

Spend a Hope to give a target you can touch a +1 bonus to their Armor Score until their next rest or you cast Tava’s Armor again.

", "tint": "#ffffff", "statuses": [], + "showIcon": 1, + "folder": null, "sort": 0, "flags": {}, "_stats": { "compendiumSource": null }, - "_key": "!items.effects!YtZzYBtR0yLPPA93.LdcT1nrkd5ORCU4n" + "_key": "!items.effects!YtZzYBtR0yLPPA93.OKf8Kjr6Px8A3ubJ" } ], "ownership": { diff --git a/src/packs/domains/domainCard_Valor_Touched_k1AtYd3lSchIymBr.json b/src/packs/domains/domainCard_Valor_Touched_k1AtYd3lSchIymBr.json index 20fe18ea..ee6e377e 100644 --- a/src/packs/domains/domainCard_Valor_Touched_k1AtYd3lSchIymBr.json +++ b/src/packs/domains/domainCard_Valor_Touched_k1AtYd3lSchIymBr.json @@ -91,46 +91,42 @@ "effects": [ { "name": "Valor-Touched", - "type": "base", + "type": "armor", "system": { - "rangeDependence": { - "enabled": false, - "type": "withinRange", - "target": "hostile", - "range": "melee" - } + "changes": [ + { + "key": "system.armorScore", + "type": "armor", + "phase": "initial", + "priority": 20, + "value": 0, + "max": "1" + } + ] }, - "_id": "H9lgIqqp1imSNOv9", + "_id": "JLw50ONfq1KJh1iM", "img": "icons/magic/control/control-influence-rally-purple.webp", - "changes": [ - { - "key": "system.armorScore", - "mode": 2, - "value": "1", - "priority": null - } - ], "disabled": false, + "start": null, "duration": { - "startTime": null, - "combat": null, - "seconds": null, - "rounds": null, - "turns": null, - "startRound": null, - "startTurn": null + "value": null, + "units": "seconds", + "expiry": null, + "expired": false }, - "description": "", + "description": "

+1 bonus to your Armor Score

", "origin": null, "tint": "#ffffff", "transfer": true, "statuses": [], + "showIcon": 1, + "folder": null, "sort": 0, "flags": {}, "_stats": { "compendiumSource": null }, - "_key": "!items.effects!k1AtYd3lSchIymBr.H9lgIqqp1imSNOv9" + "_key": "!items.effects!k1AtYd3lSchIymBr.JLw50ONfq1KJh1iM" } ], "ownership": { diff --git a/src/packs/domains/folders_Splendor_TL1TutmbeCVJ06nR.json b/src/packs/domains/folders_Splendor_TL1TutmbeCVJ06nR.json index d7032288..9c220def 100644 --- a/src/packs/domains/folders_Splendor_TL1TutmbeCVJ06nR.json +++ b/src/packs/domains/folders_Splendor_TL1TutmbeCVJ06nR.json @@ -6,7 +6,7 @@ "sorting": "m", "_id": "TL1TutmbeCVJ06nR", "description": "", - "sort": 900000, + "sort": 750000, "flags": {}, "_key": "!folders!TL1TutmbeCVJ06nR" } diff --git a/src/packs/items/armors/armor_Advanced_Chainmail_Armor_LzLOJ9EVaHWAjoq9.json b/src/packs/items/armors/armor_Advanced_Chainmail_Armor_LzLOJ9EVaHWAjoq9.json index e7c726af..7287d027 100644 --- a/src/packs/items/armors/armor_Advanced_Chainmail_Armor_LzLOJ9EVaHWAjoq9.json +++ b/src/packs/items/armors/armor_Advanced_Chainmail_Armor_LzLOJ9EVaHWAjoq9.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "I0649iXfgoME38fU", + "_id": "xU3zAv0sBiOGAE4i", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!LzLOJ9EVaHWAjoq9.I0649iXfgoME38fU" + "_key": "!items.effects!LzLOJ9EVaHWAjoq9.xU3zAv0sBiOGAE4i" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Advanced_Full_Plate_Armor_crIbCb9NZ4K0VpoU.json b/src/packs/items/armors/armor_Advanced_Full_Plate_Armor_crIbCb9NZ4K0VpoU.json index 2a06068f..6522c67a 100644 --- a/src/packs/items/armors/armor_Advanced_Full_Plate_Armor_crIbCb9NZ4K0VpoU.json +++ b/src/packs/items/armors/armor_Advanced_Full_Plate_Armor_crIbCb9NZ4K0VpoU.json @@ -80,11 +80,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "kRaWET7LV25rD4jy", + "_id": "TMxnzDzCmVibJWQ0", "disabled": false, "start": null, "duration": { @@ -105,7 +106,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!crIbCb9NZ4K0VpoU.kRaWET7LV25rD4jy" + "_key": "!items.effects!crIbCb9NZ4K0VpoU.TMxnzDzCmVibJWQ0" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Advanced_Gambeson_Armor_epkAmlZVk7HOfUUT.json b/src/packs/items/armors/armor_Advanced_Gambeson_Armor_epkAmlZVk7HOfUUT.json index 84c3b35a..d9ee9649 100644 --- a/src/packs/items/armors/armor_Advanced_Gambeson_Armor_epkAmlZVk7HOfUUT.json +++ b/src/packs/items/armors/armor_Advanced_Gambeson_Armor_epkAmlZVk7HOfUUT.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "lJBLFQHDjmgLsLL8", + "_id": "HxZEKljAth8b5Wcv", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!epkAmlZVk7HOfUUT.lJBLFQHDjmgLsLL8" + "_key": "!items.effects!epkAmlZVk7HOfUUT.HxZEKljAth8b5Wcv" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Advanced_Leather_Armor_itSOp2GCyem0f7oM.json b/src/packs/items/armors/armor_Advanced_Leather_Armor_itSOp2GCyem0f7oM.json index c7d039df..09a45a8a 100644 --- a/src/packs/items/armors/armor_Advanced_Leather_Armor_itSOp2GCyem0f7oM.json +++ b/src/packs/items/armors/armor_Advanced_Leather_Armor_itSOp2GCyem0f7oM.json @@ -37,11 +37,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "1vzHmkVScl1KyHxy", + "_id": "jSGmBv0I5FhxmTen", "disabled": false, "start": null, "duration": { @@ -62,7 +63,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!itSOp2GCyem0f7oM.1vzHmkVScl1KyHxy" + "_key": "!items.effects!itSOp2GCyem0f7oM.jSGmBv0I5FhxmTen" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Bare_Bones_ITAjcigTcUw5pMCN.json b/src/packs/items/armors/armor_Bare_Bones_ITAjcigTcUw5pMCN.json deleted file mode 100644 index 3e882f9f..00000000 --- a/src/packs/items/armors/armor_Bare_Bones_ITAjcigTcUw5pMCN.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "folder": "tI3bfr6Sgi16Z7zm", - "name": "Bare Bones", - "type": "armor", - "_id": "ITAjcigTcUw5pMCN", - "img": "icons/magic/control/buff-strength-muscle-damage.webp", - "system": { - "description": "

When you choose not to equip armor, you have a base Armor Score of 3 + your Strength and use the following as your base damage thresholds:

", - "actions": {}, - "attached": [], - "tier": 1, - "equipped": false, - "baseScore": 3, - "armorFeatures": [], - "marks": { - "value": 0 - }, - "baseThresholds": { - "major": 9, - "severe": 19 - } - }, - "effects": [ - { - "name": "Bare Bones", - "type": "base", - "system": { - "rangeDependence": { - "enabled": false, - "type": "withinRange", - "target": "hostile", - "range": "melee" - } - }, - "_id": "8ze88zUwdkQSKKJq", - "img": "icons/magic/control/buff-strength-muscle-damage.webp", - "changes": [ - { - "key": "system.armorScore", - "mode": 2, - "value": "@system.traits.strength.value", - "priority": 21 - } - ], - "disabled": false, - "duration": { - "startTime": null, - "combat": null, - "seconds": null, - "rounds": null, - "turns": null, - "startRound": null, - "startTurn": null - }, - "description": "

When you choose not to equip armor, you have a base Armor Score of 3 + your Strength and use the following as your base damage thresholds:

", - "origin": null, - "tint": "#ffffff", - "transfer": true, - "statuses": [], - "sort": 0, - "flags": {}, - "_stats": { - "compendiumSource": null - }, - "_key": "!items.effects!ITAjcigTcUw5pMCN.8ze88zUwdkQSKKJq" - }, - { - "type": "armor", - "name": "Armor Effect", - "img": "icons/equipment/chest/breastplate-helmet-metal.webp", - "system": { - "changes": [ - { - "type": "armor", - "phase": "initial", - "priority": 20, - "value": 0, - "max": 3 - } - ] - }, - "_id": "B5hlwTWBUSJYZurq", - "disabled": false, - "start": null, - "duration": { - "value": null, - "units": "seconds", - "expiry": null, - "expired": false - }, - "description": "", - "origin": null, - "tint": "#ffffff", - "transfer": true, - "statuses": [], - "showIcon": 1, - "folder": null, - "sort": 0, - "flags": {}, - "_stats": { - "compendiumSource": null - }, - "_key": "!items.effects!ITAjcigTcUw5pMCN.B5hlwTWBUSJYZurq" - } - ], - "sort": 0, - "ownership": { - "default": 0, - "MQSznptE5yLT7kj8": 3 - }, - "flags": {}, - "_key": "!items!ITAjcigTcUw5pMCN" -} diff --git a/src/packs/items/armors/armor_Bellamoi_Fine_Armor_WuoVwZA53XRAIt6d.json b/src/packs/items/armors/armor_Bellamoi_Fine_Armor_WuoVwZA53XRAIt6d.json index dafbe5b1..fc7c62eb 100644 --- a/src/packs/items/armors/armor_Bellamoi_Fine_Armor_WuoVwZA53XRAIt6d.json +++ b/src/packs/items/armors/armor_Bellamoi_Fine_Armor_WuoVwZA53XRAIt6d.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "lDRMjmZXRJDbhK03", + "_id": "34OQBJZZV3d5AN7U", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!WuoVwZA53XRAIt6d.lDRMjmZXRJDbhK03" + "_key": "!items.effects!WuoVwZA53XRAIt6d.34OQBJZZV3d5AN7U" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Bladefare_Armor_mNN6pvcsS10ChrWF.json b/src/packs/items/armors/armor_Bladefare_Armor_mNN6pvcsS10ChrWF.json index 8a6f1132..a82f0ba4 100644 --- a/src/packs/items/armors/armor_Bladefare_Armor_mNN6pvcsS10ChrWF.json +++ b/src/packs/items/armors/armor_Bladefare_Armor_mNN6pvcsS10ChrWF.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "qYkj3jKDdFzflfh4", + "_id": "6AGrG6Y1wUSY3mg5", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!mNN6pvcsS10ChrWF.qYkj3jKDdFzflfh4" + "_key": "!items.effects!mNN6pvcsS10ChrWF.6AGrG6Y1wUSY3mg5" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Chainmail_Armor_haULhuEg37zUUvhb.json b/src/packs/items/armors/armor_Chainmail_Armor_haULhuEg37zUUvhb.json index 7c161931..9fc6b7db 100644 --- a/src/packs/items/armors/armor_Chainmail_Armor_haULhuEg37zUUvhb.json +++ b/src/packs/items/armors/armor_Chainmail_Armor_haULhuEg37zUUvhb.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4", + "key": "system.armorScore" } ] }, - "_id": "d6ICO5qZArh0xF1y", + "_id": "RXsc2d47cauTWTf0", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!haULhuEg37zUUvhb.d6ICO5qZArh0xF1y" + "_key": "!items.effects!haULhuEg37zUUvhb.RXsc2d47cauTWTf0" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Channeling_Armor_vMJxEWz1srfwMsoj.json b/src/packs/items/armors/armor_Channeling_Armor_vMJxEWz1srfwMsoj.json index f7306c06..d37d45ff 100644 --- a/src/packs/items/armors/armor_Channeling_Armor_vMJxEWz1srfwMsoj.json +++ b/src/packs/items/armors/armor_Channeling_Armor_vMJxEWz1srfwMsoj.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "2q3uXc7EbTNSIjs8", + "_id": "dKK4sbP3DZQYdmTn", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!vMJxEWz1srfwMsoj.2q3uXc7EbTNSIjs8" + "_key": "!items.effects!vMJxEWz1srfwMsoj.dKK4sbP3DZQYdmTn" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Dragonscale_Armor_mdQ69eFHyAQUDmE7.json b/src/packs/items/armors/armor_Dragonscale_Armor_mdQ69eFHyAQUDmE7.json index 41b34d96..136b89d6 100644 --- a/src/packs/items/armors/armor_Dragonscale_Armor_mdQ69eFHyAQUDmE7.json +++ b/src/packs/items/armors/armor_Dragonscale_Armor_mdQ69eFHyAQUDmE7.json @@ -74,11 +74,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "a8frrkkR4i2TBFdF", + "_id": "kNq8nLq1ljLZZGDg", "disabled": false, "start": null, "duration": { @@ -99,7 +100,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!mdQ69eFHyAQUDmE7.a8frrkkR4i2TBFdF" + "_key": "!items.effects!mdQ69eFHyAQUDmE7.kNq8nLq1ljLZZGDg" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Dunamis_Silkchain_hAY6UgdGT7dj22Pr.json b/src/packs/items/armors/armor_Dunamis_Silkchain_hAY6UgdGT7dj22Pr.json index 1cb28c6f..9b858104 100644 --- a/src/packs/items/armors/armor_Dunamis_Silkchain_hAY6UgdGT7dj22Pr.json +++ b/src/packs/items/armors/armor_Dunamis_Silkchain_hAY6UgdGT7dj22Pr.json @@ -100,11 +100,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 7 + "max": "7", + "key": "system.armorScore" } ] }, - "_id": "a1x2R28RtXE2jqu5", + "_id": "sBTZAS0aYcE15RwZ", "disabled": false, "start": null, "duration": { @@ -125,7 +126,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!hAY6UgdGT7dj22Pr.a1x2R28RtXE2jqu5" + "_key": "!items.effects!hAY6UgdGT7dj22Pr.sBTZAS0aYcE15RwZ" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Elundrian_Chain_Armor_Q6LxmtFetDDkoZVZ.json b/src/packs/items/armors/armor_Elundrian_Chain_Armor_Q6LxmtFetDDkoZVZ.json index c1b233a9..d84108d8 100644 --- a/src/packs/items/armors/armor_Elundrian_Chain_Armor_Q6LxmtFetDDkoZVZ.json +++ b/src/packs/items/armors/armor_Elundrian_Chain_Armor_Q6LxmtFetDDkoZVZ.json @@ -76,11 +76,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4", + "key": "system.armorScore" } ] }, - "_id": "4yImObrCOaWLGxgH", + "_id": "uFvhPlk3FVGfQST4", "disabled": false, "start": null, "duration": { @@ -101,7 +102,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!Q6LxmtFetDDkoZVZ.4yImObrCOaWLGxgH" + "_key": "!items.effects!Q6LxmtFetDDkoZVZ.uFvhPlk3FVGfQST4" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Emberwoven_Armor_bcQUh4QG3qFX0Vx6.json b/src/packs/items/armors/armor_Emberwoven_Armor_bcQUh4QG3qFX0Vx6.json index 5ffdcc2e..92652f66 100644 --- a/src/packs/items/armors/armor_Emberwoven_Armor_bcQUh4QG3qFX0Vx6.json +++ b/src/packs/items/armors/armor_Emberwoven_Armor_bcQUh4QG3qFX0Vx6.json @@ -98,11 +98,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "8VtWedDMEX0tbqTn", + "_id": "Dg8Gx6G3nwAH9wt2", "disabled": false, "start": null, "duration": { @@ -123,7 +124,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!bcQUh4QG3qFX0Vx6.8VtWedDMEX0tbqTn" + "_key": "!items.effects!bcQUh4QG3qFX0Vx6.Dg8Gx6G3nwAH9wt2" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Full_Fortified_Armor_7emTSt6nhZuTlvt5.json b/src/packs/items/armors/armor_Full_Fortified_Armor_7emTSt6nhZuTlvt5.json index 25e47bc3..a4e21b75 100644 --- a/src/packs/items/armors/armor_Full_Fortified_Armor_7emTSt6nhZuTlvt5.json +++ b/src/packs/items/armors/armor_Full_Fortified_Armor_7emTSt6nhZuTlvt5.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4", + "key": "system.armorScore" } ] }, - "_id": "TRI0rfHs8RTSCmuY", + "_id": "XPbNhspFyOj8RIQJ", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!7emTSt6nhZuTlvt5.TRI0rfHs8RTSCmuY" + "_key": "!items.effects!7emTSt6nhZuTlvt5.XPbNhspFyOj8RIQJ" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Full_Plate_Armor_UdUJNa31WxFW2noa.json b/src/packs/items/armors/armor_Full_Plate_Armor_UdUJNa31WxFW2noa.json index 3bdb1c56..0400f59e 100644 --- a/src/packs/items/armors/armor_Full_Plate_Armor_UdUJNa31WxFW2noa.json +++ b/src/packs/items/armors/armor_Full_Plate_Armor_UdUJNa31WxFW2noa.json @@ -76,15 +76,16 @@ "system": { "changes": [ { + "key": "system.armorScore", "type": "armor", "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4" } ] }, - "_id": "VpaGM3KSKQFG5wC8", + "_id": "zji5nzTC1y8BUWHn", "disabled": false, "start": null, "duration": { @@ -105,7 +106,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!UdUJNa31WxFW2noa.VpaGM3KSKQFG5wC8" + "_key": "!items.effects!UdUJNa31WxFW2noa.zji5nzTC1y8BUWHn" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Gambeson_Armor_yJFp1bfpecDcStVK.json b/src/packs/items/armors/armor_Gambeson_Armor_yJFp1bfpecDcStVK.json index 6b30d4bc..eb8285cb 100644 --- a/src/packs/items/armors/armor_Gambeson_Armor_yJFp1bfpecDcStVK.json +++ b/src/packs/items/armors/armor_Gambeson_Armor_yJFp1bfpecDcStVK.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 3 + "max": "3", + "key": "system.armorScore" } ] }, - "_id": "qNXDdLhZkPe6Wnxa", + "_id": "72LkcLIihluGgx48", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!yJFp1bfpecDcStVK.qNXDdLhZkPe6Wnxa" + "_key": "!items.effects!yJFp1bfpecDcStVK.72LkcLIihluGgx48" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Harrowbone_Armor_dvyQeUVRLc9y6rnt.json b/src/packs/items/armors/armor_Harrowbone_Armor_dvyQeUVRLc9y6rnt.json index 9fd7971d..43057efa 100644 --- a/src/packs/items/armors/armor_Harrowbone_Armor_dvyQeUVRLc9y6rnt.json +++ b/src/packs/items/armors/armor_Harrowbone_Armor_dvyQeUVRLc9y6rnt.json @@ -91,11 +91,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4", + "key": "system.armorScore" } ] }, - "_id": "E3Zwl9T3EuK7hOOB", + "_id": "GYRwYD3CHW9q4N29", "disabled": false, "start": null, "duration": { @@ -116,7 +117,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!dvyQeUVRLc9y6rnt.E3Zwl9T3EuK7hOOB" + "_key": "!items.effects!dvyQeUVRLc9y6rnt.GYRwYD3CHW9q4N29" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Improved_Chainmail_Armor_K5WkjS0NGqHYmhU3.json b/src/packs/items/armors/armor_Improved_Chainmail_Armor_K5WkjS0NGqHYmhU3.json index 18b4f699..69b1bbae 100644 --- a/src/packs/items/armors/armor_Improved_Chainmail_Armor_K5WkjS0NGqHYmhU3.json +++ b/src/packs/items/armors/armor_Improved_Chainmail_Armor_K5WkjS0NGqHYmhU3.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "QXvJ3gL1kNcOLaqC", + "_id": "2KD6EdRL2L2gQkMR", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!K5WkjS0NGqHYmhU3.QXvJ3gL1kNcOLaqC" + "_key": "!items.effects!K5WkjS0NGqHYmhU3.2KD6EdRL2L2gQkMR" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Improved_Full_Plate_Armor_9f7RozpPTqrzJS1m.json b/src/packs/items/armors/armor_Improved_Full_Plate_Armor_9f7RozpPTqrzJS1m.json index bd163402..eb62a85b 100644 --- a/src/packs/items/armors/armor_Improved_Full_Plate_Armor_9f7RozpPTqrzJS1m.json +++ b/src/packs/items/armors/armor_Improved_Full_Plate_Armor_9f7RozpPTqrzJS1m.json @@ -80,11 +80,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "7ahyQs2byVwsUVAF", + "_id": "ehijWY3PGw1OaQr0", "disabled": false, "start": null, "duration": { @@ -105,7 +106,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!9f7RozpPTqrzJS1m.7ahyQs2byVwsUVAF" + "_key": "!items.effects!9f7RozpPTqrzJS1m.ehijWY3PGw1OaQr0" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Improved_Gambeson_Armor_jphnMZjnS2FkOH3s.json b/src/packs/items/armors/armor_Improved_Gambeson_Armor_jphnMZjnS2FkOH3s.json index aca1d66d..2e1b4f93 100644 --- a/src/packs/items/armors/armor_Improved_Gambeson_Armor_jphnMZjnS2FkOH3s.json +++ b/src/packs/items/armors/armor_Improved_Gambeson_Armor_jphnMZjnS2FkOH3s.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4", + "key": "system.armorScore" } ] }, - "_id": "uF8AksqGBBfKrrVM", + "_id": "d6QRNZ1X4wdoy82q", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!jphnMZjnS2FkOH3s.uF8AksqGBBfKrrVM" + "_key": "!items.effects!jphnMZjnS2FkOH3s.d6QRNZ1X4wdoy82q" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Improved_Leather_Armor_t91M61pSCMKStTNt.json b/src/packs/items/armors/armor_Improved_Leather_Armor_t91M61pSCMKStTNt.json index 5413c999..3dce3151 100644 --- a/src/packs/items/armors/armor_Improved_Leather_Armor_t91M61pSCMKStTNt.json +++ b/src/packs/items/armors/armor_Improved_Leather_Armor_t91M61pSCMKStTNt.json @@ -37,11 +37,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4", + "key": "system.armorScore" } ] }, - "_id": "OqL5x4lkQvjbzSGx", + "_id": "lQNHCtW6HnIj0b7F", "disabled": false, "start": null, "duration": { @@ -62,7 +63,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!t91M61pSCMKStTNt.OqL5x4lkQvjbzSGx" + "_key": "!items.effects!t91M61pSCMKStTNt.lQNHCtW6HnIj0b7F" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Irontree_Breastplate_Armor_tzZntboNtHL5C6VM.json b/src/packs/items/armors/armor_Irontree_Breastplate_Armor_tzZntboNtHL5C6VM.json index feba37e9..9be75429 100644 --- a/src/packs/items/armors/armor_Irontree_Breastplate_Armor_tzZntboNtHL5C6VM.json +++ b/src/packs/items/armors/armor_Irontree_Breastplate_Armor_tzZntboNtHL5C6VM.json @@ -87,11 +87,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4", + "key": "system.armorScore" } ] }, - "_id": "wKp8iBd3KfaMlzJh", + "_id": "jnjdtSTQF1zTSkEr", "disabled": false, "start": null, "duration": { @@ -112,7 +113,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!tzZntboNtHL5C6VM.wKp8iBd3KfaMlzJh" + "_key": "!items.effects!tzZntboNtHL5C6VM.jnjdtSTQF1zTSkEr" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Leather_Armor_nibfdNtp2PtxvbVz.json b/src/packs/items/armors/armor_Leather_Armor_nibfdNtp2PtxvbVz.json index 2f1548a7..5f79c177 100644 --- a/src/packs/items/armors/armor_Leather_Armor_nibfdNtp2PtxvbVz.json +++ b/src/packs/items/armors/armor_Leather_Armor_nibfdNtp2PtxvbVz.json @@ -37,11 +37,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 3 + "max": "3", + "key": "system.armorScore" } ] }, - "_id": "TbWKQ0R6AfNNeqNd", + "_id": "bkEJ55HhIYFnX1Tz", "disabled": false, "start": null, "duration": { @@ -62,7 +63,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!nibfdNtp2PtxvbVz.TbWKQ0R6AfNNeqNd" + "_key": "!items.effects!nibfdNtp2PtxvbVz.bkEJ55HhIYFnX1Tz" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Legendary_Chainmail_Armor_EsIN5OLKe9ZYFNXZ.json b/src/packs/items/armors/armor_Legendary_Chainmail_Armor_EsIN5OLKe9ZYFNXZ.json index 0b540fd5..993b35cf 100644 --- a/src/packs/items/armors/armor_Legendary_Chainmail_Armor_EsIN5OLKe9ZYFNXZ.json +++ b/src/packs/items/armors/armor_Legendary_Chainmail_Armor_EsIN5OLKe9ZYFNXZ.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 7 + "max": "7", + "key": "system.armorScore" } ] }, - "_id": "QAkiVlwfclxQ6JSD", + "_id": "PZsaURELHOaRJK28", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!EsIN5OLKe9ZYFNXZ.QAkiVlwfclxQ6JSD" + "_key": "!items.effects!EsIN5OLKe9ZYFNXZ.PZsaURELHOaRJK28" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Legendary_Full_Plate_Armor_SXWjUR2aUR6bYvdl.json b/src/packs/items/armors/armor_Legendary_Full_Plate_Armor_SXWjUR2aUR6bYvdl.json index 4e3ae4ed..ba4eb949 100644 --- a/src/packs/items/armors/armor_Legendary_Full_Plate_Armor_SXWjUR2aUR6bYvdl.json +++ b/src/packs/items/armors/armor_Legendary_Full_Plate_Armor_SXWjUR2aUR6bYvdl.json @@ -80,11 +80,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 7 + "max": "7", + "key": "system.armorScore" } ] }, - "_id": "mMYVCcmoBJxjU0er", + "_id": "IMPH2qFG7zXaxefg", "disabled": false, "start": null, "duration": { @@ -105,7 +106,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!SXWjUR2aUR6bYvdl.mMYVCcmoBJxjU0er" + "_key": "!items.effects!SXWjUR2aUR6bYvdl.IMPH2qFG7zXaxefg" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Legendary_Gambeson_Armor_c6tMXz4rPf9ioQrf.json b/src/packs/items/armors/armor_Legendary_Gambeson_Armor_c6tMXz4rPf9ioQrf.json index b6899fbd..b0af0790 100644 --- a/src/packs/items/armors/armor_Legendary_Gambeson_Armor_c6tMXz4rPf9ioQrf.json +++ b/src/packs/items/armors/armor_Legendary_Gambeson_Armor_c6tMXz4rPf9ioQrf.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "vgnBNFSXks1BcFQ5", + "_id": "TtMaMntKKpcTU054", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!c6tMXz4rPf9ioQrf.vgnBNFSXks1BcFQ5" + "_key": "!items.effects!c6tMXz4rPf9ioQrf.TtMaMntKKpcTU054" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Legendary_Leather_Armor_Tptgl5WOj76TyFn7.json b/src/packs/items/armors/armor_Legendary_Leather_Armor_Tptgl5WOj76TyFn7.json index a9d680af..6460fc02 100644 --- a/src/packs/items/armors/armor_Legendary_Leather_Armor_Tptgl5WOj76TyFn7.json +++ b/src/packs/items/armors/armor_Legendary_Leather_Armor_Tptgl5WOj76TyFn7.json @@ -37,11 +37,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "m6HRZpgaMnuw1dE7", + "_id": "UtbfSKO8hmJanog5", "disabled": false, "start": null, "duration": { @@ -62,7 +63,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!Tptgl5WOj76TyFn7.m6HRZpgaMnuw1dE7" + "_key": "!items.effects!Tptgl5WOj76TyFn7.UtbfSKO8hmJanog5" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Monett_s_Cloak_AQzU2RsqS5V5bd1v.json b/src/packs/items/armors/armor_Monett_s_Cloak_AQzU2RsqS5V5bd1v.json index ce7d94c6..91ab3f80 100644 --- a/src/packs/items/armors/armor_Monett_s_Cloak_AQzU2RsqS5V5bd1v.json +++ b/src/packs/items/armors/armor_Monett_s_Cloak_AQzU2RsqS5V5bd1v.json @@ -75,11 +75,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "aRwIF0ss6R7AYNZf", + "_id": "kskfQTQTgCgmQR6b", "disabled": false, "start": null, "duration": { @@ -100,7 +101,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!AQzU2RsqS5V5bd1v.aRwIF0ss6R7AYNZf" + "_key": "!items.effects!AQzU2RsqS5V5bd1v.kskfQTQTgCgmQR6b" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Rosewild_Armor_tN8kAeBvNKM3EBFo.json b/src/packs/items/armors/armor_Rosewild_Armor_tN8kAeBvNKM3EBFo.json index ee950d4f..a7c2ab93 100644 --- a/src/packs/items/armors/armor_Rosewild_Armor_tN8kAeBvNKM3EBFo.json +++ b/src/packs/items/armors/armor_Rosewild_Armor_tN8kAeBvNKM3EBFo.json @@ -67,11 +67,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "YvXWUYVaXDHugsEr", + "_id": "eT5j1FNPPQOdLO2Q", "disabled": false, "start": null, "duration": { @@ -92,7 +93,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!tN8kAeBvNKM3EBFo.YvXWUYVaXDHugsEr" + "_key": "!items.effects!tN8kAeBvNKM3EBFo.eT5j1FNPPQOdLO2Q" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Runes_of_Fortification_P4qAEDJUoNLgVRsA.json b/src/packs/items/armors/armor_Runes_of_Fortification_P4qAEDJUoNLgVRsA.json index b0501649..c1beaad7 100644 --- a/src/packs/items/armors/armor_Runes_of_Fortification_P4qAEDJUoNLgVRsA.json +++ b/src/packs/items/armors/armor_Runes_of_Fortification_P4qAEDJUoNLgVRsA.json @@ -74,11 +74,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "vkJeIaXB25W3MAt1", + "_id": "UmpUTOMR2UBmrAu6", "disabled": false, "start": null, "duration": { @@ -99,7 +100,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!P4qAEDJUoNLgVRsA.vkJeIaXB25W3MAt1" + "_key": "!items.effects!P4qAEDJUoNLgVRsA.UmpUTOMR2UBmrAu6" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Runetan_Floating_Armor_tHlBUDQC24YMZqd6.json b/src/packs/items/armors/armor_Runetan_Floating_Armor_tHlBUDQC24YMZqd6.json index 690045f9..a26eb694 100644 --- a/src/packs/items/armors/armor_Runetan_Floating_Armor_tHlBUDQC24YMZqd6.json +++ b/src/packs/items/armors/armor_Runetan_Floating_Armor_tHlBUDQC24YMZqd6.json @@ -74,11 +74,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 4 + "max": "4", + "key": "system.armorScore" } ] }, - "_id": "2dj1LoZcV6tCKpKj", + "_id": "s39jgXMmi4fDHuaE", "disabled": false, "start": null, "duration": { @@ -99,7 +100,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!tHlBUDQC24YMZqd6.2dj1LoZcV6tCKpKj" + "_key": "!items.effects!tHlBUDQC24YMZqd6.s39jgXMmi4fDHuaE" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Savior_Chainmail_8X16lJQ3xltTwynm.json b/src/packs/items/armors/armor_Savior_Chainmail_8X16lJQ3xltTwynm.json index eafe1420..371cf794 100644 --- a/src/packs/items/armors/armor_Savior_Chainmail_8X16lJQ3xltTwynm.json +++ b/src/packs/items/armors/armor_Savior_Chainmail_8X16lJQ3xltTwynm.json @@ -105,11 +105,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 8 + "max": "8", + "key": "system.armorScore" } ] }, - "_id": "3Kn7ZRjhrw1WfALW", + "_id": "SWXFcH4qbmPYI7WH", "disabled": false, "start": null, "duration": { @@ -130,7 +131,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!8X16lJQ3xltTwynm.3Kn7ZRjhrw1WfALW" + "_key": "!items.effects!8X16lJQ3xltTwynm.SWXFcH4qbmPYI7WH" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Spiked_Plate_Armor_QjwsIhXKqnlvRBMv.json b/src/packs/items/armors/armor_Spiked_Plate_Armor_QjwsIhXKqnlvRBMv.json index cbd1e023..114b92f5 100644 --- a/src/packs/items/armors/armor_Spiked_Plate_Armor_QjwsIhXKqnlvRBMv.json +++ b/src/packs/items/armors/armor_Spiked_Plate_Armor_QjwsIhXKqnlvRBMv.json @@ -80,11 +80,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "6YpS3uYWIbeSgreg", + "_id": "OtOaxh7BCM2OMOmS", "disabled": false, "start": null, "duration": { @@ -105,7 +106,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!QjwsIhXKqnlvRBMv.6YpS3uYWIbeSgreg" + "_key": "!items.effects!QjwsIhXKqnlvRBMv.OtOaxh7BCM2OMOmS" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Tyris_Soft_Armor_PSW3BxCGmtLeWOxM.json b/src/packs/items/armors/armor_Tyris_Soft_Armor_PSW3BxCGmtLeWOxM.json index 0837f512..45fea752 100644 --- a/src/packs/items/armors/armor_Tyris_Soft_Armor_PSW3BxCGmtLeWOxM.json +++ b/src/packs/items/armors/armor_Tyris_Soft_Armor_PSW3BxCGmtLeWOxM.json @@ -67,11 +67,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 5 + "max": "5", + "key": "system.armorScore" } ] }, - "_id": "tiE0sRrTm2Ex9TAO", + "_id": "DgAQc09o3x6zn6DQ", "disabled": false, "start": null, "duration": { @@ -92,7 +93,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!PSW3BxCGmtLeWOxM.tiE0sRrTm2Ex9TAO" + "_key": "!items.effects!PSW3BxCGmtLeWOxM.DgAQc09o3x6zn6DQ" } ], "sort": 0, diff --git a/src/packs/items/armors/armor_Veritas_Opal_Armor_OvzgUTYy2RCN85vV.json b/src/packs/items/armors/armor_Veritas_Opal_Armor_OvzgUTYy2RCN85vV.json index ca76336c..e9f98300 100644 --- a/src/packs/items/armors/armor_Veritas_Opal_Armor_OvzgUTYy2RCN85vV.json +++ b/src/packs/items/armors/armor_Veritas_Opal_Armor_OvzgUTYy2RCN85vV.json @@ -67,11 +67,12 @@ "phase": "initial", "priority": 20, "value": 0, - "max": 6 + "max": "6", + "key": "system.armorScore" } ] }, - "_id": "fpPIhNaFxaz40Iaj", + "_id": "2gMOVh1Hty0nVWy4", "disabled": false, "start": null, "duration": { @@ -92,7 +93,7 @@ "_stats": { "compendiumSource": null }, - "_key": "!items.effects!OvzgUTYy2RCN85vV.fpPIhNaFxaz40Iaj" + "_key": "!items.effects!OvzgUTYy2RCN85vV.2gMOVh1Hty0nVWy4" } ], "sort": 0, diff --git a/src/packs/items/armors/folders_Special_tI3bfr6Sgi16Z7zm.json b/src/packs/items/armors/folders_Special_tI3bfr6Sgi16Z7zm.json deleted file mode 100644 index 65c4eca8..00000000 --- a/src/packs/items/armors/folders_Special_tI3bfr6Sgi16Z7zm.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "type": "Item", - "folder": null, - "name": "Special", - "color": null, - "sorting": "a", - "_id": "tI3bfr6Sgi16Z7zm", - "description": "", - "sort": 0, - "flags": {}, - "_key": "!folders!tI3bfr6Sgi16Z7zm" -}