-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drawing a weapon with multiples (like a javelin) adds multiple buttons when PF2E Ranged Combat is enabled #67
Comments
That's an interesting interaction. Can you export and send me the actor with the multiple javelins please? I've added a bunch of javelins to an actor, but I only ever get one javelin, which admittedly isn't great for dual wielders. |
Hmm odd. It's the Amiri actor from the Iconics compendium that comes with the system. I'll upload here too. Admittedly, I'm not running a clean world. I only just thought of that. Happy to add a separate issue to track the number of buttons per row issue too if that's easier. |
Just found the interaction. PF2E Ranged Combat module is the culprit for the weird interaction. |
It uses the slug currently, which I suspect is the same for these two items? Perhaps that happens when an item is added to an actor and then renamed. I should be able to change it to the name instead without too much issue. It can't use the item id as otherwise the GM's HUD gets filled up with empty groups of weapons for every monster they've clicked on. |
changing to name will help a lot |
Moving to Token Action HUD Core as duplication issue will need to be resolved there. |
This should now be fixed in Token Action HUD Core 1.2.2. I'll leave this issue open for a little while for feedback. |
Were those duplicate javelins there before you updated to 1.2.2? If so, you'll probably need to open up the dialog for the Weapons subcategory and click Accept. I haven't added anything to the code to remove previously duplicated items. |
Alrighty, yeah they were all there before. I only tried making a new token from the actor. I made a new actor from the compendium and all looks ok. Also confirmed that opening the subcategory cleared things out. Not an urgent one, but maybe a refresh button could be a good thing for these situations? Though I suppose once the bugs are fixed, it only really affects old tokens. |
There is a function to reset actor flags where all the action data is held, but it's an all or nothing currently: |
Fixed in Token Action HUD Core 1.3.0. |
First off, I dig the customisability. Was there any refactoring for performance in there too out of curiosity?
Disovered this while playing around. To replicate, add a weapon (I had javelin which is pretty common to have multiples of, but daggers would be similar). Hit the draw button on the HUD.
The text was updated successfully, but these errors were encountered: