generated from League-of-Foundry-Developers/FoundryVTT-Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[BUG] Spells added to items temporarily filtered out when Prepared filter is activated (restored on closing and reopening sheet) #100
Labels
bug
Something isn't working
Comments
It might be due to this, 4.1 will disable support for 3.1 but I'll investigate further, it might be due to MI not necessarily being the same thing as a proper spell |
I am currently on D&D5e 3.1.x, I will check that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Module Version: v1.7.2
Console message
No console errors.
Describe the bug
Because the default Spell Preparation mode for most compendium spells is set to Prepared with the checkbox unchecked, spells added to Magic Items will be filtered out when using the Filter to filter out unprepared spells. This is undesirable behavior, as Magic Items almost never have a spell preparation system, classes whose spell lists are filled to the brim with unprepared spells will be unable to use the Filter to view all of their currently available spells without inadvertently hiding Magic Item spells as well, and the module's system of only referencing abilities from the Items tab or Compendiums instead of adding a unique instance prevents the user from editing the spell to check the Prepared box to circumvent the issue.
However, this undesirable behavior seems to only be a temporary hiccup, as closing and reopening the Character Sheet will keep the Prepared filter on but with the Magic Item spells now completely visible.
To Reproduce
The spell will appear at the bottom of the character's Spells tab.
Magic Item spells will be hidden away (despite not needing to be prepared to use).
The Filter should still be active, but Magic Item spells are now visible and accessible.
Expected behavior
The spells either should not be affected by the Prepared filter. Perhaps the Prepared checkbox should be considered checked by default to avoid the spell being filtered out.
Browser:
Built-in Foundry
Foundry Version:
v11 Stable Build 315
Game System:
D&D5e v3.1.0
The text was updated successfully, but these errors were encountered: