I know that I always do something like this there: 4 * a.mat - 2 * b.mdf. But I saw someone put entirely different things there, like a conditional. Please tell me what can be inputted there and give clear examples. Thanks!
What can be inputted at the Skill's "Formula" bar?
RPG Maker MV SupportI've moved this thread to MV Support. Thank you.
Damage Formulas 101
Please note: A discussion has already been started about different things you can do with these formulas so please direct those comments and question to the appropriate thread. https://forums.rpgmakerweb.com/index.php?threads/rmmv-damage-formula-ideas-and-help.47099/ A link to the list of...
forums.rpgmakerweb.com
I'm just gonna leave the link to this pinned thread here...
forums.rpgmakerweb.com
RMMV Damage Formula - ideas and help
The damage formula box in MV is waaaaayyyyyyyy longer than in Ace, so we can now use it for some more complex situations. It still works the same way, but the method and class names are different. So grabbing a formula that worked in Ace doesn't mean it's just going to work in MV. Post in...
forums.rpgmakerweb.com
basically any valid script code in the language the maker uses (RGSSx for RMXP, RMVX and RMVXA or Javascript for RMMV/RMMZ)
the code has to result in a number that will become the damage number. That will be the last number processed, so the order of the code is important.
the code has to result in a number that will become the damage number. That will be the last number processed, so the order of the code is important.
just be carful if have any characters with autobattle trait while adding things to damage formulas.
no issues if just never use autobattle.
but if do end up using it and 1 of the skills that actor can use does something like a.addstate as part of the formula they could end up getting that state even when they dont use the skill. its just a strange thing that happens with how the game tests every skill before the auto actually selects 1 to use.
(never had this happen to me since i dont use autobattle traits but its what ive been told could happen)
no issues if just never use autobattle.
but if do end up using it and 1 of the skills that actor can use does something like a.addstate as part of the formula they could end up getting that state even when they dont use the skill. its just a strange thing that happens with how the game tests every skill before the auto actually selects 1 to use.
(never had this happen to me since i dont use autobattle traits but its what ive been told could happen)
Original thread: https://forums.rpgmakerweb.com/threads/what-can-be-inputted-at-the-skills-formula-bar.142964/