安息之云山峰 卡在第38关 rectangle formation
codecombat吧
全部回复
仅看楼主
level 1
yxytz520 楼主
2017年08月25日 03点08分 1
level 1
yxytz520 楼主
我已经搞定了。
#Command the last built unit "move" by using the x/y variables:
hero.command(lastUnit,"move",{'x':x,'y':y})
意思是让英雄使用命令让建造的士兵移动到相应的坐标上。我开始以为是让士兵去守卫(“defend”)。结果搞了半天。
希望对你过这关有帮助。
2017年08月25日 04点08分 2
level 1
兄弟 “拟态攻击” 怎么过
suspect = hero.findNearest(hero.findFriends())
返回的是字符串吧,,,,不是数组没办法比较
2017年08月26日 12点08分 3
1