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