State/Skill/Passive that upgrades only one specific function of a skill?

I would like my skills to be weak at first but upgradeable, but having to focus on a specific part.

Example:

Thief starts with the skill Steal.

-Steal-

Cost: 50 action points
Success Chance: 20%

-Upgrade 1-
Reduces the action point cost of Steal by 2 (unlocks more ranks for exponentially higher reduction)

-Upgrade 2-
Increases chance by 3% (unlocks more ranks for exponentially higher increases)


So what im asking for is basically: Is there a way to modify things like cost, cooldown etc for a single spell?
no, the database is static by default.

One way to do this would be to make multiple skills and have the actor forget the old and learn the new on upgrading. This will only work while you limit the options however as it needs too many skills otherwise.

The second solution is to use a plugin to allow for javascript effects and conditions of a skill. That can do anything you want, but you need to know quite a bit of javascripts to write the conditions for variable success and variable cost.

Original thread: https://forums.rpgmakerweb.com/threads/state-skill-passive-that-upgrades-only-one-specific-function-of-a-skill.119604/