forked from public/foundryvtt-reve-de-dragon
Fix xp carac
This commit is contained in:
@ -1438,7 +1438,7 @@ export class RdDActor extends Actor {
|
||||
/* -------------------------------------------- */
|
||||
async checkCaracXP(caracName) {
|
||||
let carac = this.data.data.carac[caracName];
|
||||
console.log("XP chek", carac, caracName);
|
||||
console.log("XP check", carac, caracName);
|
||||
if (carac && carac.xp > 0) {
|
||||
let xpNeeded = RdDUtility.getCaracNextXp(carac.value);
|
||||
if (carac.xp >= xpNeeded) {
|
||||
|
Reference in New Issue
Block a user