Hi! I want to make a skill that "captures an enemy" (lowers enemy's defense and magic defense while stunning them for three turns) but in returns, stuns the user in the process in a "Capturing state" (Prevents from attacking), but has a chance to lose the state if attacked, and if the user loses his state, so does the enemy and vice versa.
I tried to do it in the damage formula, but it is not working, is there a way to do this?