Skip to content
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

Statuses changes of active effects aren't dispatched to the token #9103

Closed
1 of 6 tasks
dev7355608 opened this issue Mar 24, 2023 · 0 comments
Closed
1 of 6 tasks

Statuses changes of active effects aren't dispatched to the token #9103

dev7355608 opened this issue Mar 24, 2023 · 0 comments
Assignees
Labels
active-effects Issues related to Active Effects bug Functionality which is not working as intended

Comments

@dev7355608
Copy link

What happened?

#dispatchTokenStatusChange needs to be called for the statuses that have been removed and the statuses that have been added.

What ways of accessing Foundry can you encounter this issue in?

  • Native App (Electron)
  • Chrome
  • Firefox
  • Safari
  • Other

Reproduction Steps

  1. Create a token with vision radius > 0.
  2. Create an effect on the actor.
  3. Select the token.
  4. Update statuses to ["blind"] and observe that the token's vision isn't blinded.
effect.update({ statuses: ["blind"] })
  1. Unselect and reselect the token: the token's vision is blinded now.
  2. Update statuses to [] and observe that the token's vision is still blinded.
effect.update({ statuses: [] })
  1. Unselect and reselect the token: the token's vision is no longer blinded.

What core version are you reporting this for?

Version 11 Development 1 (build 294)

Relevant log output

No response

Bug Checklist

  • The issue occurs while all Modules are disabled
@dev7355608 dev7355608 added the bug Functionality which is not working as intended label Mar 24, 2023
@aaclayton aaclayton added the active-effects Issues related to Active Effects label Mar 25, 2023
@Fyorl Fyorl self-assigned this Apr 4, 2023
@Fyorl Fyorl closed this as completed Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
active-effects Issues related to Active Effects bug Functionality which is not working as intended
Projects
Status: Done
Development

No branches or pull requests

3 participants