Add consequenes to actor sheet
This commit is contained in:
@@ -83,10 +83,19 @@ export class SoSActorSheet extends ActorSheet {
|
||||
const skill = this.actor.getOwnedItem(li.data("item-id"));
|
||||
this.actor.rollSkill(skill);
|
||||
});
|
||||
html.find('.edge-draw').click((event) => {
|
||||
html.find('.reset-deck-full').click((event) => {
|
||||
this.actor.resetDeckFull();
|
||||
this.render(true);
|
||||
});
|
||||
html.find('.draw-new-edge').click((event) => {
|
||||
this.actor.drawNewEdge();
|
||||
this.render(true);
|
||||
});
|
||||
html.find('.reset-deck').click((event) => {
|
||||
this.actor.resetDeck();
|
||||
this.render(true);
|
||||
});
|
||||
|
||||
html.find('.lock-unlock-sheet').click((event) => {
|
||||
this.options.editStatSkill = !this.options.editStatSkill;
|
||||
this.render(true);
|
||||
|
||||
Reference in New Issue
Block a user