-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Describe the bug
If a player rolls a crit on an weapon attack without having selected a target token, a dialog box opens up asking them to select an actor to use as the target, the lookup table in this box is populated with the entire actor list, regardless of permissions.
This happens on weapon attacks only.
This happens even is 'Automatic Apply Damage' is disabled.
My reason for selecting High priority is this would enable players to see hidden information, and I would be relying on my trust in my players to always remember to select a target token before rolling attacks.
The screen shots below are from my current game, the player only has permissions to see one actor, but the list includes every single actor in the entire game.
Reproduction
On a new game, with no mods installed, create two actors, give one A in both Strength and Close Combat (to maximise crit chance)
Create a player user and grant them permission to use the actor with the A ranks and not the other one.
Create a basic melee weapon and equipment he actor with the A ranks with one.
Log in as the new player, select that actor and open the character sheet.
Use the weapon to roll an attack, select Advantage to give highest dice, repeat this until an attack scores a crit.
Select the chat dialog to roll the crit, an error with appear saying that no actor token was selected, and a dialog will open with a lookup table showing both actors, even though the player only has permissions to see one of them.
System Info
Running Windows
Occurs in Foundry version 13 build 531
Occurs in both Chrome and FirefoxLogs
Tried pasting test but that didn't work.
Priority this issue should have?
High (a broken feature, major functional impact)
Validations
- Done a clean install of the system.
- Disabled all modules.
- Checked if the issue is present in a new world instance (create a new world in foundry using the Blade Runner system).