#24 Ajout d'action pour dormir 1h

This commit is contained in:
2020-11-16 04:32:42 +01:00
parent d3e48d6e5b
commit 351e848496
5 changed files with 124 additions and 12 deletions

View File

@ -299,6 +299,10 @@ export class RdDActorSheet extends ActorSheet {
this.actor.displayTMR( "rapide" );
});
html.find('.dormir-une-heure').click((event) => {
this.actor.dormir(1);
} );
// Display info about queue
html.find('.queuesouffle-label a').click((event) => {
let myID = event.currentTarget.attributes['data-item-id'].value;