Paper Mario style stats?

I have been pondering if there is a way to turn the stat system into something as basically static as the paper mario series? Where if you have 15 in attack you do 15 damage minus the enemy's defense for the final result?

I find the current way that the stats are calculated to be nebulous and hard to understand the numbers of, thus my question.
Make the damage formula

a.atk * 1 - b.def * 1

with 0 variance...that should do the trick
oh huh!

And what if I want a skill to say, deal those 15 damage +5?

Honestly is there a place where I can see how many math setups you can do for skills? Like multiplicative or divisive or all of it, hoh boy.
You can add raw numbers to the formulas by adding adding "recover HP -5" for example, this will always deal this extra 5 damage no matter what....you can also do like...

5 + a.atk * 1 - b.def * 1

Though I've never done this I think it works too, but it will include the +5 in the formla and potentialy decrease it based on the enemies deffense....
about a place to see the setups there is this tutorial...

that thread says its the MV edition, does this still work the same in VXAce?
that thread says its the MV edition, does this still work the same in VXAce?

The basics are the same between the two, but some of the more advanced things differ in syntax. Here's a guide to the VxAce Damage Formula: https://rmvxace.fandom.com/wiki/Damage_Formula_Reference_Guide

Just as a note, you can even simplify the formula from @Binder28 further. If you want to add that extra 5 to the attacker's ATK stat (As in, it's affected by enemy DEF), you can use
(a.atk + 5) - b.def

If instead, you want the skill to always to 5 damage (regardless of how much higher the enemy's DEF is) in addition to the ATK - DEF calculation, you can use:
(a.atk - b.def) + 5
The basics are the same between the two, but some of the more advanced things differ in syntax. Here's a guide to the VxAce Damage Formula: https://rmvxace.fandom.com/wiki/Damage_Formula_Reference_Guide

Just as a note, you can even simplify the formula from @Binder28 further. If you want to add that extra 5 to the attacker's ATK stat (As in, it's affected by enemy DEF), you can use
(a.atk + 5) - b.def

If instead, you want the skill to always to 5 damage (regardless of how much higher the enemy's DEF is) in addition to the ATK - DEF calculation, you can use:
(a.atk - b.def) + 5

I don't think this last formula you've posted works...I've just tested it with enemies with a lot more deffense than my attacks and it deals 0 damage due to the deffense being too high
(a.atk - b.def) <= 0 ? 5 : a.atk - b.def + 5
should work.
I think it didn't because the result comes back as a negative number
atk = 20
def = 50
(20 - 50) = -30 + 5 = -25 -> damage 0
Why not [a.atk - b.def, 0].max + 5
Why not [a.atk - b.def, 0].max + 5

That also worked aparently =)

Edit: After testing both, there is a difference between what Roninator2 said and what KK20 said...

Roninator2's works perfectly with everything

KK20 does not work with elemental resistences...the elemental resistence can affect the +5 damage

Edit2: sorry..but neither work with elemental resistences...the + damage seems to always be affected by elemental resistences.

Original thread: https://forums.rpgmakerweb.com/threads/paper-mario-style-stats.131508/