若是你卡在这里了,那么看看这个攻略吧

思绪1,简单粗暴,不要怂,就是怼,装备好就是可觉得所欲为
- 1
选择英雄和编程说话

- 2
选择装备

- 3
写代码
while True:
enemy = hero.findNearestEnemy()
if enemy:
hero.attack(enemy)

- 4
运行

思绪2,团队合作,沉着阐发
- 1
选择英雄和编程说话

- 2
选择装备

- 3
写代码
# 杀失落所有进攻的食人魔
# 利用旗子远离那些危险的食人魔
def xx():
while True:
enemy = hero.findNearestEnemy()
if enemy:
while True:
hero.attack(enemy)
if enemy.health<0:
break
else:
break
while True:
enemy = hero.findNearestEnemy()
if enemy:
#if enemy.type!="munchkin" and enemy.type!="ogre" and enemy.type!="scout" and enemy.type!="shaman":
#hero.say(enemy.type)
if hero.time>30 and (enemy.type=="shaman" or enemy.type=="thrower"):
hero.say("我得跑曩昔打长途了")
xx()
elif hero.pos.x<48:
hero.moveXY(48,26)
hero.shield()

- 4
运行









