Summary: I want to make a battle system where when I click a specific skill under the command "Transform", it allows me to change the actor's class (via States).
Problem: When I select a skill (for example: Heavy Armor), the skill applies "Heavy" on the actor but it doesn't change the actor's class yet. I have to re-select the skill before the system changes the actor's class. Basically, it requires two turns of selecting the same skill.
First, to clarify things: The concept of this system is already laid out. My reason of using "State" as a switch to change class rather than the "Switch" command type itself is because: the battle command type for activating switches is not "Skill-Specific". This means that if in case the actor transforms and learns a "skill specific" skill let's say Steel Crash which I want to be under the battle command "Gear", it will also appear on "Transform". So to fix this issue, I made the "Transform" command a skill specific and used the Heavy "State" to activate the transform common event. However, the system doesn't instantaneously recognize the actor's state. I've also tried it with the normal switch type and it's the same effect. It requires res-election of the same skill. To clarify also (in case someone asks), I've made the state rate for the State "Heavy" 100% meaning it will not miss.
Here's a snippet of my code:
Skill
Troop
Common Event
Problem: When I select a skill (for example: Heavy Armor), the skill applies "Heavy" on the actor but it doesn't change the actor's class yet. I have to re-select the skill before the system changes the actor's class. Basically, it requires two turns of selecting the same skill.
First, to clarify things: The concept of this system is already laid out. My reason of using "State" as a switch to change class rather than the "Switch" command type itself is because: the battle command type for activating switches is not "Skill-Specific". This means that if in case the actor transforms and learns a "skill specific" skill let's say Steel Crash which I want to be under the battle command "Gear", it will also appear on "Transform". So to fix this issue, I made the "Transform" command a skill specific and used the Heavy "State" to activate the transform common event. However, the system doesn't instantaneously recognize the actor's state. I've also tried it with the normal switch type and it's the same effect. It requires res-election of the same skill. To clarify also (in case someone asks), I've made the state rate for the State "Heavy" 100% meaning it will not miss.
Here's a snippet of my code:
Skill
Troop
Common Event