Options de repos #205
This commit is contained in:
@ -14,6 +14,7 @@ import { RdDCarac } from "./rdd-carac.js";
|
||||
import { RdDItem } from "./item.js";
|
||||
import { DialogSplitItem } from "./dialog-split-item.js";
|
||||
import { ReglesOptionelles } from "./regles-optionelles.js";
|
||||
import { DialogRepos } from "./dialog-repos.js";
|
||||
|
||||
/* -------------------------------------------- */
|
||||
export class RdDActorSheet extends ActorSheet {
|
||||
@ -372,11 +373,8 @@ export class RdDActorSheet extends ActorSheet {
|
||||
this.actor.displayTMR("rapide");
|
||||
});
|
||||
|
||||
html.find('.dormir-une-heure').click(async event => {
|
||||
this.actor.dormir(1);
|
||||
});
|
||||
html.find('.dormir-chateau-dormant').click(async event => {
|
||||
this.actor.dormirChateauDormant();
|
||||
html.find('.repos').click(async event => {
|
||||
await DialogRepos.create(this.actor);
|
||||
});
|
||||
html.find('.enlever-tous-effets').click(async event => {
|
||||
this.actor.enleverTousLesEffets();
|
||||
|
Reference in New Issue
Block a user