Add queue/souffle templates

This commit is contained in:
2020-07-20 12:02:07 +02:00
parent b996682e09
commit ff6c474921
12 changed files with 169 additions and 19 deletions

View File

@ -123,6 +123,14 @@ export class RdDActorSheet extends ActorSheet {
li.slideUp(200, () => this.render(false));
});
// Equip Inventory Item
html.find('.blessure-legere-control').click(ev => {
let index = event.currentTarget.attributes['data-blessure-index'].value;
let active = event.currentTarget.attributes['data-blessure-active'].value;
this.actor.manageBlessureLegere(index, active);
this.render(true);
});
// Equip Inventory Item
html.find('.item-equip').click(ev => {
const li = $(ev.currentTarget).parents(".item");