Your formula is incorrect. The result will be zero because of an error.
Use this instead a.addState(2); a.equips()[1].params[3] + a.atk * 4 - b.def * 2
Your formula is incorrect. The result will be zero because of an error.
Ahh, so close lol thank you. Is there a particular order of operations that the system prefers? Just in case I need to try and make something like this again
From what I understand you want your damage number to be at the end. Technically you can keep on using ; before damage like this a.addState(2); a.addState(4); a.equips()[1].params[3] + a.atk * 4 - b.def * 2
How do you mean? If you mean the order of commands, then as Zeireth and the Damage Formula 101 thread said, the last command must always be a number because that's what the game uses for the actual damage.
I know that you're just being very helpful in this thread; but for future etiquette, only the original author of a thread can request it to be closed.
You have both been incredibly helpful, looks like the skill is working as expected now. Thank you again!
Original thread: https://forums.rpgmakerweb.com/threads/yanfly-skill-core-shield-bash.147749/