I'm using Yanfly's Skill Learn system and ended up converting it to a kind of stat point system, so they're essentially skills you can learn repeatedly, which enhance the stats of the actor.
I'm trying to tackle an issue where there's no visual indicator to show the player how many points they've invested in a particular stat for that actor.
Looking into it, I see that Yanfly's script does allow this to be a "thing", but I've no idea how I would go about actually achieving it.
<Learn Cost Eval>
code
code
</Learn Cost Eval>
For those who know JavaScript, you can have custom actions be performed
after learning the skill through the learn skill menu.
<Learn Custom Text>
text
text
</Learn Custom Text>
This will be the custom text shown underneath all the main costs. You can
use text codes for this.
I have an idea in mind as to how to go about getting what I want, but I don't know how to actually code it in.
I know it'll be something where it checks the actor, and if actor = X then raise variable Y, and then in the "Learn Custom Text" field, have it display "variable Points Spent into Stat", which also checks for the actor so that the correct number will be displayed.
So, it's a lot of checking to see which actor is doing it, and increasing a variable by 1 accordingly, and then displaying a variable depending on the actor.
Any help would be appreciated.