Creating scaling damage formula

I'm looking for a scaling formula for damage in VX ace, since i don't know if there's a script in VX Ace similar to Yanfly's armor scaling in MV.
What does it do?
What does it do?
"Armor Scaling allows the damage formula to be rid of “b.def * 2” and similar calculations in favor of scaling the damage relative to the armor values that the attack target has."
Basically, prevents enemies and players to stack too much DEF and take no damage.
You could try something like this

a.atk * 4 * 100 / (100 + b.def * 2)

This will always deal a reasonable amount of damage. Obviously, you can change the * 4 and *2 parts to make weaker/stronger versions.
Something that might help you is to look at damage formula's from other games and see how they work.

I feel like something that works for me is adding "levels" in the equation or trying to set up an equation that makes a huge number, and then slap Math.sqrt around it to shrink and multiply it by a base damage number.

Original thread: https://forums.rpgmakerweb.com/threads/creating-scaling-damage-formula.90573/