Hey everyone, I feel like there is a simple solution to this, but I am spinning my wheels a LOT on this...
I'm using Yanfly's Skill Learn System to set up a shop where the player purchases upgrades to their stats. I have everything working great, except that I need the cost of the upgrades to increase each time that the player buys it (i.e. the first time, it is 100G, then 200G, then 300G, etc). I already have a variable set up that determines how many times the upgrade is purchased...Yanfly even has a Tips & Tricks video to explain how to do this...however only with JP and not Gold.
Basically, the note <Learn Cost: x Gold> is used to set the gold cost on the skill, but I cannot just put "<Learn Cost: $gameVariables.value(1) Gold>"...this causes it to use the Default Gold Cost parameter since it doesn't recognize the variable. Similarly, if I put $gameVariables.value(1) into the Default Gold Cost parameter field in the plugin manager, and I get a weird result where "NAN" shows up.
I even tried opening up the Yanfly script and just hard-coding the value but I keep getting TypeErrors and whatnot...
Thoughts?
BONUS: Is there a better (more succinct) way to code this:
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!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.