Upgrading Equipment Skills

Skills, in my game, are provided by equipment: if you equip an axe, for example, you can use the skills 'furious attack' and 'execute', while equipping a pistol would let you use 'quickdraw' and 'pot shot.' What I want to do now is make it so that using a skill provided by a piece of equipment 10 times unlocks another skill--but only while the equipment is equipped. If a character equipped an axe and used 'furious attack', for instance, I'd like it if they could also use 'frenzy' while it's equipped. Is there any way to do this?
I'm afraid you'll need a plugin for that.
I'm afraid you'll need a plugin for that.
nnnnnnngh..... maybe not quite.

locking and unlocking skills can be done directly with the engine.
the only thing you should worry about, is counting the uses, which can (kinda) be accomplished by running a common event after the skill, which the skill object itself allows for.
you'd have to present the lot of skills already defined for the player each time they equip a weapon, even though they'd be locked depending on the unlocking logic you'd come up with.
in other words, each weapon will have it's skills pre-defined in the weapon itself... but you'll have to account for each different potential character/weapon/skill combination, and each combination must be unique, even though for the player it wouldn't look that way.
nnnnnnngh..... maybe not quite.

locking and unlocking skills can be done directly with the engine.
the only thing you should worry about, is counting the uses, which can (kinda) be accomplished by running a common event after the skill, which the skill object itself allows for.
you'd have to present the lot of skills already defined for the player each time they equip a weapon, even though they'd be locked depending on the unlocking logic you'd come up with.
in other words, each weapon will have it's skills pre-defined in the weapon itself... but you'll have to account for each different potential character/weapon/skill combination, and each combination must be unique, even though for the player it wouldn't look that way.

I see what you mean, but there'd be too many combinations since each piece of equipment lets you use unique skills 🙁

What I was think of was running a common event after using one of the basic equipment skills which increases the variable for that skill by one, then running a conditional afterwards that checks whether the variable for that skill is ten. If it's ten, I could then run an event that changes the relevant equipment to a duplicate that has the unlocked skill. The only trouble is that I don't know which actor will have the equipment.
If your only problem is knowing which actor used the skill, you can utilize the damage formula for that... You can use it to set the id of the actor using the skill to a variable which you can then use in your common event.

Code:
$gameVariables.set(ID,a.id); damage_formula

IIRC, a.id should work, else you just need to find the right property

then on your common event use the Game Variables whose ID you used in the damage formula to determine which Actor uaed the skill
Sometimes people's creativity surprises me when they are limited by not using plugins.
Thanks, that should work!

Original thread: https://forums.rpgmakerweb.com/threads/upgrading-equipment-skills.107360/