- Joined
- Feb 15, 2008
- Messages
- 2,174
-
PassiveMirrorImage Copy Copy Copy
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


(Level of Passive MI for (Triggering unit)) Greater than 0
-
-

Actions
-


Set TempGroup = (Units owned by (Owner of (Triggering unit)) matching ((((Matching unit) is an illusion) Equal to True) and ((Level of Passive MI for (Matching unit)) Greater than 0)))
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Number of units in TempGroup) Less than 5
-
-



Then - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Triggering unit) is an illusion) Equal to False
-
-





Then - Actions
-






Set Chance = ((Level of Passive MI for (Triggering unit)) x 10)
-
-





Else - Actions
-






Set Chance = ((Level of Passive MI for (Triggering unit)) x 6)
-
-
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






Chance Greater than or equal to (Random integer number between 1 and 100)
-
-





Then - Actions
-






Set TempLoc00 = (Position of (Triggering unit))
-






Unit - Create 1 Dummy PASSIVE for (Owner of (Triggering unit)) at TempLoc00 facing 0.00 degrees
-






Unit - Add Inventory (Hero) to (Last created unit)
-






Hero - Create Item Passive MI and give it to (Last created unit)
-






Hero - Order (Last created unit) to use (Last created item) on (Triggering unit)
-






Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-






Custom script: call RemoveLocation(udg_TempLoc00)
-
-





Else - Actions
-
-
-



Else - Actions
-
-


Custom script: call DestroyGroup(udg_TempGroup)
-
-
Last edited:



