So, I use the Visustella plugin that, among other things, gives an extra turn to party members whenever they hit an enemy's weakness, and was wondering if there was a way to then pass on that extra turn to a party member. Not the party member that is right after in the turn order anyway, but rather just any party member currently in the battle, even if they've already acted before in the current turn.
Any help would be appreciated!
You could try making an ability that triggers a common event, which itself then forces the target to use a skill that everything is week too on the last target to get a turn but otherwise dose nothing... But that may make a mess of things.
You can try using the following code (change actor id to what you want). Disable in the plugin settings the effect of the exploiter gaining the extra action. Also, you need to test that it doesn't cause any glitches if you do it like this:
$gameActors.actor(1).stbGainInstant(1);
BattleManager._actionBattlers.unshift($gameActors.actor(1));
But this will cause the battler to be able to take their normal action after the extra action if they hadn't acted yet, I think. If you want to return the dude to their original position in the battle order after the extra action you have to change that _actionBattlers again. And yeah, not sure if all that would cause some glitches.