- Joined
- Jun 4, 2014
- Messages
- 6
- Reaction score
- 1
- First Language
- English
- Primarily Uses
Guys,
I'm trying to create a Throw skill similar to Final Fantasy games of old. I am using Yanfly's Skill Core and Skill Require Items plugins. Basically I don't want the skill to show up in the menu unless you have a spare Sword to throw. I see they have a lunatic call to hide the skill in the menu like this
<Custom Show Eval>
if (user.level > 50) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
It won't show up unless the actor that can use the skill is level 51 or higher.
How would I change that to reflect whether or not the party has whichever weapon or armor is required to throw it at the enemy.
I tried $gameParty.weapon(x) > 0 but it doesn't work. I have no knowledge of JavaScript either so anything helps.
Thanks.
I'm trying to create a Throw skill similar to Final Fantasy games of old. I am using Yanfly's Skill Core and Skill Require Items plugins. Basically I don't want the skill to show up in the menu unless you have a spare Sword to throw. I see they have a lunatic call to hide the skill in the menu like this
<Custom Show Eval>
if (user.level > 50) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
It won't show up unless the actor that can use the skill is level 51 or higher.
How would I change that to reflect whether or not the party has whichever weapon or armor is required to throw it at the enemy.
I tried $gameParty.weapon(x) > 0 but it doesn't work. I have no knowledge of JavaScript either so anything helps.
Thanks.

