- Joined
- Aug 18, 2019
- Messages
- 121
- Reaction score
- 16
- First Language
- English
- Primarily Uses
- RMMV
If I use this,
<Custom Requirement>
value = false;
for (i = ; i < user._equips.length; i++) {
if (user._equips._dataClass == 'armor' && user._equips._itemId == 1) value = true;
}
</Custom Requirement>
Does that make the skill ONLY usable when they have that singular item equipped?
For example, I'd like the character to only be able to use 'Shield Bash' when a shield is equipped.
But I'm unsure of how to code that in.
I thought I could do it using Yanfly's Skill core but i get confused on Notetags -_-
<Custom Requirement>
value = false;
for (i = ; i < user._equips.length; i++) {
if (user._equips._dataClass == 'armor' && user._equips._itemId == 1) value = true;
}
</Custom Requirement>
Does that make the skill ONLY usable when they have that singular item equipped?
For example, I'd like the character to only be able to use 'Shield Bash' when a shield is equipped.
But I'm unsure of how to code that in.
I thought I could do it using Yanfly's Skill core but i get confused on Notetags -_-


