MV Level Reset plus yep stat allocation issues

Is there a way to fix it to when i force reset my players level back to one and had previously allocated the stats, that I am able to regain points from previous levels I had already achieved.
Example of what i mean. I fight a monster and reach level 10, gaining 10 entire levels.
I allocated my points where I want. Enter a fight and die, as a penalty I am sent back to the start with level reset to 1.
Now i enter another fight and again i gain 10 whole levels. Issue arises, i didn't receive any allocation points this time around.

So i have no clue how i can fix it or what i can do so that i still get this allocation points over and over again even if my level gets reset after a death.
I am also using keiths game over for custom death effects with a common event.

Thanks all in advance.
Please post a link to the plugins you are using, as well as screenshots showing how you've done the reset.
Yep stat allocation

Kath Gameover

Screenshot.png
So if you basically just want to wipe out any stats given to the actors, try this in a Script call:

Code:
$gameParty.allMembers().forEach(function(actor) {
  actor.initStatAllocation();
  actor.initAllocationPoints();
});
So if you basically just want to wipe out any stats given to the actors, try this in a Script call:

Code:
$gameParty.allMembers().forEach(function(actor) {
  actor.initStatAllocation();
  actor.initAllocationPoints();
});

Actually, I would like them to keep the stats allocated but still be able to gain more if they level up even after having gone back to level 1. But it won't allow me to gain more until i pass previous highest level reached.
I was checking out the plugin a bit and i think it is not possible. Probably the AP are linked to the level of the actor or class, hence when you reset it, they need to reach that level again in order to gain more AP.

Since I am no expert on plugins or coding in general, I might be wrong aswell. But seeing as this option isn't mentioned anywhere makes me think like that.

I've moved this thread to Plugin Support. Thank you.

so you are trying to create a game where dying allows the player to get even stronger than before, right?

I think the best way to do this is to initialize your actor, but have their params adjusted (you can save the params to a variable and call that variable to replace your actor's parameters through plugins like YEP Base Parameter Control and it's extension Class Base Parameters). So you will:
1. set the params to their respective variables before any allocations
2. assuming that you have the YEP plugins I mentioned above, use the function of the Class Base Parameters to call the variable for the class
3. save the new base params value you want to use upon death
4. initialize the actors
5. then transport the actors where you want them to go
so you are trying to create a game where dying allows the player to get even stronger than before, right?

I think the best way to do this is to initialize your actor, but have their params adjusted (you can save the params to a variable and call that variable to replace your actor's parameters through plugins like YEP Base Parameter Control and it's extension Class Base Parameters). So you will:
1. set the params to their respective variables before any allocations
2. assuming that you have the YEP plugins I mentioned above, use the function of the Class Base Parameters to call the variable for the class
3. save the new base params value you want to use upon death
4. initialize the actors
5. then transport the actors where you want them to go

Sounds kinda confusing lol but yes I have those plugins.
Sounds kinda confusing lol but yes I have those plugins.
Firstly, I must admit, I am not proficient in JS at all, and a lot of my workarounds are what I can do within my limit, and there could be more efficient workarounds.

1. Ok, basically, you need to set all params to a variable, multiplied by the number of actors. So, you need 1 variable set aside for MHP, 1 for ATK, etc etc, and then have that done for all actors available.
2. At the beginning of the game, set the variables to 0.
3. Use the below notetag for each variable in each class, replacing
a. Param with the param you want like MHP, ATK, etc
b. id in the script call with the variable ID set
c. insert formula with the formula for the base stats
<Custom Param Formula>
if ( $gameVariables.value (id) === '0') {
value = insert formula;
} else {
value = $gameVariables.value(id);
}
</Custom Param Formula>
4. Upon death, save the parameters to the variable ID you set before initializing your actor(s)
Firstly, I must admit, I am not proficient in JS at all, and a lot of my workarounds are what I can do within my limit, and there could be more efficient workarounds.

1. Ok, basically, you need to set all params to a variable, multiplied by the number of actors. So, you need 1 variable set aside for MHP, 1 for ATK, etc etc, and then have that done for all actors available.
2. At the beginning of the game, set the variables to 0.
3. Use the below notetag for each variable in each class, replacing
a. Param with the param you want like MHP, ATK, etc
b. id in the script call with the variable ID set
c. insert formula with the formula for the base stats
<Custom Param Formula>
if ( $gameVariables.value (id) === '0') {
value = insert formula;
} else {
value = $gameVariables.value(id);
}
</Custom Param Formula>
4. Upon death, save the parameters to the variable ID you set before initializing your actor(s)
Honestly i still don't understand it, would you be kind enough to maybe show me in a blank project how is properly set up?


edit.
I found a solution. I decided to try srds stat distribution plugin and guess what.
this one is not level bound. I still gain the stat points even after i reduce my level and level back up again.
so thank you so much for your help.

Original thread: https://forums.rpgmakerweb.com/threads/level-reset-plus-yep-stat-allocation-issues.131123/