Skip to content

Commit

Permalink
v1.5h update
Browse files Browse the repository at this point in the history
1. Update all hero talent building and ability building to the latest version.
  • Loading branch information
adamqqqplay committed Oct 4, 2018
1 parent ed362be commit 2dff605
Show file tree
Hide file tree
Showing 87 changed files with 356 additions and 306 deletions.
18 changes: 17 additions & 1 deletion RChangeLOG_EN.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,4 +277,20 @@ v1.5f(2018.5.16) commit by zmcmcc
1. Added new heroes Tusk, Shredder and Furion.
2. Optimized ability usage of TA, QoP, Underlord, Disruptor, Wind Runner, Sniper, NA and Drow Ranger.
3. FIxed some bugs.
4. Updated v7.15 bounty runes.
4. Updated v7.15 bounty runes.
V1.5g (2018.6.6)
1. Fixes the issue that Dazzle is not able to use 3rd ability shadow waves at times.
2. Fixed the issue that Broodmother, Earth spirit, Faceless void, Slark sometimes stuck in the woods.
3. Fixed the issue that prophets could not use 1st ability and 4nd ability.
4. Fixed the issue that the illusions of some heroes (Arc warden) would buy back.
5. Fixed a problem where kunkka may not be able to use abilities.
6. Fixed possible problems with Naga siren.
7. Fixed the issue that the Timber could not use skills
8. Fixed the issue that the Templar Assassins could not use the ultimate ability.
9. Try to fix the problem that Troll warlord will not be able to use abilities properly.
10. Optimize the useage of Weaver's ultimate ability, and now it will use this ability to offset a lot of damage.
11. Fixed the problem of bristleback can not purchasing items.
12. Add Invoker's position to the middle to fix the problem.
13. Now AI will buy more TP and dust.
V1.5h(2018.10.4)
1. Update all hero talent building and ability building to the latest version.
18 changes: 17 additions & 1 deletion RChangeLOG_ZH_CN.txt
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,20 @@ v1.5f(2018.5.15) commit by zmcmcc
1. 加入了新英雄巨牙海民, 伐木机和先知。
2. 优化了圣堂刺客, 痛苦女王, 孽主, 干扰者, 风行者, 火枪, 司夜刺客, 卓尔游侠的技能使用。
3. 修复了一些物品bug。
4. 更新了7.15赏金符。
4. 更新了7.15赏金符。
v1.5g(2018.6.6)
1. 修复了戴泽有时不能正常使用3技能暗影波的问题。
2. 修复了育母蜘蛛,大地之灵,虚空假面,斯拉克有时会被卡在树林里的问题。
3. 修复了先知不能使用1技能发芽和大招的问题。
4. 修复了有些英雄(天穹守望者)的幻象会买活的问题。
5. 修复了昆卡可能无法使用技能的问题。
6. 修复了娜迦海妖可能存在的问题。
7. 修复了伐木机无法使用技能的问题。
8. 修复了圣堂刺客无法使用大招的问题。
9. 尝试修复巨魔战将不能正常使用技能的问题。
10. 优化编织者大招的使用,现在它会使用该技能来抵消大量伤害。
11. 修复了钢背兽不购买装备的问题。
12. 将卡尔的定位加入中路,以修复辅助抢中的问题。
13. 现在AI会更多地购买TP、显影之尘。
v1.5h(2018.10.4)
1.更新所有英雄的天赋和技能加点至最新版本。
4 changes: 2 additions & 2 deletions ability_item_usage_abaddon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ local TalentTree={
return Talents[1]
end,
function()
return Talents[3]
return Talents[4]
end,
function()
return Talents[6]
end,
function()
return Talents[8]
return Talents[7]
end
}
--------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions ability_item_usage_abyssal_underlord.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local AbilityToLevelUp=
Abilities[3],
Abilities[1],
Abilities[1],
Abilities[3],
Abilities[2],
Abilities[1],
Abilities[2],
Abilities[1],
Expand All @@ -30,7 +30,7 @@ local AbilityToLevelUp=
"talent",
Abilities[2],
Abilities[4],
Abilities[2],
Abilities[3],
Abilities[3],
"talent",
Abilities[3],
Expand Down
14 changes: 7 additions & 7 deletions ability_item_usage_alchemist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ local AbilityToLevelUp=
{
Abilities[3],
Abilities[1],
Abilities[3],
Abilities[1],
Abilities[3],
Abilities[1],
Abilities[4],
Abilities[2],
Abilities[1],
Abilities[2],
Abilities[3],
Abilities[3],
"talent",
Abilities[2],
Abilities[4],
Abilities[2],
Abilities[3],
Abilities[2],
"talent",
Abilities[3],
Abilities[2],
"nil",
Abilities[4],
"nil",
Expand All @@ -50,13 +50,13 @@ local TalentTree={
return Talents[2]
end,
function()
return Talents[3]
return Talents[4]
end,
function()
return Talents[6]
end,
function()
return Talents[8]
return Talents[7]
end
}

Expand Down
4 changes: 2 additions & 2 deletions ability_item_usage_ancient_apparition.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ local TalentTree={
return Talents[4]
end,
function()
return Talents[5]
return Talents[6]
end,
function()
return Talents[8]
return Talents[7]
end
}

Expand Down
6 changes: 3 additions & 3 deletions ability_item_usage_antimage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ local AbilityToLevelUp=

local TalentTree={
function()
return Talents[1]
return Talents[2]
end,
function()
return Talents[3]
return Talents[4]
end,
function()
return Talents[6]
end,
function()
return Talents[8]
return Talents[7]
end
}

Expand Down
16 changes: 11 additions & 5 deletions ability_item_usage_arc_warden.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
--------------------------------------
-- General Initialization
--------------------------------------
if GetBot():IsInvulnerable() or not GetBot():IsHero() or not string.find(GetBot():GetUnitName(), "hero") or GetBot():IsIllusion() then
return;
end

local utility = require( GetScriptDirectory().."/utility" )
require(GetScriptDirectory() .. "/ability_item_usage_generic")

local debugmode=false
local npcBot = GetBot()
local npcBot = nil;
local Talents ={}
local Abilities ={}
local AbilitiesReal ={}
Expand All @@ -18,15 +22,15 @@ ability_item_usage_generic.InitAbility(Abilities,AbilitiesReal,Talents)

local AbilityToLevelUp=
{
Abilities[1],
Abilities[3],
Abilities[3],
Abilities[1],
Abilities[3],
Abilities[4],
Abilities[1],
Abilities[3],
Abilities[1],
Abilities[4],
Abilities[1],
Abilities[3],
Abilities[3],
"talent",
Abilities[2],
Abilities[4],
Expand Down Expand Up @@ -520,6 +524,8 @@ end

function AbilityUsageThink()

if npcBot == nil then npcBot = GetBot(); end

-- Check if we're already using an ability
if ( npcBot:IsUsingAbility() or npcBot:IsChanneling() or npcBot:IsSilenced() )
then
Expand Down
8 changes: 4 additions & 4 deletions ability_item_usage_axe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ ability_item_usage_generic.InitAbility(Abilities,AbilitiesReal,Talents)

local AbilityToLevelUp=
{
Abilities[2],
Abilities[3],
Abilities[1],
Abilities[3],
Abilities[2],
Abilities[1],
Abilities[3],
Abilities[4],
Abilities[3],
Expand All @@ -47,7 +47,7 @@ local AbilityToLevelUp=

local TalentTree={
function()
return Talents[1]
return Talents[2]
end,
function()
return Talents[3]
Expand All @@ -56,7 +56,7 @@ local TalentTree={
return Talents[5]
end,
function()
return Talents[7]
return Talents[8]
end
}

Expand Down
14 changes: 7 additions & 7 deletions ability_item_usage_bane.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ ability_item_usage_generic.InitAbility(Abilities,AbilitiesReal,Talents)

local AbilityToLevelUp=
{
Abilities[1],
Abilities[3],
Abilities[2],
Abilities[3],
Abilities[2],
Abilities[1],
Abilities[2],
Abilities[4],
Abilities[2],
Abilities[1],
Abilities[1],
"talent",
Abilities[1],
Abilities[4],
Abilities[3],
Abilities[3],
"talent",
Abilities[3],
Abilities[4],
Abilities[1],
Abilities[1],
"talent",
Abilities[1],
"nil",
Abilities[4],
"nil",
Expand Down
2 changes: 1 addition & 1 deletion ability_item_usage_batrider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ local AbilityToLevelUp=

local TalentTree={
function()
return Talents[1]
return Talents[2]
end,
function()
return Talents[4]
Expand Down
8 changes: 4 additions & 4 deletions ability_item_usage_beastmaster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ ability_item_usage_generic.InitAbility(Abilities,AbilitiesReal,Talents)
local AbilityToLevelUp=
{
Abilities[1],
Abilities[3],
Abilities[2],
Abilities[1],
Abilities[3],
Abilities[2],
Abilities[1],
Abilities[4],
Abilities[1],
Abilities[2],
Abilities[2],
"talent",
Abilities[2],
Abilities[3],
Abilities[4],
Abilities[2],
Abilities[3],
Abilities[3],
"talent",
Abilities[3],
Expand Down
2 changes: 1 addition & 1 deletion ability_item_usage_bloodseeker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ local AbilityToLevelUp=

local TalentTree={
function()
return Talents[1]
return Talents[2]
end,
function()
return Talents[3]
Expand Down
2 changes: 1 addition & 1 deletion ability_item_usage_brewmaster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ local TalentTree={
return Talents[3]
end,
function()
return Talents[5]
return Talents[6]
end,
function()
return Talents[7]
Expand Down
4 changes: 2 additions & 2 deletions ability_item_usage_bristleback.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ local AbilityToLevelUp=
Abilities[2],
Abilities[3],
Abilities[2],
Abilities[3],
Abilities[1],
Abilities[2],
Abilities[4],
Abilities[2],
Abilities[1],
Abilities[3],
Abilities[3],
"talent",
Abilities[3],
Expand Down
2 changes: 1 addition & 1 deletion ability_item_usage_broodmother.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ local TalentTree = {
return Talents[6]
end,
function()
return Talents[8]
return Talents[7]
end
}

Expand Down
12 changes: 6 additions & 6 deletions ability_item_usage_centaur.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ local AbilityToLevelUp=
Abilities[2],
Abilities[4],
Abilities[2],
Abilities[3],
Abilities[3],
"talent",
Abilities[3],
Abilities[4],
Abilities[1],
Abilities[1],
"talent",
Abilities[1],
Abilities[4],
Abilities[3],
Abilities[3],
"talent",
Abilities[3],
"nil",
Abilities[4],
"nil",
Expand All @@ -52,7 +52,7 @@ local TalentTree={
return Talents[3]
end,
function()
return Talents[6]
return Talents[5]
end,
function()
return Talents[7]
Expand Down
14 changes: 7 additions & 7 deletions ability_item_usage_chaos_knight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ local AbilityToLevelUp=
{
Abilities[1],
Abilities[2],
Abilities[2],
Abilities[1],
Abilities[3],
Abilities[2],
Abilities[1],
Abilities[4],
Abilities[1],
Abilities[2],
Abilities[2],
"talent",
Abilities[2],
Abilities[4],
Abilities[3],
Abilities[3],
"talent",
Abilities[3],
Abilities[4],
Abilities[1],
Abilities[1],
"talent",
Abilities[1],
"nil",
Abilities[4],
"nil",
Expand Down
Loading

0 comments on commit 2dff605

Please sign in to comment.