Skill Buy System (Skill Trees possible)

I have it as Fomar0153_SkillBuy.js That has to be the problem because I noticed your name is not that. It has to be exact or it won't work.
That was the issue!!! Thank you!!!!!!!!!!

what is the name supposed to be on the ap system plugin?
@Fomar0153 Is it possible to make upgradable skill with AP point? So for example I want to upgrade skill X to lv 2 with 1 AP point so I dont have a long list of skill as the game progress, but upgraded starting skill which has better and stronger effect.
Can you use this to buy passive skills from your passive script?
@Fomar0153 Is it possible to make upgradable skill with AP point? So for example I want to upgrade skill X to lv 2 with 1 AP point so I dont have a long list of skill as the game progress, but upgraded starting skill which has better and stronger effect.

Not with this plugin no. The easiest way to achieve what you want would be a tiny plugin that allows you remove a skill when learning another. You could try plugin requests.

Can you use this to buy passive skills from your passive script?

Yes.
is it possible to somehow make a second skill tree? like a second "learn skill" so i can divide skills from each other
Hi I am new to chat forms and I am not a programmer. but I just started using RPG maker MZ and I found your amazing plug in. But I feel like a tool asking this but where do I put the <ap: n> in so I can learn skills? I have put it in every where in the skill that I see notes. but it is still not showing up. I am typing ap: 10.... Help a Noob out. Thanks.
hey Fomar0153, how difficult would it be to modify this so you could spend "gold"/"gp" to buy skills instead of using AP? probably outside of my capabilities because I'm an absolute scrub at JS (and that might be too generous) but it seems like it'd be pretty easy for either you or anyone who knows what they're doing.
Hi, I'm considering use of this plugin to implement skill trees, so I'm wondering, what else is needed for that? The help text states that you can lock certain skills behind other skills (so you make branches from logic), but I asume it doesn't include a graphical interface for placing icons, tooltips and the sort.
is it possible to somehow make a second skill tree? like a second "learn skill" so i can divide skills from each other
Not easily, you'd have to copy and paste the plugin and then edit the copy slightly.
Hi I am new to chat forms and I am not a programmer. but I just started using RPG maker MZ and I found your amazing plug in. But I feel like a tool asking this but where do I put the <ap: n> in so I can learn skills? I have put it in every where in the skill that I see notes. but it is still not showing up. I am typing ap: 10.... Help a Noob out. Thanks.
You put <ap:n> in the notebox of the skills.
hey Fomar0153, how difficult would it be to modify this so you could spend "gold"/"gp" to buy skills instead of using AP? probably outside of my capabilities because I'm an absolute scrub at JS (and that might be too generous) but it seems like it'd be pretty easy for either you or anyone who knows what they're doing.
You'd need to edit this line, e.g. "ap" to "GP":
JavaScript:
this.drawText(parseInt(skill.meta["ap"]) + "AP", x, y, width, "right");
(wow did I really hardcode AP?)
Then change:
JavaScript:
  Window_StatusBase.prototype.drawActorAP = function(actor, x, y) {
    this.changeTextColor(ColorManager.systemColor());
    this.drawText(Fomar.APSystem.vocabAP, x, y, 48);
    this.resetTextColor();
    this.drawText(actor._ap, x + 84, y, 36, "right");
  };
to
JavaScript:
Window_StatusBase.prototype.drawActorAP = function(actor, x, y) {

  };
Then change:
JavaScript:
return (this._actor._ap >= parseInt(item.meta["ap"]) && (!this._actor.isLearnedSkill(item.id) &&

to:
JavaScript:
return (this._actor._ap >= $gameParty.gold()) && (!this._actor.isLearnedSkill(item.id) &&

And finally change:
JavaScript:
this.actor()._ap -= parseInt(this.item().meta["ap"]);
to
JavaScript:
$gameParty.loseGold(parseInt(this.item().meta["ap"]));
Hi, I'm considering use of this plugin to implement skill trees, so I'm wondering, what else is needed for that? The help text states that you can lock certain skills behind other skills (so you make branches from logic), but I asume it doesn't include a graphical interface for placing icons, tooltips and the sort.
No the way this displays it is like this (watch for triple attack):
dSGjpiV.gif
Thanks for the quick response, one more question ¿Is it possible to reset spent AP?
Thanks for the quick response, one more question ¿Is it possible to reset spent AP?
No, sorry.
this is what im looking for but for MV, i was hoping the character has fixed slots. then when you select that slot, a random skill replaces the current then, player decides to keep or draw again.
@Fomar0153
Is there a way to add the buy req to your equipment skills plugin so one could hide a learnable skill until the prerequisite skills are learned?
Just found this plugin and had a question, does it have stat requirements for each abilities besides just being able to purchase the abilities?

EDIT: Sorry, just read the way it works. But will this work on RPG maker MV?

Original thread: https://forums.rpgmakerweb.com/threads/skill-buy-system-skill-trees-possible.127523/