Ok, starting from the top XD
Skill starts at level 1
15 uses of the skill leads to level 2
40 leads to lvl 3
and so on - though I would probably have to experiment to find the right curve.
...
But what if I wanted Skill A to go up as per the example above, and Skill B to go up with a higher use requirement? Would the usage rate have to be the same for all skills?
The AP curve for levelling skills is definable based on a BASE value and a CURVE value. The formula I'm using to apply them is BASE * SKILL_LEVEL + (CURVE * ((SKILL_LEVEL - 1) ** 2)) - ** being the Ruby symbol for exponents. To apply a custom curve to each skill, as opposed to each school or set of skills, would be fairly straightforward, and require only a little bit of tweaking.
I wouldn't have thought it necessary for a gauge to show the player how many more uses are needed for level up, as I think it might make my skill window a bit cluttered.
Did you look at the gauges that I set up? I reduced the number of skill columns to 1 to allow space for them, so it doesn't look too cluttered, and I think it's better to know when a skill is going to level up rather than having it be a surprise XD but maybe that's just me. Either way, that's only one section of the script, which can easily be removed (just remove the whole * V. WINDOWING block ^^).
Your script for CWells is tied to elements, and this would not be appropriate for physical skills, so I couldn't see how that bit would work.
As stated in my initial response, Physical is one of the default Elements in the database. Taken as-is, you could change the Hashes to only contain Physical-type skills - BASE_OFFSET becomes
BASE_OFFSET = { # School name => element id
😛hysical => 0} # Don't remove this
and LEARNING CURVE becomes
Code:
LEARNING_CURVE = { # School name => element id :physical => 0} # Don't remove this
That said, if you're looking for a way to denote which skills specifically will have the levelling applied to them, that's simple enough - the other script I linked levels a skill denoted in a notetag by a set amount of AP depending on the enemy you "reap".
What I wasn't able to work out from the script was how to allocate a higher attack value to the skill.
There are two blocks to look at here: the SKILL_BOOST variable in the Config, and the make_damage_value function in the * IV. FUNCTIONALITY block. Admittedly, this is a pretty straightforward way to implement additional damage based on the skill level, but it's fairly configurable as well. If you'd rather have a base value than a multiplicative one, you can instead define a formula and simply add it to the base value in make_damage_value after the line
value = item.damage.eval(user, self, $game_variables)Going by your example of an additional 40 base damage per level, the next lines would read
if user.is_a?(Game_Actor) value += SKILL_BOOST * (item.level[user.id]-1)endsetting SKILL_BOOST to 40.
All in all it would be easy to implement the changes that you're talking about ^^. Let me know specifically what you want in the final product and I'd be happy to make the changes and send it along.