Anyone knows of a Plugin (or any other way) that allies to set a dynamic Level Cap? Like you can grind till Level 20, but then before you can climb any higher in your level something else needs to be done, that activates a switch or a plugin command to rise the Level Cap to 40 and so on.
Ideally this would include an option to Store EXP gained after the Level Cap, so the player will get them Back, when the max level rises.
I do have one in my older plugin that has a level cap through variable.
but no exp saving after.
not sure how you can do that though as max level doesn't gain exp.
depending which plugin you use more for this (lower exp on lower enemies)
for one example, this should be given as well so it can be made compatible.
Didn't give this much thought but does it not work if you just give the actors a property ._levelCap and then change the while loop in the changeExp method:
while (!this.isMaxLevel() && this.currentExp() >= this.nextLevelExp() && this._level <= this._levelCap) {
this.levelUp();
}
EDIT: or should it be < instead of <=
The issue is the OP wants to store the excess XP and reapply it once the level cap is raised. Not terribly difficult to do, but I basically have to rewrite my whole plugin to make it work the way I'm planning... It's a good thing tho as the coding of my old work needs, well, work...
Without a plugin, you might be able to do it using a separate class for each tier.
Quick BUMP to reiterate that my updated plugin is done.
Oh! I didn't get a notification from the edited message, sorry! I will check it out as soon as possible 😀 thank you so much for jumping right into it!
I figured as much.
I was trying to respect the double post rule...
But yeah, let me know if I missed anything and I'll try to fix it.