dota2ai吧 关注:2,081贴子:31,191

回复:dota2 bot api更新

只看楼主收藏回复

1月13日更新
修正了Action_SwapItems函数能将任何物品交换到任何位置的错误。
添加了单位函数GetAttackDamage(),GetPrimaryAttribute()和GetAttributeValue()
添加了全局函数GetRoshanKillTime()。


IP属地:浙江17楼2017-01-14 19:17
回复
    感谢翻译


    IP属地:福建18楼2017-01-15 17:34
    回复
      1月19日bot api更新
      Bug修复
      修复GetManaRegen()以返回正确的值。
      修复Action_MoveToLocation()以更精确地移动到指定位置。
      修复Action_MoveToUnit()以正确工作。
      修复GetUnitList()以正确返回建筑物。
      修复了当您不使用bot脚本时使用dota_bot_reload_scripts时崩溃。
      UpdateLaneAssignments()现在期望得到一个关于分路的表。表中代表的英雄是GetTeamMember()函数返回的英雄。
      修复全局函数GetNeutralSpawners()返回错误(alternating?)阵营名称和位置的表的问题。
      随从
      增加了随从的概念,包括幻想,召唤单位,被控制的单位等。它包括任何在英雄控制下的单位,但不包括信使。
      在bot_ <foo> .lua中为随从的思考 - MinionThink(hMinionUnit)添加了脚本重写。它在单位被召唤出来时就会被调用一次。例如,如果你在bot_beastmaster.lua中实现它,当你的野猪和鹰被召唤时,这个函数就会被调用一次。
      可用于您的英雄的动作命令可在传入的hMinionUnit上使用。
      信使
      将函数Action_CourierDeliver()更改为Action_Courier(),它的参数为信使的句柄和信使的操作类型。
      添加了COURIER_ACTION_RETURN,COURIER_ACTION_SECRET_SHOP,COURIER_ACTION_STATE_ITEMS,COURIER_ACTION_TRANSFER_ITEMS,COURIER_ACTION_BURST和COURIER_ACTION_TAKE_AND_TRANSFER_ITEMS常量。
      添加了全局脚本函数GetNumCouriers(),GetCourier()和GetCourierState()。
      添加了COURIER_STATE_IDLE,COURIER_STATE_AT_BASE,COURIER_STATE_MOVING,COURIER_STATE_DELIVERING_ITEMS,COURIER_STATE_RETURNING_TO_BASE和COURIER_STATE_DEAD常量。
      其他新增函数
      现在全局函数GetUnitList()可以获取盟军/敌人的侦查守卫,并增加了UNIT_LIST_ALLIED_WARDS和UNIT_LIST_ENEMY_WARDS常量。
      添加了单位作用域函数GetNearbyBarracks()和GetNearbyShrines()。
      添加了单位作用域函数Action_UseShrine()。
      --使用小泉水
      添加了单位作用域函数Action_DisassembleItem()和Action_SetItemCombineLock()。
      --拆分物品,锁定物品
      添加了单位作用域函数Action_Ping()和GetMostRecentPing()。
      添加了单位作用域函数GetCurrentActiveAbility()。
      添加了单位作用域函数GetModifierStackCount()。
      添加了单位作用域函数GetBuybackCost()和GetBuybackCooldown()。
      添加了单位作用域函数GetLevel()。
      使单位单位作用域函数GetEstimatedDamageToTarget()函数对没有ai控制的单位(如小兵和塔)工作。
      添加了技能作用域函数CanBeDisassembled()和IsCombineLocked()函数。这些功能显然只适用于物品。
      注:dota_bot_reload_scripts经常让我的游戏崩溃,终于修复了。
      关于信使的函数现在似乎有很多问题


      IP属地:浙江19楼2017-01-20 14:01
      回复
        January 26 Bot Update
        Changed IsUsingAbility() unit bot script function to include actions that are queued due to the built-in bot execution delay, which allows you prevent trying to perform an action multiple times.
        Added HasQueuedAction() function to the bot script API.
        Added GetXPNeededToLevel(), GetBountyXP(), GetBountyGoldMin(), and GetBountyGoldMax() to the bot script API.
        Added IsTalent() function to the ability bot script API, and removed IsAttributeBonus().
        Added IsUltimate() function to the ability bot script API.
        Added GetShrineCooldown() and IsShrineHealing() to the global bot script API.
        Renamed GetModifier() to GetModifierName() for clarity.
        GetLocation() can now always be called on buildings.
        Fixed missing COURIER_ACTION_RETURN_STASH_ITEMS/COURIER_ACTION_TAKE_STASH_ITEMS constants
        Added GetShopLocation() global function to the bot script API.
        Added shop constants:
        SHOP_HOME
        SHOP_SIDE
        SHOP_SECRET
        SHOP_SIDE2
        SHOP_SECRET2
        Added ability target team constants:
        ABILITY_TARGET_TEAM_NONE
        ABILITY_TARGET_TEAM_FRIENDLY
        ABILITY_TARGET_TEAM_ENEMY
        Added ability target type constants:
        ABILITY_TARGET_TYPE_NONE
        ABILITY_TARGET_TYPE_HERO
        ABILITY_TARGET_TYPE_CREEP
        ABILITY_TARGET_TYPE_BUILDING
        ABILITY_TARGET_TYPE_COURIER
        ABILITY_TARGET_TYPE_OTHER (wards, etc)
        ABILITY_TARGET_TYPE_TREE
        ABILITY_TARGET_TYPE_BASIC (creep or courier)
        ABILITY_TARGET_TYPE_ALL (but not trees)
        Added ability target flag constants:
        ABILITY_TARGET_FLAG_NONE
        ABILITY_TARGET_FLAG_RANGED_ONLY
        ABILITY_TARGET_FLAG_MELEE_ONLY
        ABILITY_TARGET_FLAG_DEAD
        ABILITY_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES
        ABILITY_TARGET_FLAG_NOT_MAGIC_IMMUNE_ALLIES
        ABILITY_TARGET_FLAG_INVULNERABLE
        ABILITY_TARGET_FLAG_FOW_VISIBLE
        ABILITY_TARGET_FLAG_NO_INVIS
        ABILITY_TARGET_FLAG_NOT_ANCIENTS
        ABILITY_TARGET_FLAG_PLAYER_CONTROLLED
        ABILITY_TARGET_FLAG_NOT_DOMINATED
        ABILITY_TARGET_FLAG_NOT_SUMMONED
        ABILITY_TARGET_FLAG_NOT_ILLUSIONS
        ABILITY_TARGET_FLAG_NOT_ATTACK_IMMUNE
        ABILITY_TARGET_FLAG_MANA_ONLY
        ABILITY_TARGET_FLAG_CHECK_DISABLE_HELP
        ABILITY_TARGET_FLAG_NOT_CREEP_HERO
        ABILITY_TARGET_FLAG_OUT_OF_WORLD
        ABILITY_TARGET_FLAG_NOT_NIGHTMARED
        ABILITY_TARGET_FLAG_PREFER_ENEMIES
        附上网址:
        1月26日更新:http://dev.dota2.com/showthread.php?t=276585


        IP属地:广东来自手机贴吧20楼2017-01-28 06:05
        回复
          1月26日Bot更新
          更改IsUsingAbility()单位函数,以包括由于内置bot执行延迟而排队的操作,这可以防止重复尝试执行操作。
          添加了全局函数HasQueuedAction()函数。
          添加了全局函数GetXPNeededToLevel(),GetBountyXP(),GetBountyGoldMin()和GetBountyGoldMax()。
          添加了技能函数IsTalent(),并删除了IsAttributeBonus()。
          添加了技能函数IsUltimate()。
          添加了全局函数GetShrineCooldown()和IsShrineHealing()。
          为了清楚起见,将GetModifier()重命名为GetModifierName()。
          GetLocation()现在总是可以在建筑物上调用。
          修正了缺少的COURIER_ACTION_RETURN_STASH_ITEMS / COURIER_ACTION_TAKE_STASH_ITEMS个常量
          添加了全局函数GetShopLocation()。
          添加商店常量:
          SHOP_HOME
          SHOP_SIDE
          SHOP_SECRET
          SHOP_SIDE2
          SHOP_SECRET2
          添加技能目标团队常量:
          ABILITY_TARGET_TEAM_NONE
          ABILITY_TARGET_TEAM_FRIENDLY
          ABILITY_TARGET_TEAM_ENEMY
          添加技能目标类型常量:
          ABILITY_TARGET_TYPE_NONE
          ABILITY_TARGET_TYPE_HERO
          ABILITY_TARGET_TYPE_CREEP
          ABILITY_TARGET_TYPE_BUILDING
          ABILITY_TARGET_TYPE_COURIER
          ABILITY_TARGET_TYPE_OTHER(守卫等)
          ABILITY_TARGET_TYPE_TREE
          ABILITY_TARGET_TYPE_BASIC(小兵或信使)
          ABILITY_TARGET_TYPE_ALL(不包括树)
          添加技能目标特性常量:
          ABILITY_TARGET_FLAG_NONE
          ABILITY_TARGET_FLAG_RANGED_ONLY
          ABILITY_TARGET_FLAG_MELEE_ONLY
          ABILITY_TARGET_FLAG_DEAD
          ABILITY_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES
          ABILITY_TARGET_FLAG_NOT_MAGIC_IMMUNE_ALLIES
          ABILITY_TARGET_FLAG_INVULNERABLE
          ABILITY_TARGET_FLAG_FOW_VISIBLE
          ABILITY_TARGET_FLAG_NO_INVIS
          ABILITY_TARGET_FLAG_NOT_ANCIENTS
          ABILITY_TARGET_FLAG_PLAYER_CONTROLLED
          ABILITY_TARGET_FLAG_NOT_DOMINATED
          ABILITY_TARGET_FLAG_NOT_SUMMONED
          ABILITY_TARGET_FLAG_NOT_ILLUSIONS
          ABILITY_TARGET_FLAG_NOT_ATTACK_IMMUNE
          ABILITY_TARGET_FLAG_MANA_ONLY
          ABILITY_TARGET_FLAG_CHECK_DISABLE_HELP
          ABILITY_TARGET_FLAG_NOT_CREEP_HERO
          ABILITY_TARGET_FLAG_OUT_OF_WORLD
          ABILITY_TARGET_FLAG_NOT_NIGHTMARED
          ABILITY_TARGET_FLAG_PREFER_ENEMIES


          IP属地:浙江22楼2017-01-28 14:45
          收起回复
            General Changes:
            Added a few more courier actions: COURIER_ACTION_ENEMY_SECRET_SHOP, COURIER_ACTION_SIDE_SHOP, COURIER_ACTION_SIDE_SHOP2.
            Fixed crash caused by asking for a courier that doesn't exist.
            Couriers who are idle and in range of the fountain are now in state COURIER_STATE_AT_BASE. If they're idle away from the fountain they're in COURIER_STATE_IDLE.
            Action_MoveToLocation() now works on couriers.
            Action_PurchaseItem() now works for couriers (useful for buying items at the Secret Shop, for example).
            Bots running script won't fall back to the default Glyph and Courier Boost behaviors.
            Added SetActionQueuieng() function to the bot script API for specifying whether Action_* calls should be queued or immediately executed. Just noticed I misspelled Queueing. Dammit.
            Added GetEstimatedDamageToTarget( hTarget, fDuration, iDamageTypes) function to the ability bot script API for asking how much damage the ability would do to a target. Does NOT factor in being able to cast the ability multiple times in the specified interval, and does not take into account whether the ability is currently castable.
            Added GetTimeOfDay() function to the global bot script API.
            Added GetNearbyLaneCreeps() and GetNearbyNeutralCreeps() functions to the unit bot script API.
            Significant change to how heroes and script handles work:
            GetTeamMember() now only works for teammates. No longer has a nTeam parameter.
            GetUnitList() now only works for visible units (used to always return all heroes).
            When a team loses visibility of an enemy hero, its script handle is destroyed.
            When an enemy hero creates illusions, its script handle is destroyed.
            Handles for enemy heroes are (re-)created as needed.
            Added IsHeroAlive( iPlayerID ) and GetHeroLevel( iPlayerID ) functions to the global bot script API.
            Added GetHeroLastSeenInfo( iPlayerID ) to the global bot script API. Returns a table of the hero location ('location') and time since they've last been seen ('time').
            Removed GetLastSeenLocation() and GetTimeSinceLastSeen() functions from the unit bot script API.


            IP属地:湖南23楼2017-02-01 10:45
            收起回复
              一般更新:
              添加了更多信使操作:
              COURIER_ACTION_ENEMY_SECRET_SHOP,COURIER_ACTION_SIDE_SHOP,COURIER_ACTION_SIDE_SHOP2。
              修复了由于调用不存在的信使而导致的崩溃。
              在泉水范围内闲置的信使现在处于COURIER_STATE_AT_BASE状态。如果他们在泉水以外的位置闲置,那么处于COURIER_STATE_IDLE。
              Action_MoveToLocation()现在可以在信使上使用。
              Action_PurchaseItem()现在适用于信使(例如,用于在秘密商店购买物品)。
              正在运行的机器人脚本不会回退到默认的Glyph和Courier Boost行为。
              添加了全局函数SetActionQueuieng(),用于标识Action_ *调用是应该排队还是立即执行。(刚刚注意到queueing拼写错了)
              添加了技能函数GetEstimatedDamageToTarget(hTarget,fDuration,iDamageTypes)返回技能会对目标做多少伤害。不考虑能否在指定的时间间隔内多次施放技能,也不考虑技能是否目前是可施放的。
              添加了全局函数GetTimeOfDay()。
              添加了单位函数GetNearbyLaneCreeps()和GetNearbyNeutralCreeps()。
              对英雄和脚本处理方式的重大更新:
              GetTeamMember()现在只适用于队友。 不再有nTeam参数。
              GetUnitList()现在只适用于可见单位(以前总是返回所有英雄)。
              当敌方英雄对一个队伍不可见时,其脚本句柄被销毁。
              当敌方英雄创造幻象时,其脚本句柄被破坏。
              根据需要(重新)创建敌人英雄的句柄。
              添加了全局函数添加了IsHeroAlive(iPlayerID)和GetHeroLevel(iPlayerID)。
              添加了全局函数GetHeroLastSeenInfo(iPlayerID)。 返回英雄最后的位置和最后被看见的时间表。
              从单位函数中删除了GetLastSeenLocation()和GetTimeSinceLastSeen()。


              IP属地:浙江24楼2017-02-01 14:28
              回复
                February 1 Bot Update
                Fixed bug in the destruction of handles that was causing widespread mayhem.
                Fixed spelling of SetActionQueueing().
                Added GetAbilityInSlot() function to the unit bot script API.
                Added GetCooldown() function to the ability bot script API.
                Please let me know if you see any more craziness with handles, I believe it should be fixed now.


                IP属地:广东25楼2017-02-02 09:35
                回复
                  2月1日bot更新
                  修复了销毁句柄引起的广泛崩溃的错误
                  修复了SetActionQueueing()的拼写错误。
                  添加了单位函数GetAbilityInSlot()。
                  添加了技能函数GetCooldown()。
                  如果你发现了其他由句柄引发的错误,请及时联系我,这些错误应该已经被修复。
                  ps:一系列错误都是由于昨天的更新引起的,我认为这有些矫枉过正了...尽管ai只能获取和人类玩家相同的信息,但这个改动将增加编写ai脚本的工作量,比如需要增加大量判断句柄是否仍有效的语句。
                  (当敌方英雄对一个队伍不可见时,其脚本句柄被销毁。
                  当敌方英雄创造幻象时,其脚本句柄被破坏。
                  根据需要(重新)创建敌人英雄的句柄。)


                  IP属地:浙江26楼2017-02-02 11:24
                  回复
                    2月2日bot更新
                    添加了全局函数GetHeroKills(),GetHeroDeaths()和GetHeroAssists。 参数是PlayerID。
                    修复IsHeroAlive()。
                    修复IsCourierAvailable(),现在当信使闲置在基地时能正常工作。


                    IP属地:浙江27楼2017-02-03 12:52
                    回复
                      2月3日更新
                      修复IsHeroAlive()
                      为了清楚起见,将GetActualDamage()重命名为GetActualIncomingDamage()。
                      添加了ATTRIBUTE_INVALID,ATTRIBUTE_STRENGTH,ATTRIBUTE_AGILITY和ATTRIBUTE_INTELLECT常量。
                      GetMostRecentPing现在返回一个具有被命名(time,location,normal_ping)的表。


                      IP属地:浙江28楼2017-02-07 16:44
                      回复
                        2月6日bot更新
                        修复了GetUnitList()函数返回不正确单位句柄的问题。


                        IP属地:浙江29楼2017-02-07 16:45
                        回复
                          一般变化:
                          在hero_selection.lua中添加了对GetBotNames()函数的支持,它可以返回机器人已选择英雄名字的表。bot的姓名将成为后缀。
                          添加了全局函数IsLocationVisible()。
                          添加了全局函数GetGlyphCooldown()
                          添加了单位函数GetRemainingLifespan()。
                          添加了单位函数GetNetWorth()。
                          添加了单位函数GetLastHits()和GetDenies()。
                          添加了单位函数GetModifierRemainingDuration()。
                          修复集火目标的进攻力量的错误计算。
                          GetOffensivePower()和GetRawOffensivePower()将会返回更平稳的数字。
                          GetHeroLastSeenInfo()现在将返回一个有效的表,包括那些从未出现的英雄,而不是nil。
                          修复GetStunDuration(),GetSlowDuration()以考虑你是否有足够的魔法来使用。
                          更新技能加点至7.02版本。
                          添加了ABILITY_BEHAVIOR_ *常量。
                          添加了GLYPH_COOLDOWN常量。
                          操作队列更改
                          对机器人如何管理他们的行动做了重大的改变。现在Action函数将有3个形式:
                          Action_AttackMove
                          ActionPush_AttackMove
                          ActionQueue_AttackMove
                          Action_AttackUnit
                          ActionPush_AttackUnit
                          ActionQueue_AttackUnit
                          Action_DropItem
                          ActionPush_DropItem
                          ActionQueue_DropItem
                          Action_MoveToLocation
                          ActionPush_MoveToLocation
                          ActionQueue_MoveToLocation
                          Action_MoveToUnit
                          ActionPush_MoveToUnit
                          ActionQueue_MoveToUnit
                          Action_PickUpItem
                          ActionPush_PickUpItem
                          ActionQueue_PickUpItem
                          Action_PickUpRune
                          ActionPush_PickUpRune
                          ActionQueue_PickUpRune
                          Action_UseAbility
                          ActionPush_UseAbility
                          ActionQueue_UseAbility
                          Action_UseAbilityOnEntity
                          ActionPush_UseAbilityOnEntity
                          ActionQueue_UseAbilityOnEntity
                          Action_UseAbilityOnLocation
                          ActionPush_UseAbilityOnLocation
                          ActionQueue_UseAbilityOnLocation
                          Action_UseAbilityOnTree
                          ActionPush_UseAbilityOnTree
                          ActionQueue_UseAbilityOnTree
                          Action_UseShrine
                          ActionPush_UseShrine
                          ActionQueue_UseShrine
                          ActionPush_Delay(用于置顶或排队其他操作)
                          ActionQueue_Delay
                          这些形式允许您与操作队列交互。任何ActionPush_形式都会将指定的操作设置为当前活动操作,但现有操作在完成时将恢复。 ActionQueue_允许您按顺序排列多个操作。现有的Action_函数将完全清除队列,并将指定的操作设置为活动操作。
                          例如,如果你这样做:
                          Action_MoveTo(X)
                          ActionPush_UseAbility(A)
                          ActionPush_UseAbility(B)
                          ActionQueue_UseAbility(C)
                          你的bot将UseAbility B,UseAbility A,MoveTo X和UseAbility C.
                          每个函数后,队列将如下所示:
                          X
                          A X
                          B A X
                          B A X C
                          另一方面,如果你这样做:
                          Action_MoveTo(X)
                          ActionPush_UseAbility(A)
                          Action_MoveTo(Y)
                          你的bot将简单地MoveTo Y,因为它在执行时清除队列。
                          另外,一些Action_函数根本不与队列交互,并且简单地立即执行。它们已重命名为具有ActionImmedate_前缀:
                          ActionImmediate_Buyback
                          ActionImmediate_Chat
                          ActionImmediate_Courier
                          ActionImmediate_DisassembleItem
                          ActionImmediate_Glyph
                          ActionImmediate_LevelAbility
                          ActionImmediate_Ping
                          ActionImmediate_PurchaseItem
                          ActionImmediate_SellItem
                          ActionImmediate_SetItemCombineLock
                          ActionImmediate_SwapItems
                          并且与此更改相关的API有一些修改:
                          删除了单位函数HasQueuedAction()。
                          删除了单位函数SetActionQueueing()。
                          添加了NumQueuedActions()和GetQueuedActionType()


                          IP属地:浙江30楼2017-02-10 13:32
                          收起回复
                            针对今天更新过多,贴上楼上的英文原文以便大家对照:
                            February 9 Bot UpdateGeneral Changes:
                            Added support for a GetBotNames() function in hero_selection.lua which can return a table of names that the bots will pick from. Bots using names from this will have (Bot) postfixed to their name.
                            Added IsLocationVisible() function to the global bot script API.
                            Added GetGlyphCooldown() function to the global bot script API
                            Added GetRemainingLifespan() function to the unit bot script API.
                            Added GetNetWorth() function to the unit bot script API.
                            Added GetLastHits() and GetDenies() functions to the unit bot script API.
                            Added GetModifierRemainingDuration() function to the unit bot script API.
                            Fixed bad calculation in the offensive power of Focus Fire (off by a factor of 100).
                            Added some smoothing to GetOffensivePower() and GetRawOffensivePower().
                            GetHeroLastSeenInfo() will now return a valid table when you haven't seen the hero yet, rather than nil.
                            Fixed GetStunDuration(), GetSlowDuration() to take into account whether you have mana to cast.
                            Updated builds for 7.02.
                            Added ABILITY_BEHAVIOR_* constants.
                            Added GLYPH_COOLDOWN constant.
                            Action Queue Changes
                            Significant changes have been made to how bots manage their actions. There are now three variants of a number of Action functions:
                            Action_AttackMove
                            ActionPush_AttackMove
                            ActionQueue_AttackMove
                            Action_AttackUnit
                            ActionPush_AttackUnit
                            ActionQueue_AttackUnit
                            Action_DropItem
                            ActionPush_DropItem
                            ActionQueue_DropItem
                            Action_MoveToLocation
                            ActionPush_MoveToLocation
                            ActionQueue_MoveToLocation
                            Action_MoveToUnit
                            ActionPush_MoveToUnit
                            ActionQueue_MoveToUnit
                            Action_PickUpItem
                            ActionPush_PickUpItem
                            ActionQueue_PickUpItem
                            Action_PickUpRune
                            ActionPush_PickUpRune
                            ActionQueue_PickUpRune
                            Action_UseAbility
                            ActionPush_UseAbility
                            ActionQueue_UseAbility
                            Action_UseAbilityOnEntity
                            ActionPush_UseAbilityOnEntity
                            ActionQueue_UseAbilityOnEntity
                            Action_UseAbilityOnLocation
                            ActionPush_UseAbilityOnLocation
                            ActionQueue_UseAbilityOnLocation
                            Action_UseAbilityOnTree
                            ActionPush_UseAbilityOnTree
                            ActionQueue_UseAbilityOnTree
                            Action_UseShrine
                            ActionPush_UseShrine
                            ActionQueue_UseShrine
                            ActionPush_Delay (new action for pushing or queuing a delay between other actions)
                            ActionQueue_Delay
                            These variants allow you to interact with the action queue. Any of the ActionPush_ variants will set the specified action as the currently active action, but existing action will resume when it completes. ActionQueue_ allow you to queue a number of actions in sequence. The existing Action_ functions will clear the queue entirely and set the specified action as the active action.
                            So for example, if you did this:
                            Action_MoveTo( X )
                            ActionPush_UseAbility( A )
                            ActionPush_UseAbility( B )
                            ActionQueue_UseAbility( C )
                            Your bot will UseAbility B, UseAbility A, MoveTo X, and UseAbility C.
                            After each function, the queue will look like this:
                            X
                            A X
                            B A X
                            B A X C
                            On the other hand, if you did this:
                            Action_MoveTo( X )
                            ActionPush_UseAbility( A )
                            Action_MoveTo( Y )
                            Your bot will simply MoveTo Y, because it clears the queue when executed.
                            Additionally, some of the Action_ functions don't interact with the queue at all, and are simply immediately executed. They have been renamed to have a ActionImmedate_ prefix:
                            ActionImmediate_Buyback
                            ActionImmediate_Chat
                            ActionImmediate_Courier
                            ActionImmediate_DisassembleItem
                            ActionImmediate_Glyph
                            ActionImmediate_LevelAbility
                            ActionImmediate_Ping
                            ActionImmediate_PurchaseItem
                            ActionImmediate_SellItem
                            ActionImmediate_SetItemCombineLock
                            ActionImmediate_SwapItems
                            And there were some revisions to the API related to this change:
                            Removed HasQueuedAction() from the unit bot script API.
                            Removed SetActionQueueing() from the unit bot script API.
                            Added NumQueuedActions() and GetQueuedActionType


                            IP属地:广东31楼2017-02-10 19:17
                            回复
                              February 10 Bot Update
                              Fixed not being able to MoveToUnit if the unit wasn't a building.
                              Fixed MoveToLocation stalling out if it was called too frequently.
                              Fixed a number of Action_* functions stalling if they were called too frequently.
                              Fixed Action_UseShrine() not causing the bots to actually use the shrine.
                              2月10日bot更新
                              修复当moveToUnit()的目标不是一个建筑物时失效的错误。
                              修复当MoveToLocation()被调用太频繁时失效的错误。
                              修复当一些Action_ *()被调用太频繁时失效的错误。
                              修复Action_UseShrine()不会使机器人使用小泉水的错误。


                              IP属地:浙江32楼2017-02-11 23:06
                              回复