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 Critical Issue with Respec #96

Merged
merged 5 commits into from
Jul 8, 2023
Merged

Fix Critical Issue with Respec #96

merged 5 commits into from
Jul 8, 2023

Conversation

jonathan-robertson
Copy link
Owner

@jonathan-robertson jonathan-robertson commented Jul 8, 2023

  • add mechanic to detect/fix too many skill points
  • fix purchase log to clarify total & change
  • fix respec (Memory Therapy) to no longer give extra skill points
  • update support invite link

📝 INFO FOR ADMINS

If you installed and used any version of Amnesia 2, prior to this release, some of your players may have benefitted from receiving more skill points than they were due when resetting their skill points at the trader via Memory Therapy.

Updating to this version (or beyond) of Amnesia will:

  1. fix this issue with Memory Therapy so it can't be used to duplicate skill points again,
  2. automatically check if a player has more skill points than expected on login,
  3. and automatically remove those extra skill points from any player who has too many:
    1. if some/all of those extra skill points happen to be applied to skills already, the most recently purchased skills will be rewound in order of purchase until enough skill points are free remove them and bring that player back in line with the expected skill point count for their level & quests.
    2. players who are rewound in this way will receive the following notice:
      amnesia-skill-point-integrity-check-dialog

⚠️ WARNING FOR ADMINS

Amnesia resets skill points by relying on the client's respec mechanic now and this integrity check relies on calculations including values pulled from the player's save data file. If you have mods or add more skill points to players outside of Quests or Leveling Up, these extra skill points will be treated by Amnesia as being part of the bug AND WILL BE REVERSED!

If you have give your players additional skill points and are worried they will be erased, please reach out to me at My Discord Support Server BEFORE installing this update. That way, we can discuss your setup and see if there's something I can do to include checks for your additional skill points... or perhaps provide you with a way to disable this check.

@jonathan-robertson jonathan-robertson linked an issue Jul 8, 2023 that may be closed by this pull request
@jonathan-robertson jonathan-robertson merged commit 4658eb3 into main Jul 8, 2023
@jonathan-robertson jonathan-robertson deleted the dev branch July 8, 2023 22:50
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.

🔢 Fix Bad Calculation on Respec
1 participant