极客战记-高山拉力

过不去的看看这个

方式/步调

  1. 1

    脚色

  2. 2

    装备

  3. 3

    方针

  4. 4

    默认代码

  5. 5

    代码

    # 逃离右边的地图    

    # 为了逃走的雪人,你必需让本身更快。    

    # 利用resetCooldown来施法更频仍    

    # manaBlast能帮我们清理道路    

    while True:    

        if hero.canCast("haste", hero):    

            hero.cast("haste", hero)    

        else:    

            cooldown = hero.getCooldown("haste")

            if cooldown!=0:

                hero.resetCooldown("haste")

        hero.move({'x': hero.pos.x+100, 'y': hero.pos.y})    

        if hero.pos.x>107:    

            hero.manaBlast()   

  6. 6

    过关

  • 发表于 2018-05-26 00:00
  • 阅读 ( 922 )
  • 分类:其他类型

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
联系我们:uytrv@hotmail.com 问答工具