Skip to content

Commit

Permalink
1.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Aug 29, 2022
1 parent d54c480 commit ff76894
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 1.10.2
- Fixed how the module passes down targets to AA and Macros. (#17)
- Added "Debug Mode" setting.

# Version 1.10.1
- Fixed Sneak Attack. For real this time.

Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"url": "https://github.com/MrVauxs/pf2e-jb2a-macros",
"version": "1.10.1",
"version": "1.10.2",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "9",
"compatibility": {
Expand Down
5 changes: 1 addition & 4 deletions module/module.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let version = "1.10.1";
const version = game.modules.get("pf2e-jb2a-macros").data.version;
const versionsWithAutorecUpdates = ["1.9.2", "1.10.0"];

function debug(msg, args = "") {
Expand Down Expand Up @@ -132,9 +132,6 @@ Hooks.on("createChatMessage", async (data) => {
let flavor = data.data.flavor ?? null;
let args = data ?? null;

debug("What is it", { array: Array.from(game.user.targets), targets: targets})
debug("Macro Args", {targets, token, flavor, args});

// Persistent Damage Matches
if (/Received Fast Healing|Persistent \w+ damage/.test(flavor)) {
if (game.modules.get("pf2e-persistent-damage")?.active) {
Expand Down

0 comments on commit ff76894

Please sign in to comment.