Skip to content

Commit

Permalink
0.5.66
Browse files Browse the repository at this point in the history
  • Loading branch information
gambit07 committed Oct 20, 2024
1 parent 12c5696 commit 2bf2036
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,7 @@ jobs:
id: set-release-notes-github
run: |
echo "- General:" >> release_notes.txt
echo " - Region Wrapper: Added handling for a gps boolean flag excludeRegionHandling. If used this will prevent gps custom region wrapping of token point testing for a given region." >> release_notes.txt
echo "- Updates:" >> release_notes.txt
echo " - Fireball: Completely revamped animation and sounds. Added cpr medkit options for enabling/disabling the animation and picking a color." >> release_notes.txt
echo " - Ashardalons Stride: Added animation. Added cpr medkit option for enabling/disabling the animation." >> release_notes.txt
echo " - Dimension Door: Added cpr medkit options for picking a color." >> release_notes.txt
echo " - Witches Hex: Added animation. Added cpr medkit option for enabling/disabling the animation." >> release_notes.txt
echo " - Drawing the Hearth: Added cpr medkit option for enabling/disabling the animation." >> release_notes.txt
echo " - Rain of Cinders: Added cpr medkit option for enabling/disabling the animation." >> release_notes.txt
echo " - Cutting Words: Added animation. Added cpr medkit option for enabling/disabling the animation and picking a color." >> release_notes.txt
echo " - Animations: Updated cpr animation function to better handle flags." >> release_notes.txt
echo "release-notes-github<<EOF" >> $GITHUB_ENV
cat release_notes.txt >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1138,8 +1138,8 @@ export function getCprConfig({itemUuid}) {
if(!cprConfig) return {animEnabled: true, animColor: null};
let animEnabled = cprConfig?.playAnimation;
let animColor = cprConfig?.color ?? null;
if(animEnabled) return {animEnabled: true, animColor: animColor};
else return {animEnabled: false, animColor: null};
if(animEnabled === true || animEnabled === false) return {animEnabled: animEnabled, animColor: animColor};
else return {animEnabled: true, animColor: animColor};
}

export async function remoteCompleteItemUse({itemUuid, actorUuid, options}) {
Expand Down

0 comments on commit 2bf2036

Please sign in to comment.