Forewarner of the Black Wind
- Jul 2, 2014
- Reaction score
- First Language
- Primarily Uses
I don't know what that has to do with the situation. This has nothing to do with turning a passive state on and off, unless you put this mark as a passive state on every single enemy in your game and code it as a damage reaction, which is probably the least efficient thing you could do.Since i read, i can add passive states conditions.
I don't know why you think that I don't know what engine this thread is for - all of those functions are from MZ's code. I just made an MZ project, put that into the damage formula of my attack skill, and it works perfectly. If it doesn't work for you, you have copied it incorrectly or you have some other plugins or changes that are modifying the skill's behavior.Okay i see now what the problem is. You assume it from the MV base behavior, not MZ. They may be similar, but not at all. To confirm it, i tried your "Damage Formula" code in MV and in MZ, indeed as i guess, in MV your code works quite well, but in MZ It not work at any way.
Again, I encourage you to start a new thread, because (as I said before) you need to post screenshots of your skills and states. All of this works just fine for me, so something is wrong on your end.
Either way, I'm done. Good luck with your game.