mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Corrected actor.takeDamage and actor.takeHealing
This commit is contained in:
parent
b2bf102443
commit
21daa7f3c0
4 changed files with 52 additions and 45 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue