Yeah, I thought that wouldn't quite satisfy you.
However, if your intent is that the extra attack comes
after whatever the player selects for the next turn, then the basic approach still works out. This is very similar to what I did for my "wrath" spell that re-activates once per turn over the course of 4 turns. Since it's a bit more involved than just adding a state, I used a common event rather than bundling the logic into the damage formula.
What needs to happen when the skill is first activated:
- A state is applied
- A switch is set
You can do that in the damage formula (
$gameSwitches.setValue(42, true); to set a switch, but it's probably easier to do it in a common event. Make the skill trigger a common event, and add those two commands to it. If only one actor can ever use this skill, it's nice and simple.
Set the state to last for 1 turn and expire on Action End. That means it'll be removed as soon as the actor uses an action on the next turn. (I think. Maybe that would be 2 turns and Action End? Not quite sure if the action that applied it counts as 1 turn.)
Now the troop page is activated on both Turn End and the switch you set. Instead of running the logic when the state is applied, you want to run the logic when the state is
not applied, so it looks something like this:
- Conditional Branch: Actor 1 affected by State 41
- Else
- Control Switches: #0042 = OFF
- Force Action: Actor 1, Attack, Last Target
- End If
That probably gets you almost where you want to be, but there is one more possible problem. The Last Target there is no longer the enemy that was originally targeted by the skill. Instead, it's the enemy that was targeted by whatever the player chose in the current turn. If that's a problem, let me know. (This would be much, much easier to solve in MZ, but it can be done in MV too with a plugin.)