Sp-Parameters

I'm making some guesses on what these do based on the names, since they don't seem to have tooltips or a Help document entry (unless I missed it).

For example, "Target Rate" - I'm guessing this influences whether or not the battler will be targeted for enemy attacks, but how do enemies select their targeting for random-single-target attacks "ordinarily" and how does this weigh into that?

I'd love to know what all these Sp-Parameters do... u.u
TGR is indeed how often the battler will be chosen as a target:

Code:
Game_Unit.prototype.randomTarget = function() {
    let tgrRand = Math.random() * this.tgrSum();
    let target = null;
    for (const member of this.aliveMembers()) {
        tgrRand -= member.tgr;
        if (tgrRand <= 0 && !target) {
            target = member;
        }
    }
    return target;
};

So basically how it works is that the engine generates a random number from 0 to 1, then multiplies it by the party's total TGR value across all members. Then it runs through all alive members, subtracts the member's TGR value from the random value, and if it's less than or equal to 0 and there's no target yet, the target is set as that member.

So let's say the number chosen is 0.578927 for the sake of example, and you have 4 party members: 3 have 100% TGR and the other has 120% because he's a tanky guy. This is represented internally as 1, 1, 1 and 1.2, giving you a tgrSum of 4.2. This gives us a tgrRand of 2.4314934.

First iteration, we subtract 1 from tgrRand, leaving 1.4314934. Second iteration, we subtract 1 again, leaving 0.4314934. Third iteration, we subtract 1 again. Now it's -0.4314934, which is less than 0, so party member #3 is chosen as the target.

Guard Effect determines by what percentage damage is reduced by using the Guard command in battle; Recovery Effect modifies the rate of effectiveness for items and skills that recover HP/MP; Pharmacology causes recovery items to be more effective but not skills; MP Cost Rate affects how much MP skills cost (if you have 50% MP Cost Rate, a skill that usually costs 10MP will now cost 5 for that character); TP Charge Rate affects the rate at which TP is gained; Physical Damage and Magical Damage reduce or increase those types of damage by the set percentage; Floor Damage changes the percentage of floor damage that character takes; and Experience changes the percentage of experience gain.
Thank you so much for the in-depth explanation! I appreciate that you showed the math on it. Is there somewhere in the software's documentation where it shows those formulas, so that I know for the future where to look?

I do have one small followup question! Is the order in which tgrRand is reduced based on the battlers' TGR randomized, or is it based on party ordering (such that the party member in the lead position is subtracted first, then the second position, etc.)?

Original thread: https://forums.rpgmakerweb.com/threads/sp-parameters.125574/