From 2b63b18a6b3c86a798ea1e1bd3178eddbd98d242 Mon Sep 17 00:00:00 2001 From: cadowtin Date: Wed, 26 Jun 2024 00:15:29 -0500 Subject: [PATCH] Changed target color + added changelog --- CHANGELOG.md | 6 ++++++ scripts/module.js | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29..09c514f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +## 0.1.0 +- Initial Test Release +- Adds following features + - Flashes red on damage taken + - Flashes green on heal + - Flashes white when targetted \ No newline at end of file diff --git a/scripts/module.js b/scripts/module.js index 77d8311..6e5607a 100644 --- a/scripts/module.js +++ b/scripts/module.js @@ -3,6 +3,7 @@ Hooks.once("init", async function () {}); const COLORS = { GREEN: "#ADFF2F", RED: "#ff0000", + PURPLE: "#800080", WHITE: "#FFFFFF", }; Hooks.once("ready", async function () { @@ -28,7 +29,7 @@ Hooks.once("ready", async function () { }); Hooks.on("targetToken", async (user, token) => { if (user.id === game.user.id) { - flashColor(token, COLORS.WHITE); + flashColor(token, COLORS.PURPLE); } }); });