Validators
The purpose of a Validator is to return either true or false.
The Validator also has an errorMessage which is meant to be displayed in circumstances where display makes sense.
Knowing how Runtime Validators work is crucial for designing them.
There will be more validator types coming in the future.
Error Message
When creating a new Validator, the errorMessage is intentionally left at null. This is because you maybe want to reuse an already existing error message or you do not require an error message.
Validator Types
UnitCompareVital
used to validate a vital.
UnitCompareDamageTakenTime
used e.g. to activate a buff, when the unit has not taken damage for x seconds.
UnitCompareFilter
validates against a UnitFilters / TargetFilters