- Joined
- Oct 7, 2010
- Messages
- 30
Hello, i want to ban duplicate items in my map so that a player cannot acquire 2 of the same item on one hero. So far i have something like this
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item-type of (Item being manipulated)) Not equal to (Item-type of (Item carried by (Hero manipulating item) in slot 1))
- (Item-type of (Item being manipulated)) Not equal to (Item-type of (Item carried by (Hero manipulating item) in slot 2))
- (Item-type of (Item being manipulated)) Not equal to (Item-type of (Item carried by (Hero manipulating item) in slot 3))
- (Item-type of (Item being manipulated)) Not equal to (Item-type of (Item carried by (Hero manipulating item) in slot 4))
- (Item-type of (Item being manipulated)) Not equal to (Item-type of (Item carried by (Hero manipulating item) in slot 5))
- (Item-type of (Item being manipulated)) Not equal to (Item-type of (Item carried by (Hero manipulating item) in slot 6))
-
Then - Actions
- Do nothing
-
Else - Actions
- Item - Remove (Item being manipulated)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)