diff --git a/module/config/generalConfig.mjs b/module/config/generalConfig.mjs index a38d1c8a..bdb04067 100644 --- a/module/config/generalConfig.mjs +++ b/module/config/generalConfig.mjs @@ -240,8 +240,8 @@ export const defaultRestOptions = { type: 'friendly' }, damage: { - parts: [ - { + parts: { + hitPoints: { applyTo: healingTypes.hitPoints.id, value: { custom: { @@ -250,7 +250,7 @@ export const defaultRestOptions = { } } } - ] + } } } }, @@ -274,8 +274,8 @@ export const defaultRestOptions = { type: 'self' }, damage: { - parts: [ - { + parts: { + stress: { applyTo: healingTypes.stress.id, value: { custom: { @@ -284,7 +284,7 @@ export const defaultRestOptions = { } } } - ] + } } } }, @@ -309,8 +309,8 @@ export const defaultRestOptions = { type: 'friendly' }, damage: { - parts: [ - { + parts: { + armor: { applyTo: healingTypes.armor.id, value: { custom: { @@ -319,7 +319,7 @@ export const defaultRestOptions = { } } } - ] + } } } }, @@ -343,8 +343,8 @@ export const defaultRestOptions = { type: 'self' }, damage: { - parts: [ - { + parts: { + hope: { applyTo: healingTypes.hope.id, value: { custom: { @@ -353,7 +353,7 @@ export const defaultRestOptions = { } } } - ] + } } }, prepareWithFriends: { @@ -367,8 +367,8 @@ export const defaultRestOptions = { type: 'self' }, damage: { - parts: [ - { + parts: { + hope: { applyTo: healingTypes.hope.id, value: { custom: { @@ -377,7 +377,7 @@ export const defaultRestOptions = { } } } - ] + } } } }, @@ -404,8 +404,8 @@ export const defaultRestOptions = { type: 'friendly' }, damage: { - parts: [ - { + parts: { + hitPoints: { applyTo: healingTypes.hitPoints.id, value: { custom: { @@ -414,7 +414,7 @@ export const defaultRestOptions = { } } } - ] + } } } }, @@ -438,8 +438,8 @@ export const defaultRestOptions = { type: 'self' }, damage: { - parts: [ - { + parts: { + stress: { applyTo: healingTypes.stress.id, value: { custom: { @@ -448,7 +448,7 @@ export const defaultRestOptions = { } } } - ] + } } } }, @@ -473,8 +473,8 @@ export const defaultRestOptions = { type: 'friendly' }, damage: { - parts: [ - { + parts: { + armor: { applyTo: healingTypes.armor.id, value: { custom: { @@ -483,7 +483,7 @@ export const defaultRestOptions = { } } } - ] + } } } }, @@ -507,8 +507,8 @@ export const defaultRestOptions = { type: 'self' }, damage: { - parts: [ - { + parts: { + hope: { applyTo: healingTypes.hope.id, value: { custom: { @@ -517,7 +517,7 @@ export const defaultRestOptions = { } } } - ] + } } }, prepareWithFriends: { @@ -531,8 +531,8 @@ export const defaultRestOptions = { type: 'self' }, damage: { - parts: [ - { + parts: { + hope: { applyTo: healingTypes.hope.id, value: { custom: { @@ -541,7 +541,7 @@ export const defaultRestOptions = { } } } - ] + } } } }, diff --git a/module/config/itemConfig.mjs b/module/config/itemConfig.mjs index 7d80e597..d6dad595 100644 --- a/module/config/itemConfig.mjs +++ b/module/config/itemConfig.mjs @@ -14,8 +14,8 @@ export const armorFeatures = { type: 'hostile' }, damage: { - parts: [ - { + parts: { + stress: { applyTo: 'stress', value: { custom: { @@ -24,7 +24,7 @@ export const armorFeatures = { } } } - ] + } } } ] @@ -734,8 +734,8 @@ export const weaponFeatures = { type: 'hostile' }, damage: { - parts: [ - { + parts: { + stress: { applyTo: 'stress', value: { custom: { @@ -744,7 +744,7 @@ export const weaponFeatures = { } } } - ] + } } } ], @@ -916,8 +916,8 @@ export const weaponFeatures = { type: 'self' }, damage: { - parts: [ - { + parts: { + hitPoints: { applyTo: 'hitPoints', value: { custom: { @@ -926,7 +926,7 @@ export const weaponFeatures = { } } } - ] + } } } ] diff --git a/src/packs/domains/domainCard_Swift_Step_H6TqCJBaa1eWEQ1z.json b/src/packs/domains/domainCard_Swift_Step_H6TqCJBaa1eWEQ1z.json index 3e41dfa8..76e9e6e9 100644 --- a/src/packs/domains/domainCard_Swift_Step_H6TqCJBaa1eWEQ1z.json +++ b/src/packs/domains/domainCard_Swift_Step_H6TqCJBaa1eWEQ1z.json @@ -93,8 +93,8 @@ "consumeOnSuccess": false }, "damage": { - "parts": [ - { + "parts": { + "hope": { "value": { "custom": { "enabled": true, @@ -119,7 +119,7 @@ }, "type": [] } - ], + }, "includeBase": false }, "target": {