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 Exalt 5 Bonus Reward #611

Merged
merged 7 commits into from
Jul 17, 2024
Merged

Conversation

kimihiro64
Copy link
Contributor

fix global currentSingChallenge value after reloads

fix global currentSingChallenge value after reloads
syntax issues
typos, syntax
@kimihiro64 kimihiro64 changed the title Update Synergism.ts Fix Exalt 5 Bonus Reward Jul 15, 2024
@kimihiro64
Copy link
Contributor Author

The exalt bonus is properly applied when enabling an exalt challenge as G.currentSingChallenge is properly set, but if the game reloads, all the G values revert to the defaults, which changes it back to undefined, incorrectly calculating the bonus as 0. This repopulates the value correctly, but could just as easily not use this value and rely on the player values directly. This fix seems like less change overall in short term.

use tag instead of key directly
@KhafraDev KhafraDev merged commit fa71c43 into Pseudo-Corp:master Jul 17, 2024
3 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