Can someone help me with my code, please?
# To grab the most gold quickly, just go after gold coins. while True: coins = hero.findItems() coinIndex = 0 # Wrap this into a loop that iterates over all coins. while coinIndex < len(coins): # Gold coins are worth 3. if coins.value == 3: # Only pick up gold coins. hero.moveXY(coins.pos.x, coins.pos.y) coinIndex += 1 pass
hero won’t move