Utilisation des ajustements

This commit is contained in:
Vincent Vandemeulebrouck
2021-01-13 03:11:03 +01:00
parent 4133ffeefa
commit 1d56bff61d
7 changed files with 19 additions and 40 deletions

View File

@ -1779,8 +1779,7 @@ export class RdDActor extends Actor {
competence: competence,
tache: tache,
diffConditions: tache.data.difficulte,
editLibre: false,
editConditions: false,
use: { libre: false, conditions: false},
carac: {}
};
rollData.carac[tache.data.carac] = duplicate(this.data.data.carac[tache.data.carac]); // Single carac
@ -1830,8 +1829,7 @@ export class RdDActor extends Actor {
isPurification: false,
},
diffConditions: 0,
editLibre: false,
editConditions: true,
use: { libre: false, conditions: true, },
carac: {}
};
meditationData.carac["intellect"] = duplicate(this.data.data.carac["intellect"]);