MV Solved)Can make this passive skill?

HI
I am making a boss monster.
This boss has the ability to dodge all attacks against certain classes.
Currently I am using the YEP - Auto passive state plugin, but I have no idea how to use it.
I think I could use a little script, but I'm not sure.

Can you please help?
there are several ways, including some that don't need any scripts or plugins at all.

for example the default engine would have used damage elements for this: make sure that all skills and all equipment of said classes gives the same damage element, then you can give the boss a damage rate of 0% against that damage element and he would not receive any damage from them.

That said from your description it would be neither a passive skill nor a passive state. I would use action sequences to check who attacks (pre-eval) and then add 100% evasion in the fitting cases.

Unfortunately I can't give you the exact codes because I haven't used the MV action sequences at all, but I hope those two ideas help you looking for the solution.
there are several ways, including some that don't need any scripts or plugins at all.

for example the default engine would have used damage elements for this: make sure that all skills and all equipment of said classes gives the same damage element, then you can give the boss a damage rate of 0% against that damage element and he would not receive any damage from them.

That said from your description it would be neither a passive skill nor a passive state. I would use action sequences to check who attacks (pre-eval) and then add 100% evasion in the fitting cases.

Unfortunately I can't give you the exact codes because I haven't used the MV action sequences at all, but I hope those two ideas help you looking for the solution.

Thank you for answer.
But, first of all, there are over 100 actors in my game.
So calculating 'who' did it... is a little problematic (because there are too many).
That's why I chose 'class'.

Also, depending on the combination of items and skills, the actor's attack method is different (for example, there are actors with the same class one actor uses only basic attacks, the other actors use special skills, and some follow the formula for calculating magic damage. There are many cases, so the evasion(dodge) method I want is specified as a class.) It is difficult to achieve the desired result by simply negating evasion or damage.
against certain classes.
when you wrote this, I assumed you were talking abot the RPG-Class (not class as a logic or programming element). And you can check for who by class almost as easy as to check for who by actor-ID.

However no matter what, you need a logical condition to check in your solution.
If you cannot write the thing as a script-condition in a few lines, then it doesn't matter what solution you use because it will not work.

So if you want a better answer you need to list all definitions you want to check for this option to activate. And if you can't list them all for whatever reason, then you'll have to go back to the drawing board for that boss.
when you wrote this, I assumed you were talking abot the RPG-Class (not class as a logic or programming element). And you can check for who by class almost as easy as to check for who by actor-ID.

However no matter what, you need a logical condition to check in your solution.
If you cannot write the thing as a script-condition in a few lines, then it doesn't matter what solution you use because it will not work.

So if you want a better answer you need to list all definitions you want to check for this option to activate. And if you can't list them all for whatever reason, then you'll have to go back to the drawing board for that boss.
Oh, sorry... I'm using a translator, so I didn't check the details...
What I'm talking about is CALSS in the basic DATABASE of RPG MAKER MV. (I've never used the English version, so I didn't know the exact name of JOB or CLASS.)
In any case, this time, I will display it as an image to avoid confusion.


ZAA.png




Currently, what I want is that 'this boss' avoids all attacks of class 6 among the classes shown in the image. (A miss that comes out when the attack misses is necessary, not 0 damage.)

Can I just explain it this way? Or do you need any further explanation?
Moved to: Plugin Support
NVM guys i solved it !

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/solved-can-make-this-passive-skill.138474/