- Joined
- Jul 12, 2011
- Messages
- 1,371
Hey people!
There is another spell I'm working on today and it isn't working.
The spell teleports your hero to the targeted unit and after a short while back to his initial position. After 2 seconds the targeted unit explodes.
Trigger:
Can this be fixed somehow, or I should go with the Pick every units and do actions blah, blah, blah?
There is another spell I'm working on today and it isn't working.
The spell teleports your hero to the targeted unit and after a short while back to his initial position. After 2 seconds the targeted unit explodes.
Trigger:
-
Magic Bolt
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Magic Bolt
-
-
Actions
-
Set Point004 = (Position of (Triggering unit))
-
Set Point005 = (Target point of ability being cast)
-
Wait 0.20 seconds
-
Unit - Create 1 Feral Effect Dummy for (Owner of (Triggering unit)) at Point004 facing (Random angle) degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Unit - Create 1 Feral Effect Dummy for (Owner of (Triggering unit)) at Point005 facing (Random angle) degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Unit - Move (Triggering unit) instantly to Point005
-
Unit - Create 1 Arcane Nova Inv Dummy for (Owner of (Triggering unit)) at Point005 facing 270.00 degrees
-
Unit - Set mana of (Last created unit) to 100.00
-
Unit - Add a 8.00 second Generic expiration timer to (Last created unit)
-
Wait 1.00 seconds
-
Unit - Order (Last created unit) to Undead Lich - Frost Nova (Target unit of ability being cast)
-
Wait 0.20 seconds
-
Unit - Move (Triggering unit) instantly to Point004
-
Unit - Create 1 Feral Effect Dummy for (Owner of (Triggering unit)) at Point004 facing (Random angle) degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Unit - Create 1 Feral Effect Dummy for (Owner of (Triggering unit)) at Point005 facing (Random angle) degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation (udg_Point004)
-
Custom script: call RemoveLocation (udg_Point005)
-
-
-
Unit - Order (Last created unit) to Undead Lich - Frost Nova (Target unit of ability being cast)
Can this be fixed somehow, or I should go with the Pick every units and do actions blah, blah, blah?
Last edited: