From 265fc01a1aa39effce54fb9c6b9e1ea586eef6f4 Mon Sep 17 00:00:00 2001 From: Chas <79132112+ChasarooniZ@users.noreply.github.com> Date: Sat, 24 Aug 2024 12:32:39 -0400 Subject: [PATCH] Update module.js --- scripts/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/module.js b/scripts/module.js index 60fd931..c237ecc 100644 --- a/scripts/module.js +++ b/scripts/module.js @@ -139,7 +139,7 @@ export async function checkAndHandleSpecialCase(item, _total, diff, _situation) speaker: ChatMessage.getSpeaker({ actor }), }); } else if (mode === 'auto') { - await actor.update({ "system.attributes.hp.value": health }) + await actor.update({ "system.attributes.hp.value": health + actor.system.attributes.hp.value }) await ChatMessage.create({ content: `@UUID[Compendium.pf2e.equipment-srd.Item.4A8SFipG78SMWQEU] healed ${actor.name} for ${health}` }) } }