Hi ! First of all, english isn't my main language so please be patient with me 😀
I was wondering how to create an "evolving skill". Let me explain :
I would like that, when a skill is used, it is replaced by another one, and this 3 times. I was thinking of it like a charge, like 1st step, 2nd step, 3rd step and then mega attack !
So I create the 3 steps as skills and just make em adding/remove statuses matching those degrees. I did something in the commons events, which is hard to explain as I have a french version, but anyway it didn't worked at all 😀 So...
Could you guys explain to me how to get to te good result ?
Thank you!
If you want the actual skill that the player chooses to be replaced, then in addition to whatever else the skill does, go to the right and in the Effects area you'll choose a common event. In that common event, you'd use the Change Skill command to remove the first skill and then add the second one.
This is easiest if there is only one actor in the party using the skills, or if each actor has their own progression, or if one person using the skill changes it for everyone.
If you need to track the skill progression for each actor individually, it will get a bit more complex because you'll need to use states to keep track of who is using the skill for the common event to know.
The way I usually do this is to have the skill apply a state to the user, either through a common event (if you know who is using the skill) or using this code before the actual calculation in the damage formula (if you don't): a.addState(X)
where X is the ID of the state in the database. If the skill just targets the user instead of someone else, it's much easier - you can just skip all the above and add the State in the skill's Effects box.
And I have the state seal the original skill that applied it, and add a new skill to the user (these functions are both done in the Features box for the State; you can find them on the 'skill' tab of the Features Box).
Then, for that new skill that's added, do the same - so for example, if "Charge 1" was the original skill, and "Charge 2" is the skill that Charge 1 adds, then "Charge 2" will seal Charge 2 and enable Charge 3... and so on! The final skill in the set should remove all of the States that add/seal skills, unless you want that final skill to be usable multiple times in a row once it has been charged up once.
It worked ! Thanks a lot guys!