Master/Apprentice system

I want to setup a system where you can pick a master. Each master will offer different stat upgrades each time you level up. 

Here are the masters to pick from (don't know how to apply the spoiler button thing):

 

-          Nilas – Guardian of the Forest:

Nilas offers mostly defensive type abilities. Every level gained under him will give you an additional +2 to armor and +5 to strength. With enough experience points earned under Nilas, you can cash them in and acquire powerful spell books full of helpful spells.

-          Buri – Keeper of the Peace:

Buri offers mostly offensive type abilities. Every level gained under him will give you an additional +4 to attack and +2 to agility. With enough experience points earned under Buri, you can cash them in and acquire powerful spell books full of helpful spells.

-          Orla – Mistress of the Depths:

Orla offers mostly magic type abilities. Every level gained under her will give you an additional +50 mana and +4 to intelligence. With enough experience points earned under Orla, you can cash them in and acquire powerful spell books full of helpful spells.

-          Kiri – Countess of the Critters:

Kiri offers mostly item type abilities. Every level gained under her will give you an additional +3 to all stats and +1 to armor. With enough experience points earned under Kiri, you can cash them in and acquire powerful items.

-          Ariel – Lady of the Land:

Ariel offers mostly defensive type abilities. Every level gained under her will give you an additional +50 life and +4 to strength. With enough experience points earned under Ariel, you can cash them in and acquire powerful items.


So depending on your master, each time you level, your hero will gain extra stats. How can this be done the most efficient way?
Google "Wishmaster the misheard lyrics".

You will understand why I couldn't resist telling you that, after reading your title. 😉   😛   😛   😛
No one has any idea's on how to implement a system like this?
How about a passive undetectible state...

um...

It can definitly provide a floating bonus to stats. If you could find a way to have leveling up add to a varible, you could implement the other...

maybe somehow use the growth command? I wonder if you can program that into an battle aftermath script

is there a way to make an event stretch over every map in the game?

Is there a way to make a state link to a common event? If there is, I wonder if there's a way to make it detect if the player is leveling up. You could add the growth command into the common event it links to
The most obvious way to do it would be through the class system.

If you need characters to have their "innate" class PLUS a master, then you're probably best off creating a new property for actors "Master" and aliasing the Level Up method to do the new "on Level Up" stuff.  This isn't that hard, but it does require some scripting.

As far as buying new items/books/whatever with the experience points, look up threads dealing with Alternate Currencies and you'll find several solutions there.

Original thread: https://forums.rpgmakerweb.com/threads/master-apprentice-system.36620/