This commit is contained in:
WBHarry 2025-09-06 22:16:45 +02:00
parent e139cd4dae
commit 9e50f2b008
4 changed files with 8 additions and 36 deletions

View file

@ -597,7 +597,7 @@ export default class DhpActor extends Actor {
await this.modifyResource(updates);
Hooks.call(`${CONFIG.DH.id}.postTakeDamage`, this, updates);
if (Hooks.call(`${CONFIG.DH.id}.postTakeDamage`, this, updates) === false) return null;
return updates;
}
@ -647,7 +647,8 @@ export default class DhpActor extends Actor {
await this.modifyResource(updates);
Hooks.call(`${CONFIG.DH.id}.postTakeHealing`, this, updates);
if (Hooks.call(`${CONFIG.DH.id}.postTakeHealing`, this, updates) === false) return null;
return updates;
}