Mã:Events Unit - A unit Spawns a summoned unit Conditions (Unit-type of (Summoned unit)) Equal to Misha Actions Set Bear = (Summoned unit) For each (Integer A) from 1 to 6, do (Actions) Loop - Actions Hero - Create (Item-type of Item[(Integer A)]) and give it to BearBear: biến unitMã:Events Unit - A unit Acquires an item Conditions (Hero manipulating item) Equal to Bear Actions For each (Integer A) from 1 to 6, do (Actions) Loop - Actions Set Item[(Integer A)] = (Item carried by (Hero manipulating item) in slot (Integer A))
Item: biến item, array 6(số slot trong inventory)
mình đã thử nhưng cái này phát sinh ra 2 vấn đề là khi summon lại item còn lại trong inventory của con gấu chỉ ở slot 1(số 7) , cùng lúc đó thì tất cả item trong hòm đồ lúc trước bị drop ra đất ( bao gồm cả item ở slot 1 ).Mong ai giúp mình về vấn đề nan giải này với :(

