So I know this is one of those situations where I know what's causing the problem but not how to fix it.
Basically if I use a skill that creates a state, and that state temporarily gives lets say actor 'a' an untargetable status (in my case <Cannot Select: Element x> notetag)
Well if I use a skill of that element on actor 'a' same turn by actor 'b' and actor 'b' has less agility, it basically resolves the untargetable state first and the second skill tries to target, sees that it's not supposed to target actor 'a' and crashes the game.
Is there a different way I can go about solving the conditional targeting problem? Basically the idea is the skill creates a state so that only specific elements can target it a few turns, but the elements that can target it deal more damage. I included skill and state screenshots as well.
Basically if I use a skill that creates a state, and that state temporarily gives lets say actor 'a' an untargetable status (in my case <Cannot Select: Element x> notetag)
Well if I use a skill of that element on actor 'a' same turn by actor 'b' and actor 'b' has less agility, it basically resolves the untargetable state first and the second skill tries to target, sees that it's not supposed to target actor 'a' and crashes the game.
Is there a different way I can go about solving the conditional targeting problem? Basically the idea is the skill creates a state so that only specific elements can target it a few turns, but the elements that can target it deal more damage. I included skill and state screenshots as well.