How Can I Make a Spell Require Multiple Levels to Unlock?

I’ve been writing a book that gave me some ideas for a magic system, so I want to make a short game with it. The idea is basically to train magic by their school instead of their element/ category/ level.

I was never a huge Rogue Like fan, but I love the idea of turning a magic system into an entire game. You would basically just be training schools of magic over and over and unlock different jobs or specialties. You could pick a Cleric class, gain experience with Somatic and Material magic, and when you reset, wear those stats under a different job. Kinda like the latest Fire Emblem game, actually.

I asked Reddit last night and was told I can probably do it through variables and conditional branches, but I am not quite sure how. I'm going to continue looking for the plugins that might work, but I figured people more familiar with what these things actually do might than just whatever broad search terms I come up with.

-kthx
Welcome! The thing that makes your question difficult to address is you don't provide any details on what "training a school of magic" entails. Also, you're asking two different questions kind of mashed together.

How does one train in magic? If it's interacting with an event, then in that event you can simply use the Change Skill event command to give new skills as appropriate.

If it's through some other method then you may or may not need to look at plugins, but the absolute first step is you need to define what causes your magic knowledge level to increase.

The other question was about retaining information across games, which you can do via plugins. Do a search for New Game+ or meta controls.
Well. A crude method would be having a teacher event that simply increases a variable +1 whenever you hit the "train button". Put a conditional either in that same event, or a common event (Whatever suits your setup better) That checks if, let's say material magic variable = 10 and when true, teaches the player a skill or whatever you want to happen once your player has trained enough.

The event can also have a choice setting "Check training progress" where it would just be a dialogue box, displaying the value of each of your magic variables available. As I said, crude and cumbersome for the player to use.

But if I'm completeley honest... You can acomplish something very similar with class core on MV, so I'm relatively sure there's an equivalent version for MZ as well. Skills learned via job points can persist through class change. Maybe that's worth looking into.
Well. A crude method would be having a teacher event that simply increases a variable +1 whenever you hit the "train button". Put a conditional either in that same event, or a common event (Whatever suits your setup better) That checks if, let's say material magic variable = 10 and when true, teaches the player a skill or whatever you want to happen once your player has trained enough.

The event can also have a choice setting "Check training progress" where it would just be a dialogue box, displaying the value of each of your magic variables available. As I said, crude and cumbersome for the player to use.

But if I'm completeley honest... You can acomplish something very similar with class core on MV, so I'm relatively sure there's an equivalent version for MZ as well. Skills learned via job points can persist through class change. Maybe that's worth looking into.
I went back to MV and have been using a few of the Yanfly plugins and, for now, the LevelUp plugin by HIME. I have tried working with the Change Classes plugin, but it just lets you change class, not train stats separately (explanation below).

Welcome! The thing that makes your question difficult to address is you don't provide any details on what "training a school of magic" entails. Also, you're asking two different questions kind of mashed together.

How does one train in magic? If it's interacting with an event, then in that event you can simply use the Change Skill event command to give new skills as appropriate.

If it's through some other method then you may or may not need to look at plugins, but the absolute first step is you need to define what causes your magic knowledge level to increase.

The other question was about retaining information across games, which you can do via plugins. Do a search for New Game+ or meta controls.
I've talked to friends so much about this that I kinda forget how much of this makes sense, so I apologize. I am basically just looking to train the mechanic of a spell, and not the spell itself.

In attempt to explain what I am doing here: in most media (and DnD), there are three ways to control magical power -- casting power through you (like Firebending), controlling the power of the world around you (like Earthbending), and summoning power from gods (like Doctor Strange); Hand Magic, Druidic Magic, and Ethereal Magic.

Each class of magic (Shaman, Cleric, Attack Mage, etc...) is a combination of these three; if you level up as a Cleric, your Hand and Druidic Magic goes up. If you level up as an Attack Mage, just your Hand Magic goes up. As I try to explain this, I fear this is just going to be more complicated than is necessary, and I would much rather be able to make a game than a perfect representation of the magic system in my head.

It's kinda like how in WoW, if you use a knife a lot, you only get better at using knives, or arrows, or swords. If I knew how to use a sword, I would inherently know (a bit) about using a knife. If I was a master at bows and arrows, I wouldn't be bad at throwing knives, or if I had mastered an Axe, I would still know how to use a hammer.

That kinda thing.
Okay, I think I figured some of it out!

After moving to MV, I installed the YEP_X_ActorVariables and the HIME_LevelUpEvents plugins. Added variables for the three types of magic and created an event to a point to those at every level up, and added those points to the appropriate spell formulas.

Well, spell. It's all just one class right now, but I want to get the mechanics working before I add more characters to them.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-a-spell-require-multiple-levels-to-unlock.153865/