Manipulating gold, EXP, and item drop rates after a fight?

I want to implement an upgrade system in my game that lets the player increase gold, EXP, and item drop rates after a fight. I know it's possible to manipulate gold, EXP, and item drops to some extent through Sp-Parameters and Party Abilities.

But while EXP can be adjusted to whatever percentage I like, gold and item drops are restricted to just doubling the normal amount received. I want to be able to adjust the rate in 10% increments, like 110%, 130%, 170%, etc.

There's also another problem on my mind: How do I even apply these upgrades? For example, I know it's possible to increase/decrease how much EXP a character/class earns through their Traits, but how do I even modify the Traits through events?
You're asking a few different questions here.

gold and item drops are restricted to just doubling the normal amount received. I want to be able to adjust the rate in 10% increments, like 110%, 130%, 170%, etc.
There are also Traits (under Party Abilities) to double gold or item drops.

If you want more granular control than that, there are a number of existing plugins you can Google that deal with customizing drops. They work in different ways, from simply adding additional items to be dropped to placing conditions on those drops to constructing elaborate loot tables.

You should look them up and see what suits you best. But...what does a 10% increment of an item even mean? What difference is there between dropping a potion and 170% of a potion?

How do I even apply these upgrades?
Probably not in the way you suggest:
how do I even modify the Traits through events?
You don't. You could make states that have Traits on them, but that's talking about a lot of manipulating states and convoluted logic in events. You could use a plugin for dynamic traits to get plugin commands to modify traits, but I think that's an inefficient route unless you want all of the experience, gold, and item rates to go off of the same Sp-parameter.

You can either assign a game variable to each actor and modify those values (for example Harold uses variable 53) or put a variable onto the actor directly that you can reference from the above plugins (e.g. actor._itemRate).

But step one is definitely to figure out what plugin suits your purposes.
how do I even modify the Traits through events?
you can't - by default the traits are static.

There are two different ways how you can proceed from here:

1) install a plugin that gives you dynamic traits and the script commands to change traits
2) create a number "difficulty" states that you apply one after another with increasing traits.
And speaking of those plugins, there are a couple of helpful plugins for MV that exist to help with that:

Adjusting item drop rates:

Adjusting gold drop rate:
  • Would need to do a plugin, something like:
  • Code:
    Game_Enemy.prototype.gold = function() {
        return this.enemy().gold * (100 + $gameVariables.value(YOUR_VARIABLE_ID)) / 100;
    };
  • You’d put the % value into a variable.

Setting traits in-game:
Adjusting gold drop rate:
  • Would need to do a plugin, something like:
  • Code:
    Game_Enemy.prototype.gold = function() {
        return this.enemy().gold * (100 + $gameVariables.value(YOUR_VARIABLE_ID)) / 100;
    };
  • You’d put the % value into a variable.
This seems good, but how am I supposed to implement this into my game?
Add the attached plugin to your list. It is set to track Variable 1. So if you set Variable 1 in your game to 10, then it will increase the enemy gold drop by 10%.

If you want to use a different Variable ID, then edit the plugin and change this 1 value to whichever Variable ID you want to use.
$gameVariables.value(1)
The plugin works perfectly, thank you so much! ^_^

Original thread: https://forums.rpgmakerweb.com/threads/manipulating-gold-exp-and-item-drop-rates-after-a-fight.156960/