极客战记-轰炸行动
1、角色
2、装备
3、提示
4、默认代码
5、代码
while True:
enemy = hero.findNearestEnemy()
if enemy:
o=enemy.pos.y-hero.pos.y
a=enemy.pos.x-hero.pos.x
hero.say(Math.atan2(o,a)*180/Math.PI)
6、运行
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。