Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicRPG MythicRPG
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicRPGMythicRPG
  • Issues
  • #39

Closed
Open
Created May 08, 2025 by hugohuetzel@hugohuetzel

[Feature Request] Save Archetype progress when switching

Currently, when switching archetypes, progress is not saved. If you then switch back to that archetype, your progress is reset to zero.

Example:

Archetype Warrior and Archer in the group CLASS. If you start as a Warrior and, for example, get to level 4 and then switch to Archer and back to Warrior, the level is 1.

If you look at the data JSON you can see that the progress from Warrior is gone after switching to Archer.

Data after bringing the Warrior to level 4 (in MythicRPG/data/players/):

"CLASS": {
      "Warrior": {
        "archetypeId": "Warrior",
        "level": 4,
        "experience": 200,
        "targetExperience": 1000,
        "source": "GENERAL",
        "sourceData": "HugoHuetzel",
        "description": "[]",
        "unlocked": true
      }
    }

Data after switching to Archer:

"CLASS": {
      "Archer": {
        "archetypeId": "Archer",
        "level": 2,
        "experience": 100,
        "targetExperience": 600,
        "source": "GENERAL",
        "sourceData": "HugoHuetzel",
        "description": "[]",
        "unlocked": true
      }
    }

It would be great if the data wasn't deleted/overwritten when switching.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking