I'm using the Skills and States from Vizustella, just need to know what code should I input! (I got no idea of JS)
MZ Ok, so... How do I make a passive Status that, when your MP is 0, you get a massive penality?
Learning Javascriptcondition=user.mp==0;
Please show a screenshot of what you did that didn't work.
The 100 is the normal MP, the name of the MP on my game is PM (dunno why, could this be fluffing up the plugins?)
You didn't follow any of the instructions in the Skills and States plugin for setting up a passive state - just typing code into the Notes box doesn't do anything. (you also didn't type the code I gave you correctly)
You need to create a state that does the stuff you want to do. Follow the instructions for making that a passive state, and the code inside of the custom condition notetag will be what I provided you.
Then you follow the instructions to put a notetag on the actor giving them that passive state.
Let us know if you run into problems with that.
You need to create a state that does the stuff you want to do. Follow the instructions for making that a passive state, and the code inside of the custom condition notetag will be what I provided you.
Then you follow the instructions to put a notetag on the actor giving them that passive state.
Let us know if you run into problems with that.
Where do I find the instructions 🙁 I'm dumb as a brick and in the dark 🙁
Hiya!
www.yanfly.moe
Outside of the instructions that are embedded in the plugin itself, the wiki for the Skills and States core should cover everything you may need to know about configuring it, and setting up custom notetags and such!
More specifically, the segment for passive conditions details how to implement the code:
www.yanfly.moe
Skills and States Core VisuStella MZ - Yanfly.moe Wiki
Outside of the instructions that are embedded in the plugin itself, the wiki for the Skills and States core should cover everything you may need to know about configuring it, and setting up custom notetags and such!
More specifically, the segment for passive conditions details how to implement the code:
Skills and States Core VisuStella MZ - Yanfly.moe Wiki
In addition to the external help file that FrigidGaze linked to, if you click on the plugin in the plugin manager it displays the entire help text on the left.
I see! So, I got the condition going ( condition=user.mp==100 ), but now what code should I input to call when the condition is met? I got no idea 🙁
This question doesn't really make sense. If you've set up your passive state correctly, then when the condition is met the state is on. Whatever effects and traits you put on the state in the database will be active.
You never actually said what you want this state to do, so we can't help you with that unless you describe it. There's no immediate reason to presume it would involve more code.
Aaaaaaaaaaa, finally understood! The Status i'm trying to run is the Paralysis one that comes with the base to check if everything is running. I had the idea of "If your MP is 0, your HP lowers to 1" but it's too harsh, so let's keep as paralysis 😀
Original thread: https://forums.rpgmakerweb.com/threads/ok-so-how-do-i-make-a-passive-status-that-when-your-mp-is-0-you-get-a-massive-penality.154215/