Ajout du rêve dans le header

This commit is contained in:
2020-11-17 19:29:18 +01:00
parent 8ec2a43cf3
commit 9a573d5f51
2 changed files with 14 additions and 6 deletions

View File

@ -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);