#78 Affichage de la progression dans le titre de la tache

This commit is contained in:
2020-12-30 10:41:02 +01:00
parent 941aaf2e1b
commit ee25775629
2 changed files with 6 additions and 2 deletions

View File

@ -1508,9 +1508,13 @@ export class RdDActor extends Actor {
}, this.name);
}
/* -------------------------------------------- */
_tacheETotal(rollData) {
rollData.tache.data.difficulte --;
rollData.tache.data.difficulte--;
this.updateEmbeddedEntity( "OwnedItem", rollData.tache);
ChatUtility.chatWithRollMode( {
content: "Vous avez fait un Echec Total sur votre Tache <strong>" + rollData.tache.name + "</strong> : en conséquence, la difficulté a augmenté de 1"
}, this.name);
}
/* -------------------------------------------- */