So, to add a little variety to my project, I came up with an idea of upgrading moves like you could in Pokemon Mystery Dungeon.
I really don't feel like copying moves in moves.txt and then adding the effects of the upgrade one by one. Is there a way to do this using script and adding the effects?
For example,
A normal Hydro Pump will have its usual base damage of 120. But a +5 Hydro Pump will have a base damage 135. And it will have a prefix of "+5."
I also have an idea of adding enchants to go along with the upgrade. For example, I'll give a move an enchant that increases its base damage by 20%. It will be called "+5 Empowered Hydro Pump" ("+5" and "Empowered" being separate prefixes) with a base damage of 135*1.2= 162.
I would greatly appreciate any help on this.
P.S: Status and certain moves with variable base damages are excluded from the upgrade/enchant system.
I really don't feel like copying moves in moves.txt and then adding the effects of the upgrade one by one. Is there a way to do this using script and adding the effects?
For example,
A normal Hydro Pump will have its usual base damage of 120. But a +5 Hydro Pump will have a base damage 135. And it will have a prefix of "+5."
I also have an idea of adding enchants to go along with the upgrade. For example, I'll give a move an enchant that increases its base damage by 20%. It will be called "+5 Empowered Hydro Pump" ("+5" and "Empowered" being separate prefixes) with a base damage of 135*1.2= 162.
I would greatly appreciate any help on this.
P.S: Status and certain moves with variable base damages are excluded from the upgrade/enchant system.