- Joined
- Feb 22, 2016
- Messages
- 1,626
- Reaction score
- 1,195
- First Language
- English
- Primarily Uses
- RMMV
Hi, just installed Yanfly's YEP_X_EquipRequirements plugin. I'm trying to make a notetag in lunatic mode that makes it so an item (a 2h weapon) CANNOT be used if the actor has Dual Wielding. This is what I got so far, but when I try it in game, the weapon is grayed out no matter what.
<Custom Equip Requirement Condition>
if (user.isDualWield) {
condition = false;
} else {
condition = true;
}
</Custom Equip Requirement Condition>
Edit: I wanted to clarify that I made sure the actor DID NOT have dual wielding when trying to equip said weapon.
<Custom Equip Requirement Condition>
if (user.isDualWield) {
condition = false;
} else {
condition = true;
}
</Custom Equip Requirement Condition>
Edit: I wanted to clarify that I made sure the actor DID NOT have dual wielding when trying to equip said weapon.
Last edited by a moderator:
