Fix experience auto

This commit is contained in:
Vincent Vandemeulebrouck 2020-12-31 00:39:55 +01:00
parent 5175be2801
commit 3e42ddd314

View File

@ -1751,7 +1751,7 @@ export class RdDActor extends Actor {
} }
if (caracName == 'derobee') caracName = 'agilite'; if (caracName == 'derobee') caracName = 'agilite';
let carac = duplicate(this.actor.data.data.carac); let carac = duplicate(this.data.data.carac);
let xp = Math.abs(rolled.finalLevel); let xp = Math.abs(rolled.finalLevel);
let xpCarac = Math.floor(xp / 2); // impair: arrondi inférieur en carac let xpCarac = Math.floor(xp / 2); // impair: arrondi inférieur en carac