Hello,I have problem, in mission Airdrop i don’t know how to complete this level.
This is my code:
def onSpawn (event):
while True:
item = hero.findNearestItem()
if item:
pet.moveXY(item.pos.x,item.pos.y)
pet.fetch(item)
while True:
enemy = hero.findNearestEnemy()
if enemy:
hero.attack(enemy)
pass
How to use pets, I have never done it before.
Can you help?Thank you.