Greeting,
I am seeking to create an ability which will damage a target unit then cast a spell on the damaged unit. For an in game example a unit is hit with the hero skill 'Hemorrhage' and then is hit with an ability (im using Faeire Fire) which shows it location for a duration to simulate a blood trail.
Here is what i have, however i cannot get the dummy to cast Track, he can only cast Faeire Fire as you can see in the script. Is there a simpler way to perform this or is this the way? i am a novice by the way.
I am seeking to create an ability which will damage a target unit then cast a spell on the damaged unit. For an in game example a unit is hit with the hero skill 'Hemorrhage' and then is hit with an ability (im using Faeire Fire) which shows it location for a duration to simulate a blood trail.
Here is what i have, however i cannot get the dummy to cast Track, he can only cast Faeire Fire as you can see in the script. Is there a simpler way to perform this or is this the way? i am a novice by the way.
-
Hemmorage
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


((Triggering unit) has buff Hemorrhage (Stacking)) Equal to True
-
-

Actions
-


Set VariableSet Hemorrhage_Caster = (Attacking unit)
-


Set VariableSet Hemorrhage_Dmg = (Attacked unit)
-


Set VariableSet Hemorrhage_TP = (Position of Hemorrhage_Caster)
-


Unit - Create 1 Dummy for (Owner of Hemorrhage_Caster) at Hemorrhage_TP facing Default building facing degrees
-


Set VariableSet Hemorrhage_Tempu = (Last created unit)
-


Unit - Add Track to Hemorrhage_Tempu
-


Unit - Order Hemorrhage_Tempu to Night Elf Druid Of The Talon - Faerie Fire (Attacked unit)
-


Unit - Add a 1.00 second Generic expiration timer to Hemorrhage_Tempu
-


Custom script: call RemoveLocation(udg_Hemorrhage_TP)
-
-


