espositos / fvtt-tokenactionhud

Creating a token action HUD module for Foundry VTT
31 stars 38 forks source link

Cantrips Not showing up in 5e #297

Closed fatigues65 closed 3 years ago

fatigues65 commented 3 years ago

I believe that a fix to address spells not showing up in 5e was added earlier today. That sort of worked. Problem, it only is showing spells of level 1 and up on the HUD. It is not showing cantrips.

Seeing as those are the go to attack spells for most Wizards... when they aren't doing anything else that's flashy -- that's a problem.

roi007leaf commented 3 years ago

doesnt happen to me image

Fridan99 commented 3 years ago

In my game I can see the cantrips with the recent update. screenshot

fatigues65 commented 3 years ago

Well, I'm not making it up: image

fatigues65 commented 3 years ago

From the above cases where it is working, it appears to be a case of innate racial casting sources in one case, and a druid in the next.

Is there something wrong or different in the way it is capturing wizard spells of 1-9 but not cantrips?

benbarbour commented 3 years ago

Hmmm, if you don't mind posting the actor's data (right click on the Actor in the sidebar, press "Export Data", save the file, and attach it to a response here) I can take a look, but I can't replicate this. I tried a few different combinations of things, including setting the Preparation Mode to "Innate Spellcasting" and the cantrip still always shows up. Are the spells in question set up to use limited resources of some kind, and does the character have enough of those resources?

fatigues65 commented 3 years ago

I'm not sure. It's possible I am doing something totally noobish and overlooking the obvious. I'd say "Hell NO I'm not that dumb!"... except, there is a distinct possibility I might be precisely that dumb. :)

fvtt-Actor-raistlin-majere.zip

fatigues65 commented 3 years ago

Ahhhh. I think this needed to be set to "at-will" within the spell. Let me check winces

fatigues65 commented 3 years ago

Yes. They needed to be set to always prepared .When they are - they are showing up. I apologize for wasting your time.

RESOLVED

benbarbour commented 3 years ago

Well, something weird is still happening on your end, because they don't need to be set to "Always Prepared" for me. They should up in the "At Will" subcategory (but still under "Spells") if they are "Innate Spellcasting", but if I just set them to "Prepared" then they still show up, regardless of whether or not they are marked prepared or not. I believe this is by design. Glad you've got it working "well enough" though! :)

benbarbour commented 3 years ago

Or something could be weird on my end, I guess! But with that actor, with Fire Bolt, Light, Minor Illusion, and Ray of Frost all set to "Prepared", they all show up in my HUD.