I have searched the forum for a good 60 minutes now. Didn't find the answers I wanted.
What I want to do is drop the item if the hero is already carrying an item with same custom value.
Now it always drops the item == meaning the hero can never carry an item with custom value of 1.
What I want to do is drop the item if the hero is already carrying an item with same custom value.
Now it always drops the item == meaning the hero can never carry an item with custom value of 1.
-
Weapon
-

Events
-


Unit - A unit Acquires an item
-
-

Conditions
-

Actions
-


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



If - Conditions
-




(Custom value of (Item being manipulated)) Equal to 1
-
-



Then - Actions
-




For each (Integer A) from 1 to 6, do (Actions)
-





Loop - Actions
-






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







If - Conditions
-








(Custom value of (Item being manipulated)) Equal to (Custom value of (Item carried by (Triggering unit) in slot (Integer A)))
-
-







Then - Actions
-








Hero - Drop (Item being manipulated) from (Triggering unit).
-








Game - Display to (All players) the text: |cffff0000Warning:|...
-
-







Else - Actions
-
-
-
-
-



Else - Actions
-
-
-



