The documentation says that it's for people who know Javascript, and I have extremely limited knowledge of it. But I want to make a custom skill cost based on a variable. Here's how it would work:
My custom cost would be called Light Points (LP). It's like MP, but it caps at 100 and I refill it to max periodically (at the beginning of each game chapter). This would be done via the Control Variables event command. Certain skills take up LP instead of MP or TP. I do it this way because the player isn't supposed to be able to replenish their LP until I, the dev, do it for them. They have to learn to ration it.
Now, I've looked at the plugin parameters to see how other custom costs like HP, Potions, and Gold are set up, but I don't understand it. It's full of these crazy-looking pieces of code I've never seen. Could someone tell me how to make my own custom skill costs, keeping in mind that I'm new to JS? I appreciate any help you can offer.
My custom cost would be called Light Points (LP). It's like MP, but it caps at 100 and I refill it to max periodically (at the beginning of each game chapter). This would be done via the Control Variables event command. Certain skills take up LP instead of MP or TP. I do it this way because the player isn't supposed to be able to replenish their LP until I, the dev, do it for them. They have to learn to ration it.
Now, I've looked at the plugin parameters to see how other custom costs like HP, Potions, and Gold are set up, but I don't understand it. It's full of these crazy-looking pieces of code I've never seen. Could someone tell me how to make my own custom skill costs, keeping in mind that I'm new to JS? I appreciate any help you can offer.