#90 Clean Spell Button funktioniert nicht

Changes:
 + hinzufügen von roll funktion für Zauberwert
This commit is contained in:
2024-03-23 20:16:49 +01:00
parent 12e6412a9f
commit 65d1788703
3 changed files with 23 additions and 1 deletions
+5
View File
@@ -247,6 +247,11 @@ export default class M5CharacterSheet extends ActorSheet {
await roll.toMessage();
});
html.find(".roll-cleanSpell-button").on("click", async (event) => {
const roll = M5Roll.cleanSpell(this.actor);
await roll.toMessage();
});
html.find(".roll-perception-button").on("click", async (event) => {
const roll = M5Roll.perception(this.actor);
await roll.toMessage();