#78 Affichage de la progression dans le titre de la tache
This commit is contained in:
parent
941aaf2e1b
commit
ee25775629
@ -1508,9 +1508,13 @@ export class RdDActor extends Actor {
|
||||
}, this.name);
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
_tacheETotal(rollData) {
|
||||
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);
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
@ -696,7 +696,7 @@
|
||||
<h3>Tâches</h3><a id='creer-tache'>Créer une nouvelle Tâche</a>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each data.taches as |tache id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{tache._id}}"><span class="competence-title tache-label"><a>{{tache.name}}</a></span>
|
||||
<li class="item flexrow list-item" data-item-id="{{tache._id}}"><span class="competence-title tache-label"><a>{{tache.name}} ({{tache.data.points_de_tache_courant}}/{{tache.data.points_de_tache}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
|
Loading…
Reference in New Issue
Block a user