Nombre de tentatives pour une tâche

This commit is contained in:
Vincent Vandemeulebrouck
2021-10-30 01:36:45 +02:00
parent f776348343
commit 0df7f97513
5 changed files with 14 additions and 3 deletions

View File

@ -2574,6 +2574,7 @@ export class RdDActor extends Actor {
rollData.appliquerFatigue = ReglesOptionelles.isUsing("appliquer-fatigue");
rollData.tache = duplicate(rollData.tache);
rollData.tache.data.points_de_tache_courant += rollData.rolled.ptTache;
rollData.tache.data.tentatives++;
if (rollData.rolled.isETotal) {
rollData.tache.data.difficulte--;
}