Manage luck with Edge
This commit is contained in:
@ -136,6 +136,10 @@ export class SoSActorSheet extends ActorSheet {
|
||||
this.actor.resetDeck();
|
||||
this.render(true);
|
||||
});
|
||||
html.find('.discard-card').click((event) => {
|
||||
const cardName = $(event.currentTarget).data("discard");
|
||||
this.actor.discardEdge( cardName );
|
||||
});
|
||||
html.find('.consequence-severity').click((event) => {
|
||||
const li = $(event.currentTarget).parents(".item");
|
||||
const item = this.actor.getOwnedItem(li.data("item-id"));
|
||||
|
Reference in New Issue
Block a user