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

Send QUEST_COND_STATE_NOT_EQUAL and QUEST_COND_STATE_EQUAL on login #2394

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Conversation

scooterboo
Copy link
Contributor

Description

This really only affects quests with multiple accept conditions, but those accept conditions were not being properly preset on login. Also, QUEST_COND_STATE_NOT_EQUAL were not being touched at all if a quest in there was a unstarted quest. For example if Quest A had accept conditions of QUEST_COND_STATE_NOT_EQUAL, Quest B, 3 and B was state 0, A would not be accepted because B has never had a state change.

Issues fixed by this PR

Totally tested this time, this fixes the last bug in act 1/2 🥳
Works like a charm.

Type of changes

  • Bug fix
  • New feature
  • Enhancement
  • Documentation

Checklist:

  • My code follows the style guidelines of this project
  • My pull request is unique and no other pull requests have been opened for these changes
  • I have read the Contributing note and Code of conduct
  • I am responsible for any copyright issues with my code if it occurs in the future.

@KingRainbow44 KingRainbow44 merged commit 582d7af into Grasscutters:development Oct 2, 2023
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