Alchemic Power Help


#1

My pet can’t touch the potion it just flies over and bounces back.

def onHear(event):
    # Find the nearest potion.
    potion = pet.findNearestByType("potion")
    # If the event's message is "Fetch"
    if event.message is "Fetch":
        pet.moveXY(62, 34)
    # Else (for any other messages):
    else:
        # Return the pet to the red mark.
        pet.moveXY(54, 34)

pet.on("hear", onHear)

#2

The pet should fetch potions, not collect them.


#3

Thanks that worked perfectly.