Apply state until the next turn of the actor who applies it

Hello, I'm trying to get Yanfly's Buffs & States Core to apply a state under special conditions, but I'm really struggling so I could use some help.

What I'm trying to have is an Airborne state that's applied for a full turn, but by a full turn I mean ending on the next turn of the actor / enemy that applied the state. A full lap, pretty much.

Here are my restrictions:
  • Action End won't help because I use instant cast skills (for positioning without having to wait for the next turn to do an action)
  • The number of enemies in the battle is unpredictable
  • The number of party members in the battle is unpredictable as well
  • Unit counts could be unreliable because other units can die in the meantime and whoever is airborne would stay in that state for longer than they should.
Thanks in advance for helping me out!

Original thread: https://forums.rpgmakerweb.com/threads/apply-state-until-the-next-turn-of-the-actor-who-applies-it.122863/