I'm looking for a script that makes it so that when you use a skill it removes a certain state from the user even if the skill targets the enemy. I've tried doing this with events but it didn't work, and I've already found a way to make sure the skill can only be used when you have that state.
If you don't understand here's an example:
If an actor uses poison slash it damages the enemy and removes the venom state from that actor.
If you don't understand here's an example:
If an actor uses poison slash it damages the enemy and removes the venom state from that actor.