Modifying Experience Gained

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
Here is what I am trying to achieve with modifying experience:


A = Character Level
B = Enemy Level
C = Enemy Max HP
D = Damage Inflicted


x and y are just variables needed for the final calculation.


x = 2 ^ ((B - A)+3))
y = x * (D/C)
1 <= y <= x <= 48
Experience Earned For Killing Enemy = (x + y) >= 48
Experience Earned For Damaging Enemy = y >= 48
Experience Earned For Multiple Enemies = Sum of each >= 48


So basically 48 is the max experience that can be gained but it is all dependent on player and enemy levels.  Can anyone help with this? 


Edit:


Please note I am using GTBS for my battle system and experience is earned each turn whether you kill the enemy or not.


Gubid's Latest Version of GTBS
 
Last edited by a moderator:

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
Hi Bored Soul thanks for the response.  I won't need to raise levels past current boundaries so the script linked would not be necessary.  I don't need the enemy levels to be adjusting either.  Grinding is allowed in my game but knowing that if you do grind then your experience will decrease to the point it is no longer worth it.  You may get 1 exp point for killing enemies after a while.


I don't think I need outside scripts but rather a way to call this info out from the current game and then apply the equations I listed out.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,848
First Language
English
Exp gain in RPG maker is not done using formulas; it's straight numbers that you specify under each enemy.


You will need scripts in order to create diminishing exp rewards based on formulas.





For example with this script, you can assign an exp formula to enemies, using things such as variables to keep track of how many times an enemy has been killed.


However, note that exp gain is not based on each individual actor; all actors in the party receive the same exp (which may be adjusted individually based on what features they have on them)


So you wouldn't be able to say things like "actor's level vs enemy's level" directly without using another script.
 
Last edited by a moderator:

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
I should clarify I am trying to get this to work with GTBS.  So in this case I am actually looking for formulas that can be used in a TBS system where you don't always kill the enemy.  Hime I like your level difference script but I don't think it would be plug and play with GTBS.  That one would be a start on getting this formula right.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
You should probably mention that kinda important factor in the opening post.


And add a link to the scripts you think are important for the feature you ask for.
 

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
Sorry I edited my first post but linking the script might prove difficult.  I will have to find where it pulls the EXP in from in his system.


Edit:


 Added link to Gubid's entire system.
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top