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 invalid boss race in mission data #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LastExceed
Copy link

the reason i care about this at all is because i am working on a networking library for cubeworld that is very strict about data validity, and it breaks on cuwo servers because of this

it was falsely assumed that monster_id refers to the guid of the boss (hence the comment expressing confusion), when it actually represents the race (eg undead) of the boss, which is sometimes used in the mission text on the right side of the screen (eg "defeat the undead in [dungeon]"). since this mission doesn't have such text, it doesn't matter what value is used here so it should at least be a valid one (0-156). i decided to default to 0 which represents a male elf

fix invalid boss race in mission data
Copy link
Collaborator

@tehNinth tehNinth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, change only affects the King of the Hill mode (without changing functionality)

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