- Joined
- Jan 6, 2009
- Messages
- 848
I'm getting really ANGREH! at this trigger, as everytime i try to test this spell trigger, it causes a fatal error, and closes wc3. Could someone experienced please tell me why this bugs?
-
Blink Burst
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Blink Burst
-
Actions
- Custom script: local real udg_Distance2
- Custom script: local real udg_Angle
- Custom script: local integer udg_Distance
- Custom script: local location udg_Point
- Set Point = (Target point of ability being cast)
- Set Angle = (Angle from (Position of (Triggering unit)) to Point)
- Set Distance2 = (Distance between (Position of (Triggering unit)) and Point)
- Set Distance = (Integer((Distance2 / 100.00)))
-
For each (Integer A) from 1 to Distance, do (Actions)
-
Loop - Actions
- Set Distance2 = (Distance2 + 100.00)
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by Distance2 towards Angle degrees) facing Default building facing degrees
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Add Flame Strike (Neutral Hostile) to (Last created unit)
- Unit - Order (Last created unit) to Human Blood Mage - Flame Strike (Position of (Last created unit))
-
Loop - Actions
- Custom script: set udg_Point = null
-
Events