Experience Overhaul

So I'm looking for a script that changes a lot about how experience is given for battles.

I'm not very good at explaining things so I will make an example.

Slimes give 10 experience. Experience is split between everyone who does damage, killer receives 50% bonus experience.

If enemy is killed in a single hit, killer receives double experience. 50% 1hko bonus and 50% killer bonus.

Code:
Slime A & B vs Actor 1, 2, & 3Actor 1 attacks Slime AActor 2 attacks Slime ASlime A is defeatedActor 1 receives 5 experienceActor 2 receives 5 experience + 2.5 experience (50% killer bonus)Actor 3 receives 0 experienceActor 3 attacks Slime BSlime B is defeatedActor 3 receives 10 experience + 10 (50% killer bonus + 50% 1HKO bonus)
Does this experience get applied to the party during the battle or all at the end?


You cannot have fractions of experience - it's a whole number. So in the case above, Actor 2 would not receive 5 experience + 2.5 experience. And what happens when there are 3 actors who hit the slime before it's defeated? 3+3+3 = 9 - where does the other 1 experience go?


Why does actor 2 only receive 2.5 as the 50% killer bonus, but Actor 3 receives 5 as the 50% killer bonus? Is it based on the EXP from the slime (10) or the EXP that is their share of the kill (5 and 10 respectively)?


Defeated actors don't normally get EXP. What happens an actor participated in defeating an enemy (even if it was a one-hit defeat) but is dead by the time experience is dished out? Do they still get it?
Does this experience get applied to the party during the battle or all at the end?
During the battle. As I was planning on using it with this script here.

You cannot have fractions of experience - it's a whole number. So in the case above, Actor 2 would not receive 5 experience + 2.5 experience. And what happens when there are 3 actors who hit the slime before it's defeated? 3+3+3 = 9 - where does the other 1 experience go?
Hmm. I suppose it can be 50% rounded down.

Why does actor 2 only receive 2.5 as the 50% killer bonus, but Actor 3 receives 5 as the 50% killer bonus? Is it based on the EXP from the slime (10) or the EXP that is their share of the kill (5 and 10 respectively)?
Actor 2 received a 50% bonus of his share of the experience which was 5/10 since 2 actors did damage to the slime.

Actor 3 received 50% bonus of his share of the experience which was 10/10 since he did all the damage.

So it's based on their experience share of the kill.

Defeated actors don't normally get EXP. What happens an actor participated in defeating an enemy (even if it was a one-hit defeat) but is dead by the time experience is dished out? Do they still get it?
​I was hoping to integrate the script I posted above. Therefore they would get rewards during battle.

However, in the case that someone dies before the monster is killed, I haven't thought about that.

They could just receive their share of the experience as if they were still alive or perhaps a percentage of the experience would be taken away as a penalty.

Thanks a ton for the questions! It really helps bring more clarity to the post!
Is that the only battle-related script you've added to your project?
Is that the only battle-related script you've added to your project?
Jet's Side View Battle

Yanfly's Battle Engine

Yanfly's Enemy HP Bars

Yanfly's Element Popups

Yanfly's Element Absorb

Yanfly's Element Reflect
Add links for those too please. If someone needs to write a script that works with your other scripts, they need to know what those other scripts are (and be able to find them easily without having to go hunting).
Add links for those too please. If someone needs to write a script that works with your other scripts, they need to know what those other scripts are (and be able to find them easily without having to go hunting).
Done! :3

Original thread: https://forums.rpgmakerweb.com/threads/experience-overhaul.43540/