http://dev.dota2.com/showthread.php?t=275228
- Changed Action_PickUpRune() to use the list of runes rather than an entity handle
- Fixed HasBuyback to only work on you on your teammates
- Removed UpgradeAbility() from the bot ability API
- Added unit script functions:
GetAbilityPoints()
获取技能点数
GetBaseDamage()
获取基础攻击
GetBaseDamageVariance()
获取基础攻击浮动范围(混沌骑士:?)
GetAttackRange()
获取攻击距离
GetAttackSpeed()
获取攻速
GetSecondsPerAttack()
获取“x秒一次攻击”
GetAttackPoint()
(不是很懂,攻击前摇?)
- Added global script functions:
GetTower() - takes a team and a tower number
通过队伍号和塔的编号获取防御塔句柄(TK表示中路一塔破了以后飞鞋不会飞到火锅了!)
GetBarracks() - takes a team and a barracks number
获取兵营句柄(参数同上)
GetLaneFrontAmount() - takes a team, a lane, and whether it should ignore towers, returns a value from 0 to 1
(需要测试)
GetLaneFrontLocation() - takes a team, a lane, and a delta distance from the current front, returns a location
(需要测试)
GetRuneSpawnLocation()
(需要测试)
- Added ability script functions:
技能充能点数相关?
GetInitialCharges()
GetCurrentCharges()
GetSecondaryCharges()
- Added constants:
TOWER_TOP_1
TOWER_TOP_2
TOWER_TOP_3
TOWER_MID_1
TOWER_MID_2
TOWER_MID_3
TOWER_BOT_1
TOWER_BOT_2
TOWER_BOT_3
TOWER_BASE_1
TOWER_BASE_2
BARRACKS_TOP_MELEE
BARRACKS_TOP_RANGED
BARRACKS_MID_MELEE
BARRACKS_MID_RANGED
BARRACKS_BOT_MELEE
BARRACKS_BOT_RANGED
RUNE_POWERUP_1
RUNE_POWERUP_2
RUNE_BOUNTY_1
RUNE_BOUNTY_2
RUNE_BOUNTY_3
RUNE_BOUNTY_4
- Changed Action_PickUpRune() to use the list of runes rather than an entity handle
- Fixed HasBuyback to only work on you on your teammates
- Removed UpgradeAbility() from the bot ability API
- Added unit script functions:
GetAbilityPoints()
获取技能点数
GetBaseDamage()
获取基础攻击
GetBaseDamageVariance()
获取基础攻击浮动范围(混沌骑士:?)
GetAttackRange()
获取攻击距离
GetAttackSpeed()
获取攻速
GetSecondsPerAttack()
获取“x秒一次攻击”
GetAttackPoint()
(不是很懂,攻击前摇?)
- Added global script functions:
GetTower() - takes a team and a tower number
通过队伍号和塔的编号获取防御塔句柄(TK表示中路一塔破了以后飞鞋不会飞到火锅了!)
GetBarracks() - takes a team and a barracks number
获取兵营句柄(参数同上)
GetLaneFrontAmount() - takes a team, a lane, and whether it should ignore towers, returns a value from 0 to 1
(需要测试)
GetLaneFrontLocation() - takes a team, a lane, and a delta distance from the current front, returns a location
(需要测试)
GetRuneSpawnLocation()
(需要测试)
- Added ability script functions:
技能充能点数相关?
GetInitialCharges()
GetCurrentCharges()
GetSecondaryCharges()
- Added constants:
TOWER_TOP_1
TOWER_TOP_2
TOWER_TOP_3
TOWER_MID_1
TOWER_MID_2
TOWER_MID_3
TOWER_BOT_1
TOWER_BOT_2
TOWER_BOT_3
TOWER_BASE_1
TOWER_BASE_2
BARRACKS_TOP_MELEE
BARRACKS_TOP_RANGED
BARRACKS_MID_MELEE
BARRACKS_MID_RANGED
BARRACKS_BOT_MELEE
BARRACKS_BOT_RANGED
RUNE_POWERUP_1
RUNE_POWERUP_2
RUNE_BOUNTY_1
RUNE_BOUNTY_2
RUNE_BOUNTY_3
RUNE_BOUNTY_4












