Various/changes from 30th may requestsé

This commit is contained in:
2023-06-06 09:18:33 +02:00
parent cf4de99242
commit 0b0b74754f
18 changed files with 186 additions and 184 deletions

View File

@ -152,6 +152,10 @@ export class Hero6ActorSheet extends ActorSheet {
const characKey = $(event.currentTarget).data("charac-key");
this.actor.rollCharac(characKey);
});
html.find('.roll-perception').click((event) => {
this.actor.rollPerception("int");
});
html.find('.roll-direct').click((event) => {
const rollFormula = $(event.currentTarget).data("roll-formula")
const rollSource = $(event.currentTarget).data("roll-source")
@ -179,7 +183,7 @@ export class Hero6ActorSheet extends ActorSheet {
const skillId = li.data("item-id")
this.actor.rollWeapon(skillId)
});
html.find('.lock-unlock-sheet').click((event) => {
this.options.editScore = !this.options.editScore;
this.render(true);