I am making a silly ability, which is basically a super-charge. I'm doing it with triggers as the data editor confuses me. But I've run into a small problem which I can't seem to solve.
You see, it's a charge attack, that when it touches enemies they die. Yay. But what's happening is that they die even when the attack isn't being used. So I figured the way to fix it would be to check for the Charge effect/buff that you get when using charge.
But I can't find any condition for it in the trigger editor. This is what I have so far:
-Event
Any unit enters Region (Attached to the hero unit).
-Conditions
Owner of (triggering unit) == player from enemies of player (owner of unit attached to region).
(Triggering unit) is not Self, Air, Missile, Cloaked, Dead or Hidden for player (owner of unit attached to region).
-Actions
Environment: Execute Zealot - Psi Blades Copy on (Triggering Unit) from (Unit attached to region)
So in the Conditions I want to add something like this:
(Unit attached to region) has effect (charge copy).
But I can't find it.
Help will be appreciated.
Thank you.
I am making a silly ability, which is basically a super-charge. I'm doing it with triggers as the data editor confuses me. But I've run into a small problem which I can't seem to solve.
You see, it's a charge attack, that when it touches enemies they die. Yay. But what's happening is that they die even when the attack isn't being used. So I figured the way to fix it would be to check for the Charge effect/buff that you get when using charge.
But I can't find any condition for it in the trigger editor. This is what I have so far:
-Event
Any unit enters Region (Attached to the hero unit).
-Conditions
Owner of (triggering unit) == player from enemies of player (owner of unit attached to region).
(Triggering unit) is not Self, Air, Missile, Cloaked, Dead or Hidden for player (owner of unit attached to region).
-Actions
Environment: Execute Zealot - Psi Blades Copy on (Triggering Unit) from (Unit attached to region)
So in the Conditions I want to add something like this:
(Unit attached to region) has effect (charge copy).
But I can't find it. Help will be appreciated. Thank you.
@zeredek: Go
The condition you want is called "Unit Has Behaviour".
@Demolion: Go
Thank you very much ^^