Greetings
In my map I have a Hero with an ability i call Chain Shock. It fires a chain lightning at a target. It work to this part.
However I tried to trigger a second chain lightning to be shot at the same target. I used dummies for this. But no matter what i tried i can't get it shooting that damn Lightning.
This is my trigger:
This is the Trigger after i changed it countless times.
Things that work about in this trigger:
I get the right Locations and the Dummy unit is created the way i and place i want it. Also the target is right. I thing the mistake must be in the last 2 lines but i have checked it 5 times now and i can't find a mistake. I checked the dummy cast spell in the Object Editor i have set its range the double, set mana cost to 0 and allowed the right targets.
Thanks in advanced
In my map I have a Hero with an ability i call Chain Shock. It fires a chain lightning at a target. It work to this part.
However I tried to trigger a second chain lightning to be shot at the same target. I used dummies for this. But no matter what i tried i can't get it shooting that damn Lightning.
This is my trigger:
-
Event:
-
Unit - A unit owned by Player 5 begins to cast a spell
-
conditions
-
(Ability being cast) equal to Chain Shock core
-
(Lightning Lord) equal to (casting unit)
-
(Level of Chain Shock core for Lightning Lord) equal to 2
-
-
Actions
-
Set ChainShockTarget = (Target unit of ability being cast)
-
Set LightningLordLocation = (Casting unit)
-
Unit - Create 1 dummy for Player 5 (yellow) at (Position of LightningLordLocation)
-
Unit - Add expiration Timer to (Last created unit)
-
Unit - Add Chain Shock Dummy Cast to (Last created unit)
-
Unit - Order (Last created unit) to Orc Farseer - Chain Lightning ChainShockTarget
-
This is the Trigger after i changed it countless times.
Things that work about in this trigger:
I get the right Locations and the Dummy unit is created the way i and place i want it. Also the target is right. I thing the mistake must be in the last 2 lines but i have checked it 5 times now and i can't find a mistake. I checked the dummy cast spell in the Object Editor i have set its range the double, set mana cost to 0 and allowed the right targets.
Thanks in advanced