Exp Formula

Hello, I'm using the Enemylevels plugin by Yanlfy and I want to know if there's a way to make my character gain the necessary experience for the next level... something like:

base + (gameActor.NextlevelExp)

Is there something like that? For example, something that stores the information of the experience required for the next level, similar to "gameActorLevel"?


Additionally (so as not to make another post), I would like to know if there is a plugin that allows you to make, when opening a chest, the item you find to be a random item between Object X and Object Y. In other words, it should be possible to obtain any object from the list, within the range of numbers that I decide.

Thanks for your time
I don't use MV, so cannot answer your first question.
Your second question - this can be done with straightforward eventing.

Make a master event somewhere that you can copy/paste
Set variable switch to between 0 and the maximum number of random items for that chest.
Conditional branch
If variable #n = 0
leave what would happen here blank (it will be an item)
If variable #n = 1
leave what would happen here blank.

Repeat as many times as necessary.

When you paste this to an actual chest, fill in the details of the items you want that particular chest to give.
Hello, I'm using the Enemylevels plugin by Yanlfy and I want to know if there's a way to make my character gain the necessary experience for the next level... something like:
Um, kind of. The parameters, including how much experience an enemy grants, are determined at the beginning of the battle when the enemies are created.

So there isn't any point of reference to a specific actor, like the actor that lands the killing blow. If there's only one actor in your party, you could easily do that, but then that would still be the same exp value for all the enemies in the troop.

If you want a system like every enemy you kill is an automatic level up, you'd be better off ignoring the actual exp parameter in enemy levels and doing something like a passive state on the actors, then use a Buffs & State notetag that manually gives them the exp to level every time they land a killing blow.

(or make a little plugin to replace the regular experience formula in the game)

Um, kind of. The parameters, including how much experience an enemy grants, are determined at the beginning of the battle when the enemies are created.

So there isn't any point of reference to a specific actor, like the actor that lands the killing blow. If there's only one actor in your party, you could easily do that, but then that would still be the same exp value for all the enemies in the troop.

If you want a system like every enemy you kill is an automatic level up, you'd be better off ignoring the actual exp parameter in enemy levels and doing something like a passive state on the actors, then use a Buffs & State notetag that manually gives them the exp to level every time they land a killing blow.

(or make a little plugin to replace the regular experience formula in the game)
Thanks. I'll give it a try and I'll post when or if I resolve it.

Thanks!
I don't use MV, so cannot answer your first question.
Your second question - this can be done with straightforward eventing.

Make a master event somewhere that you can copy/paste
Set variable switch to between 0 and the maximum number of random items for that chest.
Conditional branch
If variable #n = 0
leave what would happen here blank (it will be an item)
If variable #n = 1
leave what would happen here blank.

Repeat as many times as necessary.

When you paste this to an actual chest, fill in the details of the items you want that particular chest to give.
Yeah that's what I did, i just was lookiing for something easy, because if I have 200 possible objects in every chest its a bit long haha... I'll keep doing it this way but if I find anotherone I'll post it here.

Thanks
if I have 200 possible objects in every chest
There is a design discussion to be had (and this thread is not the place to do it) about random loot in chests: - how many; how to ensure that the loot given is relevant for that stage of the game; what about the player who is already maxxed out on Healing Potion I and gets yet more; etc. You have those questions on steroids with a potential 200 in every chest.
i just was lookiing for something easy, because if I have 200 possible objects in every chest its a bit long
I am almost 100% positive I've seen plugins that give loot charts for chests. Give it a Google.

And if it's the same possible items, just copy and paste the event between chests.

Original thread: https://forums.rpgmakerweb.com/threads/exp-formula.157976/