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

[Magic] Update FixMagicIfNeeded #379

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

Conversation

NamesNotRick
Copy link

@NamesNotRick NamesNotRick commented Oct 20, 2023

Function in pull request is missing a fix for skill points - connected to another bigger bug that I have no idea how to fix.

In Multiplayer, players can be set to the level of the owner of the world due to unknown circumstances after unlocking magic. When this happens, though, the player whose level was set does not get the skill points and becomes unable to get those skill points that were skipped. Due to this, my assumption was that this was the function that was called, which is why I've added this change to at least give the players the correct amount of skill points.

Just as a heads up, this is untested (unsure of how to test) but it should be pretty easy to fix up if it is wrong - am a little uncertain on whether my foreach is accessing the dictionary correctly.

Function in message was missing a fix for skill points - connected to another bigger bug that I have no idea how to fix. 

In Multiplayer, players can be set to the level of the owner of the world due to unknown circumstances after unlocking magic. When this happens, though, the player whose level was set does not get the skill points and becomes unable to get those skill points that were skipped. Due to this, my assumption was that this was the function that was called, which is why I've added this change to at least give the players the correct amount of skill points.
@NamesNotRick NamesNotRick changed the title Update FixMagicIfNeeded [Magic] Update FixMagicIfNeeded Oct 20, 2023
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.

1 participant