(First of all, sorry if something like this already exists).
You see, I have this idea for a sort of a "wrestler" character, and one of his skills is using a wrestling hold againts an enemy (hopefully, human-like; I'm not sure how to feel about suplexing trains).
The point of the skill is that when used againts an enemy, both the wrestler and the selected enemy can't act for some turns, so it's a way of taking one enemy out of the way for a while. You know, strategic stuff.
And, really, it could be anything else, a mage using a sealing spell, or something like that.
So, what I tried was creating a skill that put a "cannot move" state on both the enemy and the user for the same amount of turns. To that point, it would work.
The problem is that if one of the two, the user or the enemy, die or get rid of the state by any means, the state should be removed from the other actor as well (the wrestler keeping the hold on a dead guy or a guy being holded by a dead wrestler would be creepy and stupid).
I don't know how to accomplish that. Is there a way?
I think having this kind of "bonded states" (a state that is removed from an actor if another certain actor loses a state) would be really useful for a lot of situations, and not just for what I just described.