Open rinnocenti opened 3 years ago
I am having the same issue, spell list is not showing
I have the same problem. It has been reported on the Foundry VVT's discord.
So do "Skills" category
I believe mistake is here:
https://github.com/espositos/fvtt-tokenactionhud/blob/f0eb5f787f0c029e6b95d24caa4de898dc587369/scripts/actions/dnd5e/dnd5e-actions.js#L198
https://github.com/espositos/fvtt-tokenactionhud/blob/f0eb5f787f0c029e6b95d24caa4de898dc587369/scripts/actions/dnd5e/dnd5e-actions.js#L421
I think line
if (actor.data.type !== 'vehicle') return;
should be replaced with
if (actor.data.type === 'vehicle') return;
So do "Skills" category I believe mistake is here:
I think line
if (actor.data.type !== 'vehicle') return;
should be replaced withif (actor.data.type === 'vehicle') return;
That's exactly it, manually changed the module code here as per described and it worked just fine.
Is there a way for me to fix it on Forge? Or do I need to wait for an official fix?
I have the same issue, the above has fixed it.
My group love this module so much.
See my apology on #289.
Came here for same reason!
Until my PR is merged to fix this (or until @espositos releases his own fix) you could install Character Actions List and then click the "Group by Action Type" setting in this module's settings. You might also want to edit the Character Actions List settings to prevent sheet injection.
Spells and Skills will show up in this mode, even with the current version. But instead of all spells showing up under "Spells", they'll show up under "Actions", "Bonus Actions", or "Reactions" as appropriate, asking with other Actions, Bonus Actions, and Reactions that you might have. They'll still be grouped by level, need to be prepared and have spell slots to show up, etc.
I don't know if you'll like the grouping, but at least you'll be able to find the missing items in the HUD.
How can i change that line?
If you host Foundry on your own computer or on a server where you can access the filesystem, then you need to go find your User Data Path. It's listed on the configuration menu (see this article: https://foundryvtt.com/article/configuration/). Inside there go to modules/token-action-hud/scripts/actions/dnd5e/
and open the files with a text editor like notepad on windows.
Before you edit a file you might want to make a copy of it - a backup, in case you accidently change the wrong thing or whatever.
Another thing you could do, again only with filesystem access, is to download an old release file and unzip it into your modules directory. To can find all the old releases from link on the right side of the main page of this repository.
Note: the fix yesterday intended to address this issue works only for level 1-9 spells; the problem persists for Cantrips. See Issue#297.
With the latest update the tokens for D&D no longer show spells.