Stagnant "Next Level" with Enemy XP decay

Hey all,

Game like .Hack, Lost Odyssey, and Paper Mario have mechanics where "EXP to Next Level" is a stagnant number (say, 1000 for example) and after each level up, the amount of EXP given from enemies slightly decreases. I was hoping to request a script that essentially does this.

Ways I think it would work: 
Assign enemies a "Level", this would essentially be useless outside of this instance (for EXP use)
Assign enemies an amount of EXP to be given (either from tag or from the database)

Take the average level of the party and compare that to the tagged level of the monster

For every level the average party level is higher than the monster, subtract... 5%
For every level the average party level is lower than the monster, add... 5%

I've searched the Master Script List and Google for hits and no dice. Hopefully, somebody can help me out! 
Cheers
there is a script out there for enemy levels... then I think there's also a script out there for using formulas to determine EXP so you could probably get it too...
The script about enemies level is available on  Yanfly's blog if I'm not mistaken. 
Tsukihime's Enemy level script plus her enemy exp script...


then your exp formula will be like:


(just looks like this, IDK what the exact syntax of the scripts are)


(EXP*(1-0.05*(enemylevel-partylevel))).to_i


EXP = exp your enemy would normally give


enemylevel and partylevel are the script equivalent of getting the levels


so if the enemy is supposed to give 10 exp


(10*(1-0.05*(enemylevel-partylevel))).to_i

Original thread: https://forums.rpgmakerweb.com/threads/stagnant-next-level-with-enemy-xp-decay.21636/