Hello, i'm creating a new DOTA map, with League Of Legend Champions, and I have a problem with Annie's Disintigrate abillity.
Disintigrate - Annie hurls a mana infused fireball, dealing damage and refunding the mana cost if it destroys the target.
Here's my trigger:
The problem is that everytime I cast the abillity the item is created, even if the ennemy is not dead.
Can anyone help me, please?
Disintigrate - Annie hurls a mana infused fireball, dealing damage and refunding the mana cost if it destroys the target.
Here's my trigger:
-
Events
-
Unit - A unit begins casting an ability
-
-
Conditions
-
(Abillity being cast) Equal to Disintigrate
-
-
Actions
-
Wait until (((Target unit of ability being cast) is dead) Equal to True). checking every 0.10 seconds.
-
Hero - Create Disintigrate mana regen* and give it to (Caster unit)
-
The problem is that everytime I cast the abillity the item is created, even if the ennemy is not dead.
Can anyone help me, please?