MV Help with yanfly equip battle skill & passive condition

Hello! I have a simple equipable skill that gives user state with this condition:
<Passive Condition Cases>
TP >= 1
</Passive Condition Cases>
<Critical Multiplier: +999%>
<State Animation: 1>
In the skill note i only have this :
<Equip State: 1>(state above)

The problem is that it ignores the condition and automatically increases the user's critical multiplier and plays the state animation. Do these two plugins actually not support each other, or did I do something wrong? When I turn this skill into a non equippable one using <Passive State: 1>, it works fine and doesn't ignore the condition.
Do these two plugins actually not support each other, or did I do something wrong?
No, your assumption is correct. States granted by <Equip State: x> aren't counted as "passive states" by the passive states plugin and are unaffected by passive state conditions. You would need to edit the plugin to make equiped states affected by them.

When I turn this skill into a non equippable one using <Passive State: 1>, it works fine and doesn't ignore the condition.
Just to be sure since I don't remember how it worked without modifications, equipped skills with a <Passive State: x> notetag in them do not grant their associated passives?
No, your assumption is correct. States granted by <Equip State: x> aren't counted as "passive states" by the passive states plugin and are unaffected by passive state conditions. You would need to edit the plugin to make equiped states affected by them.


Just to be sure since I don't remember how it worked without modifications, equipped skills with a <Passive State: x> notetag in them do not grant their associated passives?
they do but skills with <Passive> instead of <Equip> ignore whether they are equipped or not, their effects are always active no matter what.
they do but skills with <Passive> instead of <Equip> ignore whether they are equipped or not, their effects are always active no matter what.
Ok, that helps. Try this. Give the skill the state as a <Passive State>, and then give the state the following notetag:
Code:
<Custom Passive Condition>
condition = user.battleSkills().contains($dataSkills[x]) && user.tp >= 1;
</Custom Passive Condition>
Replace the x in $dataSkills[x] with the id of the skill. Since the passive is always available, you can just restrict it to only being enabled if the skill is equipped.

You can remove the
<Passive Condition Cases>
TP >= 1
</Passive Condition Cases>
from the notebox. The condition above includes it
Ok, that helps. Try this. Give the skill the state as a <Passive State>, and then give the state the following notetag:
Code:
<Custom Passive Condition>
condition = user.battleSkills().contains($dataSkills[x]) && user.tp >= 1;
</Custom Passive Condition>
Replace the x in $dataSkills[x] with the id of the skill. Since the passive is always available, you can just restrict it to only being enabled if the skill is equipped.

You can remove the

from the notebox. The condition above includes it
Oh it works perfect! thank you!

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/help-with-yanfly-equip-battle-skill-passive-condition.179000/