- Joined
- Jun 24, 2009
- Messages
- 1,409
I made a spell based on wind walk. If the hero uses it, it creates a dummy unit that will cast the Item Illusion ability on the caster but nothing happens.
Because of a system the trigger is called elsewhere not with an event and condition so don't even mention that.
Because of a system the trigger is called elsewhere not with an event and condition so don't even mention that.
-
Mirror Image
- Events
- Conditions
-
Actions
- Set TempUnit = (Triggering unit)
- Set TempLoc = (Position of (Triggering unit))
- Set TempInt = (Player number of (Triggering player))
- Set TempInt2 = (Dexterity[TempInt] - 20)
- Unit - Create 1 Dummy for (Triggering player) at TempLoc facing (Facing of (Triggering unit)) degrees
- Unit - Add Mirror Image Dummy to (Last created unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Set level of Mirror Image Dummy for (Last created unit) to TempInt2
- Custom script: call IssueTargetOrderById(GetLastCreatedUnit() , 852274 , udg_TempUnit)
- Custom script: call RemoveLocation (udg_TempLoc)