How to make a Dice Roll Armour Class System (MV)

Ive been trying to use plugins, but for the life of me i cannot make this work. I can do it in the damage formulas, but the attack doesn't miss, it just says 0, and my formula's are already big enough.

Anyone know how to for MV?
you basically need to change a good part of the default skill sequence, which will require plugins.

there are a few plugins to change the HIT-formula, but I don't know if any of them can handle that idea, there is a good chance that you need to request a specific plugin for this.
There have been multiple threads about this - it would be helpful if you provided a link and said which instructions you were following.

It would also be helpful if you gave more information than just "use plugins," because we have pretty much nothing to go off of.

The only thing we can say from your post is what's said in most of those other threads - the damage formula is the wrong place to do it, because if it's calculating damage it's already hit.

There are hit formula plugins by both Yanfly and Victor Engine that can do this.
There have been multiple threads about this - it would be helpful if you provided a link and said which instructions you were following.

It would also be helpful if you gave more information than just "use plugins," because we have pretty much nothing to go off of.

The only thing we can say from your post is what's said in most of those other threads - the damage formula is the wrong place to do it, because if it's calculating damage it's already hit.

There are hit formula plugins by both Yanfly and Victor Engine that can do this.

Apologies, i wrote this in a rush. The plugins were Hit Accuracy, but i couldnt make it work, which 100% is on me, but i got discouraged as I thought maybe it could not work that way. I also used yours but realized it is for MZ not MV.

Yeah i get that part. It what I was saying about the making the miss = 0, which i was not a fan of. Im not sure if im being an idiot but in my searches I couldn't quite find something that worked.
but i couldnt make it work,
then tell us what exactly you tried, and how you want your system to work.

how do you define the armor class and what roils do you want to do?
how did you transfer this into a HIT formula?
then tell us what exactly you tried, and how you want your system to work.

how do you define the armor class and what roils do you want to do?
how did you transfer this into a HIT formula?

if i still had the formula is used i would post it but i deleted it. I cant remember exactly but it was if mathRandomInt(20) + 1 + user.HIT >= target.EVA { 1 } else { 0 }.

it wasnt exactly that, but itried different variations (i am not versed in java) to make this work

edit: i also manually set HIT to hit bonus (+7, +4 etc) and EVA to AC (15, 12 etc)
1) if you want to use EVA like that, then a parameter formula plugin is NOT enough, you would have to disable the EVA functions in the damage process or the engine would roll for EVA in addition to the hit roll. You can only do this without addidional problems by using values that have no hardcoded functions (ATK/DEF/MAT/MDF)
https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-vxa-mv-mz-damage-flow.4219/

2) changing HIT formula means that the formula needs to return a percentage of a HIT-chance, which means all values need to be multiplied by 5 (go from D20 to D100) and then reformatted to result in the required number

If you would rather use a change in the process (especially if you change the process for EVA in the same custom plugin), then your formula needs to return true or false, not 0 or 1.
Yeah i get that part. It what I was saying about the making the miss = 0, which i was not a fan of.
This means you're not doing something correctly in your hit formula. If a skill misses, it will show Miss above the target - it won't show 0. If you see 0, that means it hit for 0 damage.

if i still had the formula is used i would post it but i deleted it. I cant remember exactly but it was if mathRandomInt(20) + 1 + user.HIT >= target.EVA { 1 } else { 0 }.
It's hard to give you any kind of concrete answer when you haven't said which plugin you're using and what formula you're trying to use.

The above is not valid code in a handful of ways. The syntax of the if statement is wrong, the syntax of randomInt() is wrong, there are no such properties as HIT and EVA.

So you need to decide on a plugin and go from there.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-dice-roll-armour-class-system-mv.170409/