Closed trdischat closed 3 years ago
So do "Spells" 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;
This line should also be changed to
let encodedValue = [macroType, token.id, e[0]].join(this.delimiter);
So do "Spells" category I believe mistake is here:
I think line
if (actor.data.type !== 'vehicle') return;
should be replaced withif (actor.data.type === 'vehicle') return;
This line should also be changed to
let encodedValue = [macroType, token.id, e[0]].join(this.delimiter);
Both are correct
Yah..sucked that this is broken. My players really enjoy it, and had to roll from character sheet last night, or drag to quick bar at the bottom. Hopefully he fixes it soon :) Love this module!
This is my Players favourite tool - hopefully it will be mended soon.....????
So do "Spells" category I believe mistake is here: https://github.com/espositos/fvtt-tokenactionhud/blob/f0eb5f787f0c029e6b95d24caa4de898dc587369/scripts/actions/dnd5e/dnd5e-actions.js#L198
I think line
if (actor.data.type !== 'vehicle') return;
should be replaced withif (actor.data.type === 'vehicle') return;
This line should also be changed to
let encodedValue = [macroType, token.id, e[0]].join(this.delimiter);
Both are correct
IT TOTALLY WORKED! THANK YOU!
Thanks for the info, this has worked for me which is great.
Sorry guys, this is my fault. @espositos merged my PR for #91 and I didn't test it enough in "normal mode". Obvious bug. :( I'll try to find time tonight to fix it and test more.
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.
Hello! the Skill category is still missing after the fix, only spell returned. Thank you
You changed the if (actor.data.type !== 'vehicle') return;
line in both places? I just tested again and I can't reproduce that - skills are showing up for me.
Running version 1.1.4 of Token Action HUD in FVTT 0.8.7 with dnd5e 1.3.5, and no other modules enabled. With the latest version, Skills no longer appear as a tab in the HUD.