Yanfly Auto Passive States for MZ

I'm trying to make auto passive states for MZ. I know Yanfly has a plugin for MV but I can't find a similar one for MZ or at least one that functions similarly to Yanfly's. Does anyone have any recommendations? I tried looking for Visustella but I can't seem to find one or at least one that's as simple as the Yanfly MV version (nor do I think the Yanfly version is compatible with MZ.)


That's already part of Visustella's Skills and States Core! It also has functions from Yanfly's Buff Core! If you download their sample project you can easily extract the plugin file from there or just download it straight from the Yanfly.moe website. http://www.yanfly.moe/wiki/Skills_and_States_Core_VisuStella_MZ

If you want something really basic, then you can use this! https://en.plugin-mz.fungamemake.com/archives/9440
By the way, lots of Yanfly plugins work on MZ. Don't use his Core Engine, as that is incompatible with MZ. (Many Yanfly plugins don't actually need his Core Engine.) Can't remember whether the Auto Passive States worked with MZ or not when I tried it.
By the way, lots of Yanfly plugins work on MZ. Don't use his Core Engine, as that is incompatible with MZ. (Many Yanfly plugins don't actually need his Core Engine.) Can't remember whether the Auto Passive States worked with MZ or not when I tried it.
I don't think it works. I put in the Auto State Plugin from Yanfly but its not working like it does with MV. Are you sure I don't need the core engige?

That's already part of Visustella's Skills and States Core! It also has functions from Yanfly's Buff Core! If you download their sample project you can easily extract the plugin file from there or just download it straight from the Yanfly.moe website. http://www.yanfly.moe/wiki/Skills_and_States_Core_VisuStella_MZ

If you want something really basic, then you can use this! https://en.plugin-mz.fungamemake.com/archives/9440
I can't seem to find it. I tried using this code...


<JS Passive Condition>

if ($gameParty.inBattle()) {

condition = user.tp == 100;

} else {

condition = false;

}

</JS Passive Condition>

But its not working.
Are you sure I don't need the core engige?
It shouldnt require it

<JS Passive Condition>

if ($gameParty.inBattle()) {

condition = user.tp == 100;

} else {

condition = false;

}

</JS Passive Condition>
And to be sure, it didnt activate when the actor had 100 TP while in battle?

Did you save your project after adding the plugins? The engine doesnt register plugin manager changes until you do.
It shouldnt require it


And to be sure, it didnt activate when the actor had 100 TP while in battle?

Did you save your project after adding the plugins? The engine doesnt register plugin manager changes until you do.
Nope, and I always save, close, and reopen RPG Maker whenever I mess around with the plugins. Is there possibly something wrong with my code?
Is there possibly something wrong with my code?
it looks fine. it could be shortened to just condition = $gameParty.inBattle() && user.tp === 100;, but otherwise it should be fine as is

show a screenshot of your state and the database entry for the battler/piece of equipment that the passive is supposed to be on.
it looks fine. it could be shortened to just condition = $gameParty.inBattle() && user.tp === 100;, but otherwise it should be fine as is

show a screenshot of your state and the database entry for the battler/piece of equipment that the passive is supposed to be on.
I figured it out. I forgot you need to put the <Passive State:...> In the actor notetag.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-auto-passive-states-for-mz.183518/