I want to make the XP gained from battle be automatically calculated from the difficulty of the enemy. I'm already doing this but it's quite tedious to calculate and enter the XP myself, especially while I do balance testing for my game (Adjust one stat, and the XP changes - or adjust the XP equation and have to redo every monster!).
The problem is not so much a lack of ability (this is pretty much just inserting some simple arithmetic...) but I can't seem to locate the part of the base RMXP code where the XP is given to the party at the end of a battle...
Edit: I seem to have found it; however I am still slightly mystified... So far I have:
# Add EXP and amount of gold obtained
exp += (enemy.exp + (enemy.str + enemy.dex + enemy.agi + enemy.int + )
I want to use the exp as bonus XP, for monsters with special abilities that might make them more difficult than their base stats suggest. But I want the equation to be the average of the sum of the monsters ten base stats.