I am not quite getting what the issue is that you are facing. When you say that your "target" switches while in combat, do you mean your characters switch targets on their own? Also why is target in quotes?