i have problems with creating this skills. Maybe one of you know the solutions and can help me :)
Effect - Target
The target unit and all their surrounding units should get damage if the target unit attacks or use other skills.
Effect - Immediately
If a caster use this skill it should inflicts damage to all surrounding units if the caster is attacking.
My biggest problem is to request if a units attacks so that the skills/behaviors only trigger if the units is attacking and not to trigger it the whole duration.
One way of doing it is by using a validator called "Unit Ability". Set it to work for the Attack ability, which will make the validator check for whenever a unit attacks something.
Alternatively, you can use a validator called "Unit Weapon Firing", in which you can specify what weapons the validator will check for. (But if you have many different units on your map, you need to have a validator for EACH type of their weapons!)
If you need more detailed help on how to build your abilities and how to use validators, let me know and I will try and help you.
Thank you for your help. I need a bit more details :)
I tried it with validators and persistant effects or behaviors but this isnt working. how can i build a "listener" or rather where is the right place for the validators?
Ability: "Effect - Target" that applies a buff to target enemy unit. That buff has a "Unit Ability" validator in the "Validators (Disabled)" field. The validator checks whenever a unit uses an attack ability.
The buff also has a Search effect added in the "Refresh - Effect" field on that behavior, which causes the effect to happen when the buff is reapplied to its target. The search effect looks for nearby enemy units and deals damage to them.
So normally the buff will be disabled, due to the validator, meaning that the buff does NOT deal damage to nearby enemy units. However, as soon as the unit attacks, the validator enables the behavior for a short period of time, meaning that the search effect can now deal damage once to nearby units..
I am however not sure that the "Refresh - Effect" field works when buffs are enabled and disabled via validators. (I can not try it in the editor atm.)
Unfortunately it doesn't work. But the target units got damage if i set the Damage Effect on that behavior to Effect: periodic. But then they are nearly instantly dead if the target unit attacks and dont stop the attack fast enough.
I have the same problem with a persistent effect.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Good Morning,
i have problems with creating this skills. Maybe one of you know the solutions and can help me :)
Effect - Target The target unit and all their surrounding units should get damage if the target unit attacks or use other skills.
Effect - Immediately If a caster use this skill it should inflicts damage to all surrounding units if the caster is attacking.
My biggest problem is to request if a units attacks so that the skills/behaviors only trigger if the units is attacking and not to trigger it the whole duration.
Try using a validator for this.
One way of doing it is by using a validator called "Unit Ability". Set it to work for the Attack ability, which will make the validator check for whenever a unit attacks something.
Alternatively, you can use a validator called "Unit Weapon Firing", in which you can specify what weapons the validator will check for. (But if you have many different units on your map, you need to have a validator for EACH type of their weapons!)
If you need more detailed help on how to build your abilities and how to use validators, let me know and I will try and help you.
Thank you for your help. I need a bit more details :)
I tried it with validators and persistant effects or behaviors but this isnt working. how can i build a "listener" or rather where is the right place for the validators?
Hmm.. I am not sure if this method works:
Ability: "Effect - Target" that applies a buff to target enemy unit. That buff has a "Unit Ability" validator in the "Validators (Disabled)" field. The validator checks whenever a unit uses an attack ability.
The buff also has a Search effect added in the "Refresh - Effect" field on that behavior, which causes the effect to happen when the buff is reapplied to its target. The search effect looks for nearby enemy units and deals damage to them.
So normally the buff will be disabled, due to the validator, meaning that the buff does NOT deal damage to nearby enemy units. However, as soon as the unit attacks, the validator enables the behavior for a short period of time, meaning that the search effect can now deal damage once to nearby units..
I am however not sure that the "Refresh - Effect" field works when buffs are enabled and disabled via validators. (I can not try it in the editor atm.)
Hmm.. Anyone else has a better idea?
Unfortunately it doesn't work. But the target units got damage if i set the Damage Effect on that behavior to Effect: periodic. But then they are nearly instantly dead if the target unit attacks and dont stop the attack fast enough.
I have the same problem with a persistent effect.