{{active.name}} travaille à sa tâche : {{current.tache.label}}
{{current.carac.label}} / {{current.comp.label}} à {{current.diff.value}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.hbs"}}

{{#if rolled.isSuccess}} {{active.name}} a obtenu {{rolled.ptTache}} point{{~#unless (eq rolled.ptTache 1)}}s{{/unless}} de tâche, {{else if (or rolled.isETotal rolled.isEPart)}} {{active.name}} a perdu {{math-abs rolled.ptTache}} points de tâche, {{else}} {{active.name}} n'a pas progressé dans la tâche. {{/if}} {{#with current.tache.tache.system as |system|}} Son avancement est de {{system.points_de_tache_courant}} {{#unless system.cacher_points_de_tache}} sur {{system.points_de_tache}}{{/unless}} point{{~#unless (eq system.points_de_tache_courant 1)}}s{{/unless}} de tâche {{log 'tentatives' (math-sum system.nb_jet_succes system.nb_jet_echec) }} ({{~#with (math-sum system.nb_jet_succes system.nb_jet_echec) as |tentatives|}} {{log 'tentatives' tentatives}} {{~#if (ne tentatives 1)}}{{tentatives}} tentatives{{else}}première tentative{{/if~}} {{/with~}}). {{/with}}

{{#if rolled.isETotal}} Son échec total augmente de 1 la difficulté de la tâche! {{/if}} {{#if (and current.tache.tache.system.fatigue (regle-optionnelle 'appliquer-fatigue'))}} {{active.name}} s'est fatigué{{~#if (actor-isFeminin active.actor)}}e{{/if}} de {{current.tache.tache.system.fatigue}} case{{~#if (gt current.tache.tache.system.fatigue 1)}}s{{/if}}. {{/if}}
{{> 'partial-appel-chance'}}