irateredkite / jb2a-sequencer-spell-macros Goto Github PK
View Code? Open in Web Editor NEWA set of sequencer macros for use with J2BA's Animated Assets in Foundry VTT
License: Other
A set of sequencer macros for use with J2BA's Animated Assets in Foundry VTT
License: Other
sacred-flame.js seems to be working fine on some installs but not others. Requires investigation. Currently produces the below error:
Macros.js:212 TypeError: Cannot read property '0' of undefined
at Macro.eval (eval at callScriptMacroFunction (Macros.js:169), <anonymous>:6:47)
at Macro.callScriptMacroFunction [as callScriptFunction] (Macros.js:172)
at Macro.renderMacro [as renderContent] (Macros.js:188)
at Macro.executeMacro (Macros.js:209)
at Workflow.callMacro (workflow.js:1081)
at Workflow.callMacros (workflow.js:1023)
at Workflow._next (workflow.js:557)
at async Workflow.next (workflow.js:240)
Switch effect macros over to use args[0].tokenId
where appropriate to ensure that a caster doesn't explicitly need their own token selected in order for an effect to play.
As it stands, using these scripts require manual import one-by-one. Would be good to shift all of these into a compendium that is pre-set up in order to allow users to quickly apply spell effects in a new or existing world.
For compatibility with Foundry version 0.9, instances of createOwnedItem and deleteOwnedItem need to be replaced with createEmbeddedDocument and deleteEmbeddedDocument respectively.
When the effect used by Dragon's Breath to give the target a breath weapon is ended by an entity that isn't the caster (for example, via a failed concentration check, or manually), the macro fails with the following console error and neither the visual effect or cantrip are removed from the target:
[Detected 1 package: autoanimations]
at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:8850)
at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:8824)
at ClientDatabaseBackend.update (backend.mjs:153)
at async Function.updateDocuments (document.mjs:366)
at async Item5e.update (document.mjs:448)
at async 1 (flagMerge.js:416)
at async Object.handle (flagMerge.js:20)
at async Function.make (flag-handler.js:14)
at async setUpMidiNoA (autoAnimations.js:302)```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.