- Joined
- May 11, 2009
- Messages
- 42
For me, this looks as a perfect set of triggers, plz tell me whats wrong T_T
-
Uses equip Copy
-
Events
- Unit - A unit Uses an item
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item being manipulated) Equal to ItemMelee[(Player number of (Owner of (Hero manipulating item)))]
- UnitLeader[(Player number of (Owner of (Hero manipulating item)))] Not equal to UnitMeleeLeader[(Player number of (Owner of (Hero manipulating item)))]
-
Then - Actions
- Set TempPoint1 = (Position of (Hero manipulating item))
- Set TempPoint2 = (Center of leaders hangout <gen>)
- Unit - Change ownership of (Hero manipulating item) to Neutral Hostile and Change color
- Unit - Move (Hero manipulating item) instantly to TempPoint2
- Unit - Change ownership of UnitMeleeLeader[(Player number of (Owner of (Hero manipulating item)))] to (Owner of (Hero manipulating item)) and Change color
- Unit - Move UnitMeleeLeader[(Player number of (Owner of (Hero manipulating item)))] instantly to TempPoint1, facing (Facing of (Hero manipulating item)) degrees
- Unit - Set life of UnitMeleeLeader[(Player number of (Owner of (Hero manipulating item)))] to (Life of (Hero manipulating item))
-
For each (Integer B) from 1 to 6, do (Actions)
-
Loop - Actions
- Hero - Give (Item carried by (Hero manipulating item) in slot (Integer B)) to UnitMeleeLeader[(Player number of (Owner of (Hero manipulating item)))]
-
Loop - Actions
- Set UnitLeader[(Player number of (Owner of (Hero manipulating item)))] = UnitMeleeLeader[(Player number of (Owner of (Hero manipulating item)))]
- Selection - Select UnitMeleeLeader[(Player number of (Owner of (Hero manipulating item)))] for (Owner of (Hero manipulating item))
- Hero - Modify Strength of UnitLeader[(Player number of (Owner of (Hero manipulating item)))]: Set to (Strength of (Hero manipulating item) (Exclude bonuses))
- Hero - Modify Agility of UnitLeader[(Player number of (Owner of (Hero manipulating item)))]: Set to (Agility of (Hero manipulating item) (Exclude bonuses))
- Hero - Modify Intelligence of UnitLeader[(Player number of (Owner of (Hero manipulating item)))]: Set to (Intelligence of (Hero manipulating item) (Exclude bonuses))
- Custom script: call RemoveLocation(udg_TempPoint1)
- Custom script: call RemoveLocation(udg_TempPoint2)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events