Commit 5523aee7 authored by JoyJ's avatar JoyJ

update mid list

parent 753c7ce6
...@@ -226,6 +226,10 @@ function X.ConsiderR() ...@@ -226,6 +226,10 @@ function X.ConsiderR()
end end
end end
if J.IsRetreating(bot) and nHP < 0.5 then
return BOT_ACTION_DESIRE_HIGH
end
return BOT_ACTION_DESIRE_NONE return BOT_ACTION_DESIRE_NONE
end end
......
...@@ -427,7 +427,7 @@ function X.ConsiderAS() ...@@ -427,7 +427,7 @@ function X.ConsiderAS()
local nSkillLV = abilityAS:GetLevel() local nSkillLV = abilityAS:GetLevel()
local nCastRange = abilityAS:GetCastRange() local nCastRange = abilityAS:GetCastRange()
local nRadius = 300 local nRadius = abilityAS:GetVal('radius')
local nCastPoint = abilityAS:GetCastPoint() local nCastPoint = abilityAS:GetCastPoint()
local nManaCost = abilityAS:GetManaCost() local nManaCost = abilityAS:GetManaCost()
local nDamage = 0 local nDamage = 0
......
...@@ -463,22 +463,33 @@ local sTankList = { ...@@ -463,22 +463,33 @@ local sTankList = {
local sMidList = { local sMidList = {
"npc_dota_hero_templar_assassin", "npc_dota_hero_abaddon",
"npc_dota_hero_abyssal_underlord", "npc_dota_hero_abyssal_underlord",
"npc_dota_hero_centaur", "npc_dota_hero_alchemist",
"npc_dota_hero_phantom_lancer",
"npc_dota_hero_arc_warden", "npc_dota_hero_arc_warden",
"npc_dota_hero_bane",
"npc_dota_hero_bristleback", "npc_dota_hero_bristleback",
"npc_dota_hero_centaur",
"npc_dota_hero_chaos_knight", "npc_dota_hero_chaos_knight",
"npc_dota_hero_death_prophet",
"npc_dota_hero_disruptor",
"npc_dota_hero_huskar",
"npc_dota_hero_lion",
"npc_dota_hero_medusa", "npc_dota_hero_medusa",
"npc_dota_hero_mirana", "npc_dota_hero_mirana",
"npc_dota_hero_muerta",
"npc_dota_hero_necrolyte",
"npc_dota_hero_nevermore", "npc_dota_hero_nevermore",
"npc_dota_hero_obsidian_destroyer",
"npc_dota_hero_phantom_assassin",
"npc_dota_hero_phantom_lancer",
"npc_dota_hero_razor", "npc_dota_hero_razor",
"npc_dota_hero_shadow_shaman",
"npc_dota_hero_silencer",
"npc_dota_hero_sniper", "npc_dota_hero_sniper",
"npc_dota_hero_viper", "npc_dota_hero_templar_assassin",
"npc_dota_hero_muerta",
'npc_dota_hero_venomancer', 'npc_dota_hero_venomancer',
"npc_dota_hero_obsidian_destroyer", "npc_dota_hero_viper",
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment