Odd Question About the Formulas

The formulas for Attack and Skills and Spells and whatnot in the Database... I get that atk is attack, mat is magic attack, and so on... but is the "a." and "b." simply for attacker and receiver? I guess I've never thought much about it, so I thought I'd ask.

I'm looking to dig deep into these if there is anything more to these formulas that can be gleaned.
I should post that an example formula for Attack, for example, would be a.atk * 4 - b.def * 2
In a formula, 'a' represents the current attacker, while 'b' represents the defender, yes. It's not super complicated.
The formulas for Attack and Skills and Spells and whatnot in the Database... I get that atk is attack, mat is magic attack, and so on... but is the "a." and "b." simply for attacker and receiver? I guess I've never thought much about it, so I thought I'd ask.

I'm looking to dig deep into these if there is anything more to these formulas that can be gleaned.
Hey, there's an extremely well made and detailed tutorial that's all about formulas right here.

Everything is laided out there.
I can give you some examples.
Armor scaling formulas could be used, like in Yanfly's and Visustella's plugins.

ATKDMG * (100 / (100 + b.def / 2) )
Reduce the incoming attack depending on the enemy's defence.

Or for scaling abilities.
50 + 500 * (a.lvl / 99)
Give the skill a min and max damage based on the attackers level. Min 50 damage, max 550 damage

"Execute" skills, like in lol
(1 - (b.hp / b.mhp) ) * 1000 +50
Increase the damage output the lower the enemy HP attacked have. With max HP, only give you 50 damage, but can go to approximately 1040 damage.
If you simply mouse over the damage formula field, the popup explains this.
1713540767294.png


It's also, of course, in the relevant portion of the instructions 😉

For anything more advanced to be gleaned, this thread may be useful.

Sorry for not responding... I've been reading the hell out of that thread. That's good stuff.

I appreciate all the help, though!

Original thread: https://forums.rpgmakerweb.com/threads/odd-question-about-the-formulas.167813/