Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

in D&D Spells not showing #287

Open
rinnocenti opened this issue Jun 22, 2021 · 13 comments
Open

in D&D Spells not showing #287

rinnocenti opened this issue Jun 22, 2021 · 13 comments

Comments

@rinnocenti
Copy link
Contributor

rinnocenti commented Jun 22, 2021

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

image

@EvldoaTV
Copy link

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

@solistahoe
Copy link

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.

@makhmud
Copy link

makhmud commented Jun 23, 2021

So do "Skills" category
I believe mistake is here:

if (actor.data.type !== 'vehicle') return;

if (actor.data.type !== 'vehicle') return;

I think line
if (actor.data.type !== 'vehicle') return;
should be replaced with
if (actor.data.type === 'vehicle') return;

@vanderleitelesjr
Copy link

So do "Skills" category
I believe mistake is here:

if (actor.data.type !== 'vehicle') return;

if (actor.data.type !== 'vehicle') return;

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.

@SaintVidar
Copy link

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

@Matt-BW
Copy link

Matt-BW commented Jun 23, 2021

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

My group love this module so much.

@benbarbour
Copy link
Contributor

See my apology on #289.

benbarbour added a commit to benbarbour/fvtt-tokenactionhud that referenced this issue Jun 24, 2021
@Avitale34
Copy link

Came here for same reason!

@benbarbour
Copy link
Contributor

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.

@Fridan99
Copy link

How can i change that line?

@benbarbour
Copy link
Contributor

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
Copy link
Contributor

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.

espositos pushed a commit that referenced this issue Jun 26, 2021
* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Update module.json

* Restored D&D 5e spells and skills

Fixes #289 and #287. Credit goes to @makhmud.

* Fix building encodedValue in dnd5e-actions.js

Credit for fix goes to @ranky.

* Fix #292 - D&D 5e action symbols missing
@fatigues65
Copy link

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

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

No branches or pull requests