How should i make leveling system

Should i make leveling system by just making XP and level variables in player class and make whenever player pass the level get like 20% more XP to pass new level and like 15% more health and faster regeneration or should i make level struck with all variables premade. That system is used in Close Combat Swordsman Marketplace project.

In my experience you should give player choice when deciding level up perks, this increases replayability, gives player agency, and allows for emergent gameplay when you stretch your system to it’s limits. However I’d also recommend handling this information in your player state and not the actor in case you need to change it out for any reason.