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

Fix hitscan reflection ignoring reflects param #34616

Closed
wants to merge 1 commit into from

Conversation

c4llv07e
Copy link
Contributor

About the PR

Reflection code ignores reflective and reflects params in the reflector and hitscan when handling user reflection (when character reflects using sword or armor). It's not true for general reflection (when character has component ReflectionComponent), so I think it's a bug.

Why / Balance

It's a bug.

Technical details

Moved reflection check from event handlers to TryReflectHitscan. TryReflectProjectile has the similar check.

Media

res.mp4

Requirements

Breaking changes

None, it's a bug

Changelog
There's no items that were affected by this, so no CL.

@github-actions github-actions bot added S: Needs Review Status: Requires additional reviews before being fully accepted size/S Denotes a PR that changes 10-99 lines. S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Jan 24, 2025
@ruddygreat
Copy link

fwiw this is a near-exact duplicate of #34203

@c4llv07e
Copy link
Contributor Author

fwiw this is a near-exact duplicate of #34203

Oh, for some reason couldn't find it. Closing then.

@c4llv07e c4llv07e closed this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Needs Review Status: Requires additional reviews before being fully accepted S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. size/S Denotes a PR that changes 10-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants