Experience Overhaul

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
677
Reaction score
271
First Language
English
Primarily Uses
RMMV
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)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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?
 
Last edited by a moderator:

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
677
Reaction score
271
First Language
English
Primarily Uses
RMMV
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!
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Is that the only battle-related script you've added to your project?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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).
 

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
677
Reaction score
271
First Language
English
Primarily Uses
RMMV
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top