Gestion des jets de moral #40

This commit is contained in:
2020-12-16 02:54:28 +01:00
parent ce6680d5e8
commit c8a2d69e0f
6 changed files with 232 additions and 7 deletions

View File

@ -450,6 +450,18 @@ export class RdDActorSheet extends ActorSheet {
this.actor.stressTest();
this.render(true);
});
html.find('#moral-malheureux').click((event) => {
this.actor.jetDeMoral('malheureuse');
this.render(true);
});
html.find('#moral-neutre').click((event) => {
this.actor.jetDeMoral('neutre');
this.render(true);
});
html.find('#moral-heureux').click((event) => {
this.actor.jetDeMoral('heureuse');
this.render(true);
});
html.find('#ethylisme-test').click((event) => {
this.actor.ethylismeTest();
this.render(true);