Enhance progression rolls, damage rolls and other fixes
Some checks failed
Release Creation / build (release) Failing after 56s

This commit is contained in:
2025-06-12 20:53:54 +02:00
parent 17be9df64b
commit c08a8c38e9
35 changed files with 1630 additions and 282 deletions

View File

@@ -141,9 +141,15 @@ Hooks.on("renderChatMessageHTML", (message, html, data) => {
$(html).find(".nudge-roll").each((i, btn) => {
btn.style.display = "inline"
})
$(html).find(".damage-roll").each((i, btn) => {
btn.style.display = "inline"
})
$(html).find(".nudge-roll").click((event) => {
CthulhuEternalUtils.nudgeRoll(message)
})
$(html).find(".damage-roll").click((event) => {
CthulhuEternalUtils.damageRoll(message)
})
}
})