Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The items in the monster-powers and monster-attacks compediums fail to load #58

Open
Venron opened this issue Oct 22, 2021 · 1 comment

Comments

@Venron
Copy link

Venron commented Oct 22, 2021

From what I can see the items in the compendiums fail to load when clicked on, because they are attempting to run through the 5e simplifyRollFormula function. This function attempts to validate the roll formula by passing the formula into the Roll function, as there is no monster attached to the items in the compendium it throws a type exception. This is new functionality added with the most recent version of the 5e system see merge requests !432 Release 1.5.0,!428 in the 5e repo.

@ra2phoenix
Copy link

I solved this locally by editing scripts/classes/GmmItem.js and removing all instances of ,rollData in simplifyRollFormula calls. It was affecting things in a monster too and I couldn't open it any longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants