Hotfix - reapply missing css class

This commit is contained in:
2024-02-25 10:04:12 +01:00
parent 8ce84bad19
commit a0037aa1bf
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -227,7 +227,6 @@ Hooks.once("ready", () => {
});
async function applyDamage(roll, direction) {
console.log(roll, direction);
const damageValue = Array.from(roll.find(".apply") as HTMLElement[])
.map((x) => Math.max(0, Number(x.innerText)))
.reduce((prev, curr) => prev + curr, 0);