The formula is: "if b.isStateAffected(0051) {((a.atk * 8) - (b.def * 2)) * 2} else {(a.atk * 8) - (b.def * 2)}"
Always does 0 damage (doesn't matter if b is affected or not).
Always does 0 damage (doesn't matter if b is affected or not).
It works now, thank you
if (condition)just to add an explanation why leading zeroes are bad.
I've gone ahead and deleted all the spam/troll posts made in this thread, as well as the responses to them.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/troubles-with-a-damage-formula.145478/