- Joined
- Dec 20, 2012
- Messages
- 231
- Reaction score
- 4
- First Language
- English
- Primarily Uses
I'm trying to make a skill require a certain value in a variable in order to be usable. The idea is that the character's other skills increase the variable, and when that variable gets high enough the character can use their special skill. I'm using Yanfly's Skill Core (YEP) to attain this, but it doesn't seem to be working. The skill is usable regardless of the variable's value. Here's what I have in the skill's notetag:
<Custom Requirement>
if $gameVariables.value(102) = 3) {
value = true;
} else {
value = false;
}
</Custom Requirement>
<Custom Requirement>
if $gameVariables.value(102) = 3) {
value = true;
} else {
value = false;
}
</Custom Requirement>