Hello, so I've been playing around with a skill system that levels your skills based on how often they get used. I've got it to work to a point, but the process for getting it to work is very convoluted and has some issues I haven't been able to resolve. I'm hoping some people could give advice on how to stream line this.
So lets say we have two characters that are mages, we'll call them Jack and Jill. Now Jack and Jill can use many of the same skills, lets use a simple skill like fire as an example. Now in order to get this to work I would have to make two separate fire skills , one for Jack and one for Jill and in those skills I place a common event, one event is for Jacks fire skill and it simply adds a number to a variable called Jacks Fire Skill Variable and the same goes for Jill she has a common event that adds a number to a variable called Jills Fire Skill Variable.
Now then I created a common event thats used to level these skills, we'll just call it Fire Skill Leveler. This common event has a condition that checks the variables and if they are greater than a set number it gives the actor a more powerful version of that skill.
It looks something like this:
If: Jack Fire Skill Variable >5
Change Skill: Jack, + Jack Fire skill lvl 2
If Jack has learned Jack Fire Skill lvl 2
Text: none,window,bottom
Jack has learned Fire skill lvl 2
end
and finally in Jacks fire skill there is a command in the note tags, using Yanflys skill core, to hide the previous lower level skill.
Both Jack and Jill have their own separate common events like the one above and I call upon those common events in the enemy troop section of the editor. In there it checks every turn to see if the conditions are met, so if your fighting and you use the skill enough you can get a more powerful version of that skill during battle. I could also use this common event just about anywhere I want it to check for those skill variables.
Now to a degree this all works, but as you can imagine there are some problems. First its a very messy way of doing it, I need to create many separate skills that are identical for each character that I want to have the same skill for and their own variables, common events, etc. its all very laborious .
Second I have no way of stopping the common events from checking to see if the level 2 version of the skill should be given, they are always running in a loop so you will get a message every turn after Jack had already learned the skill saying that Jack has learned Fire level 2, because its always checking the variable to see if its above 5, adding the skill and giving the message.
I would greatly appreciate the wisdom of others on this,I'm hoping that others have built a skill system like this before and, or there is a script for it.
Thanks.
So lets say we have two characters that are mages, we'll call them Jack and Jill. Now Jack and Jill can use many of the same skills, lets use a simple skill like fire as an example. Now in order to get this to work I would have to make two separate fire skills , one for Jack and one for Jill and in those skills I place a common event, one event is for Jacks fire skill and it simply adds a number to a variable called Jacks Fire Skill Variable and the same goes for Jill she has a common event that adds a number to a variable called Jills Fire Skill Variable.
Now then I created a common event thats used to level these skills, we'll just call it Fire Skill Leveler. This common event has a condition that checks the variables and if they are greater than a set number it gives the actor a more powerful version of that skill.
It looks something like this:
If: Jack Fire Skill Variable >5
Change Skill: Jack, + Jack Fire skill lvl 2
If Jack has learned Jack Fire Skill lvl 2
Text: none,window,bottom
Jack has learned Fire skill lvl 2
end
and finally in Jacks fire skill there is a command in the note tags, using Yanflys skill core, to hide the previous lower level skill.
Both Jack and Jill have their own separate common events like the one above and I call upon those common events in the enemy troop section of the editor. In there it checks every turn to see if the conditions are met, so if your fighting and you use the skill enough you can get a more powerful version of that skill during battle. I could also use this common event just about anywhere I want it to check for those skill variables.
Now to a degree this all works, but as you can imagine there are some problems. First its a very messy way of doing it, I need to create many separate skills that are identical for each character that I want to have the same skill for and their own variables, common events, etc. its all very laborious .
Second I have no way of stopping the common events from checking to see if the level 2 version of the skill should be given, they are always running in a loop so you will get a message every turn after Jack had already learned the skill saying that Jack has learned Fire level 2, because its always checking the variable to see if its above 5, adding the skill and giving the message.
I would greatly appreciate the wisdom of others on this,I'm hoping that others have built a skill system like this before and, or there is a script for it.
Thanks.
