From e5c89e37d084b218901620346d140ab54aa94948 Mon Sep 17 00:00:00 2001 From: Gambit Date: Tue, 24 Sep 2024 13:09:56 -0400 Subject: [PATCH] 0.5.51 --- .github/workflows/main.yml | 7 +------ scripts/macros/sentinel.js | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc0fd6b..9a54d26 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,13 +18,8 @@ jobs: - name: Set Release Notes for Github id: set-release-notes-github run: | - echo "- Additions:" >> release_notes.txt - echo " - Jump: Added the Jump spell. This does nothing other than add an ae to work with Rabbit Hop for distance calculations." >> release_notes.txt - echo "- Updates:" >> release_notes.txt - echo " - Rabbit Hop: Fully implements the Rabbit Hop Harengon feature, previously was only present to account for OA. Credit to sage25 for this one!" >> release_notes.txt echo "- Bugfixes:" >> release_notes.txt - echo " - Sentinel: Fix invalid variable lookup after refactor last update" >> release_notes.txt - echo " - Poetry in Misery: Fix missing ternary check after refactor last update" >> release_notes.txt + echo " - Sentinel: Fix movement effect not applying to correct target" >> release_notes.txt echo "release-notes-github<> $GITHUB_ENV cat release_notes.txt >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV diff --git a/scripts/macros/sentinel.js b/scripts/macros/sentinel.js index 6c65066..bd49e18 100644 --- a/scripts/macros/sentinel.js +++ b/scripts/macros/sentinel.js @@ -213,7 +213,7 @@ export async function sentinel({workflowData,workflowType,workflowCombat}) { } ]; - await MidiQOL.socket().executeAsUser("createEffects", gmUser, { actorUuid: target.actor.uuid, effects: effectData }); + await MidiQOL.socket().executeAsUser("createEffects", gmUser, { actorUuid: workflow.token.actor.uuid, effects: effectData }); } await helpers.addReaction({actorUuid: `${validTokenPrimary.actor.uuid}`});