From 5ba8314c30446cfae6ff7019061d41cb3ae2e6ce Mon Sep 17 00:00:00 2001 From: Jack Holloway Date: Wed, 8 Nov 2023 22:10:33 +0000 Subject: [PATCH] Mask of the Wild Effect --- macros/feats/maskOfTheWild.js | 1 + src/effects/feats/maskOfTheWild.js | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 macros/feats/maskOfTheWild.js create mode 100644 src/effects/feats/maskOfTheWild.js diff --git a/macros/feats/maskOfTheWild.js b/macros/feats/maskOfTheWild.js new file mode 100644 index 000000000..f53499acd --- /dev/null +++ b/macros/feats/maskOfTheWild.js @@ -0,0 +1 @@ +actor.rollSkill(`ste`); diff --git a/src/effects/feats/maskOfTheWild.js b/src/effects/feats/maskOfTheWild.js new file mode 100644 index 000000000..a71984b17 --- /dev/null +++ b/src/effects/feats/maskOfTheWild.js @@ -0,0 +1,8 @@ +import DDBMacros from "../macros.js"; + +export async function maskOfTheWildEffect(document) { + await DDBMacros.setItemMacroFlag(document, "feat", "maskOfTheWild.js"); + DDBMacros.setMidiOnUseMacroFlag(document, "feat", "maskOfTheWild.js", ["postActiveEffects"]); + + return document; +}