- Joined
- Jan 4, 2010
- Messages
- 67
-
´Upgrade Item
-

Events
-


Unit - A unit Begins research
-
-

Conditions
-

Actions
-


Player Group - Pick every player in (All players matching ((Owner of (Triggering unit)) Not equal to Neutral Hostile)) and do (Actions)
-



Loop - Actions
-




Unit Group - Pick every unit in (Units owned by (Picked player) of type Troll) and do (Actions)
-





Loop - Actions
-






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







If - Conditions
-








(Item-type of (Item carried by (Picked unit) in slot 1)) Equal to Potion of Healing
-
-







Then - Actions
-








Custom script: call IssueImmediateOrderById(GetTriggerUnit(), 1378889776)
-








Wait 0.01 seconds
-








Skip remaining actions
-
-







Else - Actions
-
-






Wait 10.00 seconds
-






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







If - Conditions
-








(Item-type of (Item carried by (Picked unit) in slot 1)) Equal to Ancient Figurine
-
-







Then - Actions
-








Item - Remove (Item carried by (Picked unit) in slot 1)
-








Wait 0.01 seconds
-








Hero - Create Ancient Figurine +6 and give it to (Picked unit)
-
-







Else - Actions
-
-
-
-
-
-
-
PS: this is not the full code the last rows is copys of the 8 last rows here.




