Hi,
I’m working through the level in Python and even though my code seems right I cannot get the chest to open. I’m not sure what’s wrong. Could it be a bug in the level? or have I missed something in the code.
Thanks.
while True:
nearestEnemy = hero.findNearestEnemy()
distance = hero.distanceTo(nearestEnemy)
if distance < 10:
hero.cleave(nearestEnemy)
else:
hero.attack("Chest")