giffyglyph / foundry-5e-monster-maker

A D&D 5e monster maker module for the Foundry VTT. Build new monsters with level-appropriate, balanced stats in seconds.
31 stars 17 forks source link

Error editing actions that consume attribute charges #61

Open ra2phoenix opened 3 years ago

ra2phoenix commented 3 years ago

To interact with other plugins that manage legendary actions, I use attributes.legact points cost on my legendary actions. This works fine when rolling the abilities, but when trying to edit them henceforth in GMM, get a stack overflow.

(200+ lines of recursion until stack overflow exception..) at Function.getTrackedAttributes (foundry.js:16951) at Function.getTrackedAttributes (foundry.js:16951) at Function.getTrackedAttributes (foundry.js:16951) at Function.getTrackedAttributes (foundry.js:16951) at Function.getTrackedAttributes (foundry.js:16951) at ActionSheet._getActionConsumptionTargets (ActionSheet.js:137) at ActionSheet.getData (ActionSheet.js:101) at ActionSheet._render (foundry.js:2049) at B.🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:466) at ActionSheet.🎁Application.prototype._render#lib-wrapper (listeners.js:110) at ActionSheet.🎁Application.prototype._render#0 (libWrapper-wrapper.js:161) at ActionSheet._render (foundry.js:2736)