Hi,
I have found a trigger for stacking items, but it doesn't work...
I tried several times to find the problem but i'm not skilled enough in this trigger things to find the problem on my own so i hope you can help me
here is the trigger:
I have found a trigger for stacking items, but it doesn't work...
I tried several times to find the problem but i'm not skilled enough in this trigger things to find the problem on my own so i hope you can help me
here is the trigger:
-
Unit Acquires Item
-

Events
-


Unit - A unit Acquires an item
-
-

Conditions
-


(Charges remaining in (Item being manipulated)) Not equal to 0
-
-

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
-






(Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to (Item-type of (Item being manipulated))
-






(Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) Less than (Item level of (Item carried by (Hero manipulating item) in slot (Integer A)))
-






(Item carried by (Hero manipulating item) in slot (Integer A)) Not equal to (Item being manipulated)
-
-





Then - Actions
-






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







If - Conditions
-








((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + (Charges remaining in (Item being manipulated))) Greater than (Item level of (Item being manipulated))
-
-







Then - Actions
-








Item - Set charges remaining in (Item being manipulated) to ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + ((Charges remaining in (Item being manipulated)) - (Item level of (Item being manipulated))))
-








Item - Set charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A)) to (Item level of (Item being manipulated))
-
-







Else - Actions
-








Item - Set charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A)) to ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + (Charges remaining in (Item being manipulated)))
-








Item - Remove (Item being manipulated)
-
-
-
-





Else - Actions
-
-
-
-
-

