Ajout xp_sort à xp total

This commit is contained in:
Vincent Vandemeulebrouck 2021-01-03 19:31:06 +01:00
parent 0aab060dc6
commit 3d98d57fb5

View File

@ -431,6 +431,9 @@ export class RdDUtility {
xp += competence_xp_par_niveau[i+10];
//console.log(i, i+10, competence_xp_par_niveau[i+10]);
}
if (competence.data.categorie == 'draconic') {
xp+= competence.data.xp_sort;
}
return xp;
}