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

Prevent having two sets of origin options for non-saves #18076

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

CarlosFdez
Copy link
Collaborator

@CarlosFdez CarlosFdez commented Jan 22, 2025

It seems the code we're removing predates the origin/target options. Currently if an NPC ability includes an inline perception check that is posted to chat, the origin is the roller and not the NPC. This conflicted with item.actor, creating two sets of origin options.

After this, it should only post the roller's options as the origin by default.

This bug looks ancient though, I wonder why now.

@stwlam stwlam merged commit d81bad6 into foundryvtt:master Jan 22, 2025
1 check passed
@CarlosFdez CarlosFdez deleted the no-double-origin branch January 22, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants