Skip to content

Commit

Permalink
0.8.10 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisk123999 committed Oct 31, 2023
1 parent d6dd093 commit 7fca1f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.8.10 Release:
## Bug Fixes:
- Thunderbolt Strike

# 0.8.07 Release:
## Update Notes:
- Generic Spell Animations have been removed and are now part of Autumn's new module [Universal Animations](https://foundryvtt.com/packages/universal-animations)
Expand Down
2 changes: 1 addition & 1 deletion scripts/helperFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export let chris = {
let selection = await warpgate.menu({'inputs': generatedInputs, 'buttons': buttons}, config);
if (description) selection.inputs?.shift();
if (type != 'number' && type != 'select') {
for (let i = 0; i < !fixTargets ? selection.inputs.length : selection.inputs.length - 1; i++) {
for (let i = 0; i < (!fixTargets ? selection.inputs.length : selection.inputs.length - 1); i++) {
if (selection.inputs[i]) selection.inputs[i] = generatedInputs[i].value;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function thunderboltStrike({speaker, actor, token, character, item,
queue.remove(workflow.item.uuid);
return;
}
let pushTargets = selection.inputs.map(i => fromUuidSync(i).object);
let pushTargets = selection.inputs.filter(i => i).map(i => fromUuidSync(i).object);
if (!pushTargets.length) {
queue.remove(workflow.item.uuid);
return;
Expand Down

0 comments on commit 7fca1f1

Please sign in to comment.