Skip to content

Commit

Permalink
Changed target color + added changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Jun 26, 2024
1 parent 305916f commit 2b63b18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Hooks.once("init", async function () {});
const COLORS = {
GREEN: "#ADFF2F",
RED: "#ff0000",
PURPLE: "#800080",
WHITE: "#FFFFFF",
};
Hooks.once("ready", async function () {
Expand All @@ -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);
}
});
});
Expand Down

0 comments on commit 2b63b18

Please sign in to comment.