All of the following tags goes into the note tag section for your skill (Open database (F9), click on the skill tab, and look for note on the bottom right hand corner)
<upgrade_cost: x> This is the base cost of the skill.
<upgrade_formula: string> The formula to calculate the JP/Gold/Variable cost. Overrides the default formula and needs to be valid Ruby syntax.
<max_level: x> The maximum level a skill can attain.
<upgrade_damage: x> Every level, the skill’s damage will raise by x%.
<upgrade_mp: x> Every level, the skill’s MP cost will raise by x%.
<upgrade_tp: x> Every level, the skill’s TP cost will raise by x%.
<level_morph: x, y> At level X, skill will become skill Y. This is a one-way process and downgrade won’t be available after a morphing.
According to the note tag I set for my cleave skill:
- The base upgrade cost is 100 gold
- The upgrade cost increase by the level multiplied by the base (so it costs 100g to upgrade when cleave is at lvl 1, 200g to upgrade when cleave is at lvl 2, etc)
- The max level is 5
- Once the skill reach level 4 (that was a typo, I meant for it to be 5), it will change into skill id 74, which is Nuclear. Once a skill morphed, you won't have it anymore, but you will have a new skill instead.
I didn't include the TP/Damage/MP thing since they are pretty straight forward.
Without Yanfly's JP manager, it will only cost you gold to upgrade.
In order to access the upgrade menu, you need to create an NPC and use the script call SceneManager.call(Scene_Upgrade)
Refer to the following image if you don't know how to do that.