If the ability already checks a validator, make an AND Combine Validator, to which you add the unit type comparison and whatever validator is already set on the ability.
If you can't figure out how to properly invert a validator you can always place it as the sole argument of another Combine validator, and check the appropriate flag on that.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I can´t get units unable to target units of it´s own kind.
Example: The Medic can heal all biological units except other medics.
How can this be done with validators?
Validate Unit Type Target=/=Medic
If the ability already checks a validator, make an AND Combine Validator, to which you add the unit type comparison and whatever validator is already set on the ability.
If you can't figure out how to properly invert a validator you can always place it as the sole argument of another Combine validator, and check the appropriate flag on that.