Shield Smash Formula

So I am trying to making an ability called "shield smash" where the defense of the is added to their attack, and for some reason it ended up doing less damage?


Here is the formula I used: a.atk * 2 + a.def - b.def



Can someone please tell me what I did wrong?
There is nothing wrong with that formula.


Most of the default skills use formulas like a.atk * 4 - b.def * 2, so with certain values of a's attack and b's defense, your shield bash skill will do less damage.
It will deal less damage compared to the default formula cuz:

  • a.atk * 2 results in a lower value than a.atk * 4 for obvious reasons.
  • If the actor's def is not high enough it will probably be redundant since it's not multiplied.

I'd recommend to change it to something like:

(a.atk + a.def) * 2 - b.def
I've moved this thread to MV Support (this is not a tech support question) - there is also an entire thread dedicated to getting help with damage formula. Please be sure to post your threads in the correct forum next time. Thank you.
Ok thank you, kovak and wavelength, sorry Shaz.


I got it figured out now.

Original thread: https://forums.rpgmakerweb.com/threads/shield-smash-formula.62554/