RPG Maker Forums

So, I have a spellcaster that is like a parlour magician. She draws cards (items added to inventory) from a deck, consuming MP, and then uses those items to cast her spells (the spells have an item cost, she does not "use" the item as an item). She can expend MP to reshuffle cards, draw additional cards, etc.

I realized that the usability of her skill menu would be significantly improved if I hid all of her normal spells until there is at least one card item in party's inventory.

This way she will have only the option to draw cards initially. And and thereafter all of her actual attack spells can be set up to appear at the top of her skill list.

I tried adding this restriction onto one of her spells using Yanfly Skill CORE:

Code:
<Custom Show Eval>
if($gameParty.numItems(19) > 0){
  visible = true;
} else {
  visible = false;
}
</Custom Show Eval>
However, I never see the skill. Even if I have one or more of item 19. Anyone know why?

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top