Fix: jet accorder entité

This commit is contained in:
Vincent Vandemeulebrouck 2021-09-02 15:27:01 +02:00
parent 6918e6966a
commit 542424c3f8

View File

@ -3401,7 +3401,7 @@ export class RdDActor extends Actor {
return true;
}
const tplData = Misc.templateData(this);
let rolled = await RdDResolutionTable.roll(this.getReveActuel(), - Number(tplData.carac.niveau.value));
let rolled = await RdDResolutionTable.roll(this.getReveActuel(), - Number(Misc.templateData(entite).carac.niveau.value));
const rollData = {
alias: this.name,
rolled: rolled,