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

Adding a Compendium Weapon to a Creature or NPC sheet when using a custom Skill list prevents sheet rendering #218

Open
Re4XN opened this issue Jan 3, 2025 · 0 comments

Comments

@Re4XN
Copy link
Member

Re4XN commented Jan 3, 2025

Describe the bug
If a world is using a custom list of Skills, adding the default Weapon Items to a Creature or NPC sheet will result in erroneous data preparation if the associated Skill doesn't exist. After the sheet is closed, any further attempts to open it result in an error.

To Reproduce
Steps to reproduce the behavior:

  1. Create new Skill list
  2. Set new Skill list as default
  3. Create new NPC Actor
  4. Right click '+Add' on the Attack Profiles
  5. Drag a Weapon onto the sheet
  6. Close the sheet
  7. Attempt to open the sheet again

Expected behavior
The weapon should be added (even with the incorrect skill) and the GM should be able to open the sheet.

Additional context
See:

  • creature-sheet.js line 137.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant