Skip to content

Commit

Permalink
Update module.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ authored Aug 24, 2024
1 parent 6a8d42a commit 265fc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <b>${actor.name}</b> for ${health}` })
}
}
Expand Down

0 comments on commit 265fc01

Please sign in to comment.