diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 8d1c4e76..a6beb5cc 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -320,10 +320,18 @@ 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-moins').click((event) => { + this.actor.updatePointsDeReve(-1); + this.render(true); + }); html.find('#fatigue-plus').click((event) => { this.actor.santeIncDec("fatigue", 1); this.render(true); diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 17f1663b..d1a5d82b 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -14,14 +14,18 @@ /{{data.sante.vie.max}}