Fix actor
This commit is contained in:
parent
255c0a77b4
commit
9bc4260ae1
@ -1030,7 +1030,6 @@ export class RdDActor extends Actor {
|
|||||||
daterdd: game.system.rdd.calendrier.getDateFromIndex(), datereel: `${d.getDate()}/${d.getMonth() + 1}/${d.getFullYear()}`
|
daterdd: game.system.rdd.calendrier.getDateFromIndex(), datereel: `${d.getDate()}/${d.getMonth() + 1}/${d.getFullYear()}`
|
||||||
});
|
});
|
||||||
await this.update({ [`system.experiencelog`]: expLog });
|
await this.update({ [`system.experiencelog`]: expLog });
|
||||||
console.log("Add XP log", expLog);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
@ -4097,7 +4096,6 @@ export class RdDActor extends Actor {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
getEffectByLabel(label) {
|
getEffectByLabel(label) {
|
||||||
console.log("Effects", this.getActiveEffects())
|
|
||||||
return this.getActiveEffects().find(it => it.system?.label == label);
|
return this.getActiveEffects().find(it => it.system?.label == label);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user