Fix v12 warnings

This commit is contained in:
2024-06-06 22:46:40 +02:00
parent 2c5ff15830
commit 8a5c62fafd
14 changed files with 96 additions and 107 deletions

View File

@ -2,7 +2,7 @@ fromUuid(this.effect.origin).then(caster => {
if (caster) {
if (actor.items.find(it => it.name == game.i18n.localize("Bestial"))) {
let healed = caster.characteristics.wp.bonus
let wounds = duplicate(args.actor.status.wounds)
let wounds = foundry.utils.duplicate(args.actor.status.wounds)
wounds.value += healed
if (wounds.value > wounds.max)