fvtt-tokenactionhud icon indicating copy to clipboard operation
fvtt-tokenactionhud copied to clipboard

in D&D Spells not showing

Open rinnocenti opened this issue 3 years ago • 13 comments

With the latest update the tokens for D&D no longer show spells.

image

rinnocenti avatar Jun 22 '21 23:06 rinnocenti

I am having the same issue, spell list is not showing

EvldoaTV avatar Jun 23 '21 04:06 EvldoaTV

Screen Shot 2021-06-23 at 12 40 02 AM I have the same problem. It has been reported on the Foundry VVT's discord.

solistahoe avatar Jun 23 '21 05:06 solistahoe

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;

makhmud avatar Jun 23 '21 11:06 makhmud

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;

That's exactly it, manually changed the module code here as per described and it worked just fine.

vanderleitelesjr avatar Jun 23 '21 14:06 vanderleitelesjr

Is there a way for me to fix it on Forge? Or do I need to wait for an official fix?

SaintVidar avatar Jun 23 '21 17:06 SaintVidar

I have the same issue, the above has fixed it.

My group love this module so much.

Matt-BW avatar Jun 23 '21 22:06 Matt-BW

See my apology on #289.

benbarbour avatar Jun 24 '21 02:06 benbarbour

Came here for same reason!

Avitale34 avatar Jun 24 '21 17:06 Avitale34

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.

benbarbour avatar Jun 24 '21 19:06 benbarbour

How can i change that line?

Fridan99 avatar Jun 24 '21 22:06 Fridan99

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.

benbarbour avatar Jun 24 '21 23:06 benbarbour

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.

benbarbour avatar Jun 24 '21 23:06 benbarbour

Note: the fix yesterday intended to address this issue works only for level 1-9 spells; the problem persists for Cantrips. See Issue#297.

fatigues65 avatar Jun 27 '21 21:06 fatigues65