it still does the same thing. here’s the code:
while True:
coins = hero.findItems()
i = 0
while i < len(coins):
coinA = coins[i]
j = 0
k = 0
while j < len(coins):
coinB = coins[j]
if (coinA.value == coinB.value) and (i != j):
break
j += 1
if k == 0:
hero.move(coinA.pos)
i += 1