Corrected actor.takeDamage and actor.takeHealing

This commit is contained in:
WBHarry 2026-07-18 13:54:16 +02:00
parent b2bf102443
commit 21daa7f3c0
4 changed files with 52 additions and 45 deletions

View file

@ -99,7 +99,7 @@ export default class DamageField extends fields.SchemaField {
: actor.prototypeToken;
if (config.hasHealing)
damagePromises.push(
actor.takeHealing(config.damage.types).then(updates => targetDamage.push({ token, updates }))
actor.takeHealing(config.damage).then(updates => targetDamage.push({ token, updates }))
);
else {
const configDamage = config.damage.clone();