Preparation du passage en v12

This commit is contained in:
2024-05-02 14:08:02 +02:00
parent bc35c8d80e
commit 7f7148e658
32 changed files with 78 additions and 78 deletions

View File

@ -93,7 +93,7 @@ export class RdDEntite extends RdDBaseActorReve {
/* -------------------------------------------- */
async setEntiteReveAccordee(attacker) {
if (this.isEntite([ENTITE_INCARNE])) {
let resonnance = duplicate(this.system.sante.resonnance);
let resonnance = foundry.utils.duplicate(this.system.sante.resonnance);
if (resonnance.actors.find(it => it == attacker.id)) {
// déjà accordé
return;