Hi,
How can I know if a unit is under a behavior with behavior?
For example: If i use a persistent effect and that persistent effect trigger a stun behavior,
how can I do that if the unit is stunned it won't stun it again.Thx :)
( Is there any good tutorial about validator?)
Look for the validator type "unit compare behavior count". In this validator you can specify what behavior to compare, and what unit. So you can validate whether the caster has the behavior, or whether the target has the behavior. For your purpose, you would probably just set it to equal to 1 or greater than 0.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi, How can I know if a unit is under a behavior with behavior? For example: If i use a persistent effect and that persistent effect trigger a stun behavior, how can I do that if the unit is stunned it won't stun it again.Thx :) ( Is there any good tutorial about validator?)
Look for the validator type "unit compare behavior count". In this validator you can specify what behavior to compare, and what unit. So you can validate whether the caster has the behavior, or whether the target has the behavior. For your purpose, you would probably just set it to equal to 1 or greater than 0.