Foundryv14 migration
All checks were successful
Release Creation / build (release) Successful in 46s
All checks were successful
Release Creation / build (release) Successful in 46s
This commit is contained in:
@@ -170,6 +170,9 @@ Hooks.on("renderChatMessageHTML", (message, html, data) => {
|
||||
$(html).find(".healing-roll").each((i, btn) => {
|
||||
btn.style.display = "inline"
|
||||
})
|
||||
$(html).find(".worn-weapon-check").each((i, btn) => {
|
||||
btn.style.display = "inline"
|
||||
})
|
||||
if (game.user.isGM) {
|
||||
$(html).find(".opposed-roll").each((i, btn) => {
|
||||
btn.style.display = "inline"
|
||||
@@ -185,6 +188,9 @@ Hooks.on("renderChatMessageHTML", (message, html, data) => {
|
||||
$(html).find(".healing-roll").click((event) => {
|
||||
CthulhuEternalUtils.healingRoll(message)
|
||||
})
|
||||
$(html).find(".worn-weapon-check").click((event) => {
|
||||
CthulhuEternalUtils.wornWeaponCheck(message)
|
||||
})
|
||||
$(html).find(".san-loose").click((event) => {
|
||||
CthulhuEternalUtils.applySANLoss(message, event)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user