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 regression autotarget tunnel & blink staff bug #685

Merged

Conversation

zenzombie
Copy link
Collaborator

Fix a bug where some known good staffs of unknown kind (like blinking and tunneling) would not autotarget enemies, leaking information about the staff kind.

@tmewett
Copy link
Owner

tmewett commented May 9, 2024

Q: Does this make more sense to fix in the next if statement? Instead of using target allies/enemies bolt flag, use magic polarity? I feel like that is the source of the leak - we shouldn't know bolt target from polarity, right?

@zenzombie
Copy link
Collaborator Author

Sure I can make that change probably this weekend.

@zenzombie zenzombie force-pushed the regression-autotarget-blink-tunnel branch from 3d84045 to 601d2eb Compare May 19, 2024 01:58
@zenzombie
Copy link
Collaborator Author

@tmewett Ok I changed the flow. I think it's a lot cleaner now.

@tmewett tmewett merged commit 671188e into tmewett:release May 24, 2024
2 checks passed
zenzombie added a commit to zenzombie/BrogueCE that referenced this pull request May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants