Hi! I'm not thaaat good in RMMZ javascript, but I was looking for some way to alter the level up system for something like the old and gold Might and Magic VII For Blood and Honor (oh man, I loved that!).
In that game, you do adquire xp from slaying monsters and fulfilling quests, but you do not automatically gain the next level number until you go to a trainer in the town and pay for it.
So, I highly suspect that my answer lays in the function Game_Actor.prototype.changeExp, that calls the Game_Actor.prototype.levelUp() function. All sounds good until I stumble in the crypto code from VisuStella Core Engine that seems to have it's own levelUp function, since the code go there when a debug in the console, but, as you know, it's encrypted.
I'm almosting overwriting this back to the original levelUp() function from objects.js, but in the meantime I'll be doing my testings, I wondered if some of you know if what the VisuStella CoreEngine do with the levelup function is something critical to that plugin.
In the VisuStella wiki I saw things like restore HP/MP and maxLevel... maybe it'll be messed up, I think.
In that game, you do adquire xp from slaying monsters and fulfilling quests, but you do not automatically gain the next level number until you go to a trainer in the town and pay for it.
So, I highly suspect that my answer lays in the function Game_Actor.prototype.changeExp, that calls the Game_Actor.prototype.levelUp() function. All sounds good until I stumble in the crypto code from VisuStella Core Engine that seems to have it's own levelUp function, since the code go there when a debug in the console, but, as you know, it's encrypted.
I'm almosting overwriting this back to the original levelUp() function from objects.js, but in the meantime I'll be doing my testings, I wondered if some of you know if what the VisuStella CoreEngine do with the levelup function is something critical to that plugin.
In the VisuStella wiki I saw things like restore HP/MP and maxLevel... maybe it'll be messed up, I think.