Skip to content

Fix spawn level bug

S Handley requested to merge shandley/fix-spawn-levels into master

This fixes an issue where characters who are loaded from the DB with level > 1 and experience points are levelling up when they shouldn't be. I wasn't setting the expected exp value to reach he next level, so it was always beginning at the level 1 value (50) and stacking on levels based on that.

It also changes how we manage the DB connection when batch updating stats.

  • By opening this merge request, you agree to release your code and all other changes under the GPL 3 license and to abide by the terms set by this license.
  • Significant changes of this merge request have been added to the changelog.
Edited by S Handley

Merge request reports