Merge branch 'develop' into #48-draggable-items

This commit is contained in:
2024-02-25 14:29:58 +01:00
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);