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

Do exact boss name matching in OnSpecialSelected #151

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

naydef
Copy link
Contributor

@naydef naydef commented Dec 17, 2023

The story:
We use hidden spawning plugin which spawns hidden bosses randomly, the plugin was made for FF2Bat. When one of the hidden bosses spawns, characterName was set to for example hiddens/supremex10 (aka the path to the boss config) and everything worked fine.

The same plugin was tested on FF2R and It didn't work correctly, hidden boss will randomly not get forced. It seems FF2R only checks the name of the boss. Ok, then. I modified the plugin to set characterName to exact boss name. Tested and it also didn't work all the time. Fine. More code checking and it seems OnSpecialSelected uses inexact boss name matching. So I switched second argument to true

So there's the pull request, do exact boss name checking in OnSpecialSelected.

@Batfoxkid Batfoxkid merged commit ee58d22 into Batfoxkid:main Dec 18, 2023
1 of 2 checks passed
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