Skip to content

Commit

Permalink
0.1.51
Browse files Browse the repository at this point in the history
  • Loading branch information
gambit07 committed May 27, 2024
1 parent a89cb18 commit 690df40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,7 @@ jobs:
id: set-release-notes-github
run: |
echo "- General:" >> release_notes.txt
echo " - Helper: Fix token validator not appropriately checking spell level against valid spells." >> release_notes.txt
echo "- Additions:" >> release_notes.txt
echo " - Ashardalons Stride: Covers all aspects and works to suppress opportunity attacks." >> release_notes.txt
echo " - Cloak of Vermin: Automates the Deep Magic Vol 2 spell Cloak of Vermin." >> release_notes.txt
echo " - Drafyns Bane of Excellence: Automates the Deep Magic Vol 2 spell Drafyns Bane of Excellence. Currently only covers the attack roll fully and offers a chat readout for saving throws, if a hook is added in the future to handle this it will be incorporated." >> release_notes.txt
echo " - Dream Shear: Automates the Deep Magic Vol 2 spell Dream Shear." >> release_notes.txt
echo " - Leilochs Interminable Yarn: Automates the Deep Magic Vol 2 spell Leilochs Interminable Yarn." >> release_notes.txt
echo " - Storm Mote: Automates the Deep Magic Vol 2 spell Storm Mote." >> release_notes.txt
echo "- Bugfixes:" >> release_notes.txt
echo " - Enemies Abound: Fixed a bunch of bugs." >> release_notes.txt
echo " - Helper: Actually fix token validator not appropriately checking spell level against valid spells." >> release_notes.txt
echo "release-notes-github<<EOF" >> $GITHUB_ENV
cat release_notes.txt >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "Gambit"
}
],
"version": "0.1.50",
"version": "0.1.51",
"compatibility": {
"minimum": "11",
"verified": "11",
Expand Down
2 changes: 1 addition & 1 deletion scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export function findValidTokens({initiatingToken, targetedToken, itemName, itemT
// Check if the token has available spell slots/uses
if(itemType === "spell") {
const spells = t.actor.system.spells;
let spellLevel = t.actor.system.level;
let spellLevel = checkItem?.system?.level;
let checkType = checkItem?.system?.preparation?.mode;
let hasSpellSlots = false;
if(checkType === "prepared" && checkItem?.system?.preparation?.prepared === false) return;
Expand Down

0 comments on commit 690df40

Please sign in to comment.