How do I use formula's properly?

I honestly really can't figure this out, can't use the VX ACE quick formula because those don't work in this engine.
Is there perhaps a quick formula tool someone made for MV? cause this is honestly giving me a headache.

and yes I can do mathematics but the problem is I can't do things like true damage (percent of HP, or treat the defensive stats like they're 0), skills that spike in damage with certain conditions (double damage if target is poisoned, and 100% critical hit rate when target is asleep/frozen, or even deal increased damage if your attacking party member was damaged this turn, for example), because the thing is the formula's don't make a lot of sense to me with how you're supposed to type them out.
To treat things like the "True Damage" you describe (a percentage of HP), you don't use the damage formula box. You use the "Features" box. You can set the percentage of damage dealt from there. Doing so effectively ignores any defensive stat in play.

If you want specific skills to spike in damage against certain states, just make that a Feature of the states. Here's how: The Skills that would spike have the element "States" on them (or name it whatever works for you, just so you remember it). Then, while the state is inflicted, just set up a "weakness" to that, and damage will spike.

I'm not 100% sure how it works exactly, but I think you can just add "Critical Evasion Rate" to the states of Asleep or Frozen and make it a negative value, so that Critical Hits are sure to land. I've never done it before, but I think it works like that. If it doesn't.. you might need to find a different workaround or employ a Plugin.

As for dealing increased damage if your attacking party member was damaged that turn... Pretty sure this can only be accomplished via Plugin. Unless you want to go do some crazy workarounds. Without a plugin, I'd just make every enemy and every skill the enemies employed inflict a state for "Angry" or whatever it is you're doing. Make every single party member immune to it except the ones you want (you can do this via Features on the class or the character). Make the state last 1 turn (so if hit, they get the state, they get to use the advantage of more damage, then it wears off when they finish and they must be hit again). Then, set the parameters for it.

Damage Formulas themselves are just for doing basic amounts of damage. Namely, you hit the "Attack" command, the formula determines how it arrives at the damage you want.

Anything more complicated than a basic formula (namely, anything that requires special conditions or requires added effects) doesn't really work with the "Damage Formula".

All a damage formula really does is add, subtract, multiply, or divide stats by each other in order to arrive at damage numbers. I think you can even use variables in the formula, but not a lot of people do that since you have to keep track of the variable number and remember to set it via event.

So, all you're doing with a damage formula is things like this:

a.atk - b.def (users attack minus targets defense, equals damage)
a.mhp - a.hp * 1.5 (users maximum HP minus users current HP multiplied by 1.5, equals damage).

The formulas do seem to recognize a lot of basic formulas, including putting things in () to add/subtract/multiply/divide them first.

But, that's really all they're for.
Oh, I'm terrible at making more complex formulas too so I can't help you, but I'm going to help myself by watching this thread! 😤
To treat things like the "True Damage" you describe (a percentage of HP), you don't use the damage formula box. You use the "Features" box. You can set the percentage of damage dealt from there. Doing so effectively ignores any defensive stat in play.

If you want specific skills to spike in damage against certain states, just make that a Feature of the states. Here's how: The Skills that would spike have the element "States" on them (or name it whatever works for you, just so you remember it). Then, while the state is inflicted, just set up a "weakness" to that, and damage will spike.

I'm not 100% sure how it works exactly, but I think you can just add "Critical Evasion Rate" to the states of Asleep or Frozen and make it a negative value, so that Critical Hits are sure to land. I've never done it before, but I think it works like that. If it doesn't.. you might need to find a different workaround or employ a Plugin.

As for dealing increased damage if your attacking party member was damaged that turn... Pretty sure this can only be accomplished via Plugin. Unless you want to go do some crazy workarounds. Without a plugin, I'd just make every enemy and every skill the enemies employed inflict a state for "Angry" or whatever it is you're doing. Make every single party member immune to it except the ones you want (you can do this via Features on the class or the character). Make the state last 1 turn (so if hit, they get the state, they get to use the advantage of more damage, then it wears off when they finish and they must be hit again). Then, set the parameters for it.

Damage Formulas themselves are just for doing basic amounts of damage. Namely, you hit the "Attack" command, the formula determines how it arrives at the damage you want.

Anything more complicated than a basic formula (namely, anything that requires special conditions or requires added effects) doesn't really work with the "Damage Formula".

All a damage formula really does is add, subtract, multiply, or divide stats by each other in order to arrive at damage numbers. I think you can even use variables in the formula, but not a lot of people do that since you have to keep track of the variable number and remember to set it via event.

So, all you're doing with a damage formula is things like this:

a.atk - b.def (users attack minus targets defense, equals damage)
a.mhp - a.hp * 1.5 (users maximum HP minus users current HP multiplied by 1.5, equals damage).

The formulas do seem to recognize a lot of basic formulas, including putting things in () to add/subtract/multiply/divide them first.

But, that's really all they're for.

yeah thing is the taken damage earlier in the turn is something I wanted to do for a skill called "Payback", "if the user was damaged earlier the turn this is used, Payback doubles in power" is the intended function.
You would need a Plugin for that, unfortunately. Yanfly might have something for that. I don't know of any way to get something to work exactly like that. I mean, I could think of a way to get a counter-attack to do that, but you'd do it through applying a state to the character. I don't know of a way to just do what you're asking.

Well... maybe. Though it'd be convoluted. Maybe it could be done with a state that does something with a variable?

Nah, it'd be easier to just get a Plugin. Doing it with a variable would be kind of complicated and might cause more problems.
You would need a Plugin for that, unfortunately. Yanfly might have something for that. I don't know of any way to get something to work exactly like that. I mean, I could think of a way to get a counter-attack to do that, but you'd do it through applying a state to the character. I don't know of a way to just do what you're asking.

Well... maybe. Though it'd be convoluted. Maybe it could be done with a state that does something with a variable?

Nah, it'd be easier to just get a Plugin. Doing it with a variable would be kind of complicated and might cause more problems.

Though regarding the conditions for damage boosts (double for *state* and guaranteed crit with *state*) thing is I wanted the skills to do these, not the states to allow it, otherwise the states would allow the entire team to overkill or easy sweep a boss.
Percent of HP: b.mhp * the percent in decimal form.
Ignore DEF: Just don't use b.def in the damage formula anywhere. Then it ignores DEF.

The rest require plug-ins or scripts to do, regardless of the maker.
Though regarding the conditions for damage boosts (double for *state* and guaranteed crit with *state*) thing is I wanted the skills to do these, not the states to allow it, otherwise the states would allow the entire team to overkill or easy sweep a boss.

It is possible to make specific characters or classes 100% immune to any state. If you don't want it applied to the whole party, just make them immune to it. You can find that in the "Features" tab under "Actors" or under "Classes".
Percent of HP: b.mhp * the percent in decimal form.
Ignore DEF: Just don't use b.def in the damage formula anywhere. Then it ignores DEF.

The rest require plug-ins or scripts to do, regardless of the maker.

Is there one for a revenge skill?

As in "if damage was dealt to the user this turn, this skill deals double damage"
No idea, I never used such a thing. I think Yanfly might have a tips and tricks video on how to do it though.
could a variable or switch be used to check if say actor #1 hp = x % in batle then a conditional branch if variable actor #1 hp x% = -1 then skill payback = 200% normal damage? im still a noob and just spit balling here if it actual would please let me know if not sorry for interupting your thread.
@Krakaz
1.Do not hijack another user's thread, it's againist fourm rules.
2. Clearly explain what you are trying to do and/or asking.
Apologies i only ment it as a suggestion not as a sub question in anothers thread.best of luck solving the issue and i hope it works how you intend it too when you find it.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-use-formulas-properly.89028/