-
Nether Chains
-
Event
-
Unit - A unit Starts using ability
-
-
Conditions
-
(Ability being cast) Equal to Nether Chains
-
-
Actions
-
Set TempLoc9 = (Target point of ability being cast)
-
Set TempLoc10 = (Target point of ability being cast)
-
Special Effect - Create a special effect at TempLoc9 using Abilities\Spells\Other\Drain\DrainCaster.mdl
-
Set SpecialEffect[1] = (Last created special effect)
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
Wait 2.00 game-time seconds
-
Game - Display to (All players) the text: (String((Integer A)))
-
Special Effect - Create a special effect at TempLoc10 using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempLoc9 facing default degrees
-
Unit - Add a 1.50 second expiration timer to (Last created unit)
-
Unit - Add Nether Chains(dummy) to (Last created unit)
-
Unit - Set level of Nether Chains(dummy) for (Last created unit) to (Level of Nether Chains for (Triggering unit))
-
Set GroupVar4 = (Units within 900.00 of TempLoc9 matching ((((Owner of (Matching unit)) is an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
-
Set UnitVarPicked2 = (Random unit from GroupVar4)
-
Unit - Order (Last created unit) to Orc - Mage: Chain Lightning UnitVarPicked2
-
Custom script: call DestroyGroup (udg_GroupVar4)
-
-
-
Special Effect - Destroy SpecialEffect[1]
-
Custom script: call RemoveLocation (udg_TempLoc9)
-
Custom script: call RemoveLocation (udg_TempLoc10)
-
-
I added a Game - Display text (Integer A) to see where is bug and i saw 1 -> 34 ;o
Can someone tell me what i can do to fix it?
Thanks