Need some feedback and advice for my skill system

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.
Why not drop the level system and incorporate the times- used variable into the damage formulae?


Simplified example:


Fire skill: used 0 times


User Magic attack - Enemy Magic defence


Fire skill: used 10 times


(User Magic attack + 10 extra damage) - Enemy Magic defence
I didn't know I could do that. I wanted the skill to do more than simply add damage though as it leveled up. I wanted it to add additional effects, increase/decrease in cost, etc. 


Does the game record the number of times the skill is used in all battles. So if I used it 5 times in one battle and 3 in the battle after would the game record it as a total of 8? or does it reset each battle? 
You'd need to link a Common Event to the skill to count up the variable per use, so it'd still require 2 separate skills if 2 characters can use the same skill. For additional effects, you can achieve at least some of them through the damage formulae, so it won't require a completely new skill slot. But for cost reduction, it's going to need a new skill slot or plugin (not sure if one exists that does that).
Mr.Trivel got a Skill Level Up System that, when a skill is used enough times, you learn a new one and, if you so choose, loses the other one.
That's coo, where could I find this Mr. Trivel? Is it a plugin, or all eventing?
it is a plugin.


Speaking of said plugin, I had some problems with it, it only seemed to work on one skill at a time and I needed a second, so I made an alteration on the plugin. Tried finding Mr.Trivel himself, but got no answer...


This is my edited version of it, have fun!


View attachment MrTS_SimpleSkillLeveling.js
Cool thank you!
This is actually almost identical to the system I've been working on. Using elemental skills gives the character proficiency exp towards that element, which gradually levels it up (In my case, every 100exp). Then at certain proficiency levels, the character will learn new skills related to that element, correct?


I've run into the same issue as you have, where it loops the "Character learned skill" text, as well as an issue where it waits until after combat to do it. Mr. Trivel's plugin is good for a basic setup, but it's simplicity is a bit of a detriment. But I'll keep plugging away at it and let you know what I find when its done, in case you feel that plugin isn't quite what you were looking for.
Yeah same here. I have a couple of ideas for how to modify it I'll keep this updated to see what I come up with.
I didn't get this "message keeps repeating" with my own Osmosis System plugin... The secret is, if you want to give a message right when you learn the new skill, you show the message and then learn the skill, and set it for only showing the message if it is not learned. If you want it shown at the end of battle, add it to a learned skill array that starts the battle empty, so it only appears in the battle it is learned. And both can be used at once (my system does).
I fixed both my repeating message issue, as well as it waiting until after combat. I had placed my "Exit Event Processing" in the wrong spot which caused the loop, and I put everything into a single common event rather than simultaneously running two whenever I used the skill. Dont know why, but that fixed it and it now levels up and teaches the new skills in combat.

Spoiler
Fireball.png





I've managed to get the basics working. Just need to add more if statements for further levels of spells. Mine will inevitably become more complex when I start combining different elements and weapon types together to create hybrid skills though. Also need to work on the message windows to try and get it so they'll pop up without removing the rest of the battle UI. And tweak them, cause they're the default RMMV ones, but I'm doing all this testing on a blank project since I've got my main one on my other HDD which is currently unplugged 😛
So I figured out that I can do a lot of this stuff by using the damage formulas, including changing skills. It could create a cool way to passively improve skills, but I run into problems if I try and use multiple formulas that influence different stats it all kinda breaks down. Not sure how to make it work to influence dmg, hit rates, criticles, etc. all at the same time.

Original thread: https://forums.rpgmakerweb.com/threads/need-some-feedback-and-advice-for-my-skill-system.70645/