- Joined
- May 11, 2012
- Messages
- 2,108
Ok, so I created spell based on shadow strike.
I created A buff that goes with that spell.
Now, when I order dummy unit to cast that spell onto an enemy unit, it LAGS HORRIBLYYYYYYYYYYY!
I put debug message, and it casts only once, no infinite loop.
Here's the trigger
What the hell is the problem?
I created A buff that goes with that spell.
Now, when I order dummy unit to cast that spell onto an enemy unit, it LAGS HORRIBLYYYYYYYYYYY!
I put debug message, and it casts only once, no infinite loop.
Here's the trigger
-
Morrowind
-

Events
-


Game - damageEventTrigger becomes Equal to 1.00
-
-

Conditions
-


(target is A structure) Not equal to True
-


((Item carried by target of type Morrowind) is owned) Equal to True
-


(target belongs to an enemy of (Owner of source)) Equal to True
-


(target has buff Slowed (Morrowind Chill)) Not equal to True
-


(source is Magic Immune) Equal to False
-
-

Actions
-


Set TempPoint = (Position of source)
-


Unit - Create 1 Dummy Caster for (Owner of target) at TempPoint facing Default building facing degrees
-


Unit - Add Morrowind Chill to (Last created unit)
-


Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike source
-


Custom script: call RemoveLocation(udg_TempPoint)
-


Custom script: set udg_TempPoint = null
-
-

