diff --git a/module/config/generalConfig.mjs b/module/config/generalConfig.mjs index 475da3b8..09814f1a 100644 --- a/module/config/generalConfig.mjs +++ b/module/config/generalConfig.mjs @@ -209,14 +209,21 @@ export const defaultRestOptions = { img: 'icons/magic/life/cross-worn-green.webp', actionType: 'action', chatDisplay: false, - healing: { - applyTo: healingTypes.hitPoints.id, - value: { - custom: { - enabled: true, - formula: '1d4 + @tier' + target: { + type: 'self' + }, + damage: { + parts: [ + { + applyTo: healingTypes.hitPoints.id, + value: { + custom: { + enabled: true, + formula: '1d4 + @tier' + } + } } - } + ] } } } @@ -235,14 +242,21 @@ export const defaultRestOptions = { img: 'icons/magic/perception/eye-ringed-green.webp', actionType: 'action', chatDisplay: false, - healing: { - applyTo: healingTypes.stress.id, - value: { - custom: { - enabled: true, - formula: '1d4 + @tier' + target: { + type: 'self' + }, + damage: { + parts: [ + { + applyTo: healingTypes.stress.id, + value: { + custom: { + enabled: true, + formula: '1d4 + @tier' + } + } } - } + ] } } } @@ -261,14 +275,21 @@ export const defaultRestOptions = { img: 'icons/skills/trades/smithing-anvil-silver-red.webp', actionType: 'action', chatDisplay: false, - healing: { - applyTo: healingTypes.armor.id, - value: { - custom: { - enabled: true, - formula: '1d4 + @tier' + target: { + type: 'self' + }, + damage: { + parts: [ + { + applyTo: healingTypes.armor.id, + value: { + custom: { + enabled: true, + formula: '1d4 + @tier' + } + } } - } + ] } } } @@ -297,14 +318,21 @@ export const defaultRestOptions = { img: 'icons/magic/life/cross-worn-green.webp', actionType: 'action', chatDisplay: false, - healing: { - applyTo: healingTypes.hitPoints.id, - value: { - custom: { - enabled: true, - formula: '@system.resources.hitPoints.max' + target: { + type: 'self' + }, + damage: { + parts: [ + { + applyTo: healingTypes.hitPoints.id, + value: { + custom: { + enabled: true, + formula: '@system.resources.hitPoints.max' + } + } } - } + ] } } } @@ -323,14 +351,21 @@ export const defaultRestOptions = { img: 'icons/magic/perception/eye-ringed-green.webp', actionType: 'action', chatDisplay: false, - healing: { - applyTo: healingTypes.stress.id, - value: { - custom: { - enabled: true, - formula: '@system.resources.stress.max' + target: { + type: 'self' + }, + damage: { + parts: [ + { + applyTo: healingTypes.stress.id, + value: { + custom: { + enabled: true, + formula: '@system.resources.stress.max' + } + } } - } + ] } } } @@ -349,14 +384,21 @@ export const defaultRestOptions = { img: 'icons/skills/trades/smithing-anvil-silver-red.webp', actionType: 'action', chatDisplay: false, - healing: { - applyTo: healingTypes.armor.id, - value: { - custom: { - enabled: true, - formula: '@system.armorScore' + target: { + type: 'self' + }, + damage: { + parts: [ + { + applyTo: healingTypes.armor.id, + value: { + custom: { + enabled: true, + formula: '@system.armorScore' + } + } } - } + ] } } } diff --git a/module/config/itemConfig.mjs b/module/config/itemConfig.mjs index 106f202c..e54abc8b 100644 --- a/module/config/itemConfig.mjs +++ b/module/config/itemConfig.mjs @@ -886,14 +886,21 @@ export const weaponFeatures = { name: 'DAGGERHEART.CONFIG.WeaponFeature.healing.actions.heal.name', description: 'DAGGERHEART.CONFIG.WeaponFeature.healing.actions.heal.description', img: 'icons/magic/life/cross-beam-green.webp', - healing: { - type: 'health', - value: { - custom: { - enabled: true, - formula: '1' + target: { + type: 'self' + }, + damage: { + parts: [ + { + applyTo: 'hitPoints', + value: { + custom: { + enabled: true, + formula: 1 + } + } } - } + ] } } ] diff --git a/src/packs/items/weapons/weapon_Blessed_Anlace_n1oPTk5czTIGTkVj.json b/src/packs/items/weapons/weapon_Blessed_Anlace_n1oPTk5czTIGTkVj.json index ec6d9eaf..f4d8d52a 100644 --- a/src/packs/items/weapons/weapon_Blessed_Anlace_n1oPTk5czTIGTkVj.json +++ b/src/packs/items/weapons/weapon_Blessed_Anlace_n1oPTk5czTIGTkVj.json @@ -7,29 +7,56 @@ "system": { "description": "", "actions": { - "dmOSrd6R6EIQyZ0r": { + "o18UvqLPWLe1A8XJ": { "type": "healing", "actionType": "action", "chatDisplay": true, "name": "Heal", "description": "During downtime, automatically clear a Hit Point.", "img": "icons/magic/life/cross-beam-green.webp", - "_id": "dmOSrd6R6EIQyZ0r", + "target": { + "type": "self", + "amount": null + }, + "damage": { + "parts": [ + { + "applyTo": "hitPoints", + "value": { + "custom": { + "enabled": true, + "formula": "1" + }, + "multiplier": "prof", + "flatMultiplier": 1, + "dice": "d6", + "bonus": null + }, + "resultBased": false, + "valueAlt": { + "multiplier": "prof", + "flatMultiplier": 1, + "dice": "d6", + "bonus": null, + "custom": { + "enabled": false + } + }, + "base": false, + "type": [] + } + ], + "includeBase": false + }, + "_id": "o18UvqLPWLe1A8XJ", "effects": [], "systemPath": "actions", "cost": [], "uses": { "value": null, "max": null, - "recovery": null - }, - "damage": { - "parts": [], - "includeBase": false - }, - "target": { - "type": "any", - "amount": null + "recovery": null, + "consumeOnSuccess": false }, "roll": { "type": null, @@ -58,7 +85,7 @@ "value": "healing", "effectIds": [], "actionIds": [ - "dmOSrd6R6EIQyZ0r" + "o18UvqLPWLe1A8XJ" ] } ], @@ -158,8 +185,8 @@ "systemId": "daggerheart", "systemVersion": "0.0.1", "createdTime": 1753833663905, - "modifiedTime": 1753833710722, - "lastModifiedBy": "FecEtPuoQh6MpjQ0" + "modifiedTime": 1754406631151, + "lastModifiedBy": "MQSznptE5yLT7kj8" }, "_key": "!items!n1oPTk5czTIGTkVj" }