- Joined
- Jan 2, 2017
- Messages
- 152
- Reaction score
- 18
- First Language
- English
- Primarily Uses
- RMMV
Hey all!
Just had a quick question. Does Yanfly's Custom Passive conditions accept operators? such as && ? i ask because I am
creating a passive that requres shield and spear to both be equipped. If so can anyone tell me what i am doing wrong in my code?
Please and thanks. Here is said code:
<Custom Passive Condition>
if(user.isAtypeEquipped(7) && if(user.isWtypeEquipped(12)) {
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>
So to recap. If spear and shield equpped. Allow passive. Currently It just gives the user the passive, even when nothing is equipped.
Just had a quick question. Does Yanfly's Custom Passive conditions accept operators? such as && ? i ask because I am
creating a passive that requres shield and spear to both be equipped. If so can anyone tell me what i am doing wrong in my code?
Please and thanks. Here is said code:
<Custom Passive Condition>
if(user.isAtypeEquipped(7) && if(user.isWtypeEquipped(12)) {
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>
So to recap. If spear and shield equpped. Allow passive. Currently It just gives the user the passive, even when nothing is equipped.
Last edited:

