diff --git a/icons/heures/hd05br.png b/icons/heures/hd05br.png new file mode 100644 index 00000000..bdc5b95f Binary files /dev/null and b/icons/heures/hd05br.png differ diff --git a/icons/heures/hd08br.png b/icons/heures/hd08br.png new file mode 100644 index 00000000..31ef014d Binary files /dev/null and b/icons/heures/hd08br.png differ diff --git a/icons/heures/hd12br.png b/icons/heures/hd12br.png new file mode 100644 index 00000000..c5ec83c3 Binary files /dev/null and b/icons/heures/hd12br.png differ diff --git a/module/actor-sheet.js b/module/actor-sheet.js index a6beb5cc..a914bc30 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -291,7 +291,7 @@ export class RdDActorSheet extends ActorSheet { this.actor.setPointsDeSeuil(event.currentTarget.value); } ); - // On competence change + // On competence xp change html.find('.competence-xp').change((event) => { let compName = event.currentTarget.attributes.compname.value; this.actor.updateCompetenceXP( compName, parseInt(event.target.value) ); @@ -320,14 +320,14 @@ export class RdDActorSheet extends ActorSheet { this.actor.santeIncDec("endurance", 1); this.render(true); }); - html.find('#ptreve-actuel-plus').click((event) => { - this.actor.updatePointsDeReve(1); - this.render(true); - }); html.find('#endurance-moins').click((event) => { this.actor.santeIncDec("endurance", -1); this.render(true); }); + html.find('#ptreve-actuel-plus').click((event) => { + this.actor.updatePointsDeReve(1); + this.render(true); + }); html.find('#ptreve-actuel-moins').click((event) => { this.actor.updatePointsDeReve(-1); this.render(true); diff --git a/styles/simple.css b/styles/simple.css index ca0ed781..bb30998f 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -454,6 +454,12 @@ button { flex-grow: 2; } .attribut-value, +.carac-value { + flex-grow: 0; + flex-basis: 64px; + margin-right: 4px; + margin-left: 4px; +} .sante-value, .competence-value { flex-grow: 0; diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index d1a5d82b..7c358b3c 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -23,7 +23,7 @@
Rêve + / - - /{{data.reve.seuil.value}} + /{{data.reve.seuil.value}}
@@ -70,7 +70,7 @@ {{#if carac.derivee}} {{else}} - + {{/if}} @@ -286,7 +286,7 @@
Dormir une heure - Chateau Dormant + Chateau Dormant
    @@ -410,8 +410,8 @@
  1. - Montée dans les Terres Medianes ! - Montée accélérée dans les Terres Medianes ! + Montée dans les Terres Medianes ! + Montée accélérée dans les Terres Medianes ! Regarder les Terres Medianes