MUnique / OpenMU

This project aims to create an easy to use, extendable and customizable server for a MMORPG called "MU Online".
https://munique.net
MIT License
707 stars 296 forks source link

Level-up points should be compensated when gaining Hero Status beyond level 220 #394

Closed halflumi closed 9 months ago

halflumi commented 9 months ago

Describe the bug Gaining Hero Status beyond level 220 would normally get compensated for 1 level-up point per level-up after level 220. The points are added correctly on the client side upon quest completion, but they can't be spent and disappear on logout.

To Reproduce Steps to reproduce the behavior:

  1. Reset server to 1.04 with test accounts.
  2. Log in to character quest2Dk of the test account quest2.
  3. Gain some levels, in this case, 5.
  4. Dump all 420 (initial 395 + 25 from level-ups) points to Energy.
  5. Complete the 2 class change quests. Now there are 20 level-up points from the quest reward.
  6. Complete the Hero Status quest. Now there are 25 level-up points, 5 more from the Hero Status quest, compensated for level-ups from level 221 to 225.
  7. Spend the points. Notice that the last 5 points can't be spent and disappear on logout.

Expected behavior The compensated points can be spent as usual.