From 1f03c8e38ed3d6edac80220fc8c3ea73f95fb8ce Mon Sep 17 00:00:00 2001 From: cadowtin Date: Fri, 4 Aug 2023 02:05:53 -0500 Subject: [PATCH] Adding debug code --- scripts/module.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/module.js b/scripts/module.js index a5a1a65..66ac063 100644 --- a/scripts/module.js +++ b/scripts/module.js @@ -32,6 +32,7 @@ const style = { dropShadow: true, strokeThickness: 5, } +console.log({colors}) function extractTerm(term, flavor = '') { if (term.class === "NumericTerm") { @@ -128,6 +129,7 @@ function getTargetList(msg) { } Hooks.on("createChatMessage", async function (msg, status, id) { + console.log({msg}) if (msg?.flags?.pf2e?.context?.type !== 'damage-roll') return; const dmg_list = extractDamageInfoCombined(msg.rolls); const targets = getTargetList(msg);