Permettre des conditions sur une tâche

This commit is contained in:
Vincent Vandemeulebrouck 2021-05-27 01:13:42 +02:00
parent 8ffecc45ca
commit effb50e778

View File

@ -2400,8 +2400,9 @@ export class RdDActor extends Actor {
let rollData = { let rollData = {
competence: compData, competence: compData,
tache: tacheData, tache: tacheData,
diffConditions: tacheData.data.difficulte, diffLibre: tacheData.data.difficulte,
use: { libre: false, conditions: false }, diffConditions: 0,
use: { libre: false, conditions: true },
carac: {} carac: {}
}; };
rollData.carac[tacheData.data.carac] = duplicate(actorData.data.carac[tacheData.data.carac]); // Single carac rollData.carac[tacheData.data.carac] = duplicate(actorData.data.carac[tacheData.data.carac]); // Single carac