Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
dota2-ai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
JoyJ
dota2-ai
Commits
5523aee7
Commit
5523aee7
authored
Apr 23, 2023
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update mid list
parent
753c7ce6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
7 deletions
+22
-7
BotLib/hero_phantom_lancer.lua
BotLib/hero_phantom_lancer.lua
+4
-0
BotLib/hero_slark.lua
BotLib/hero_slark.lua
+1
-1
hero_selection.lua
hero_selection.lua
+17
-6
No files found.
BotLib/hero_phantom_lancer.lua
View file @
5523aee7
...
...
@@ -226,6 +226,10 @@ function X.ConsiderR()
end
end
if
J
.
IsRetreating
(
bot
)
and
nHP
<
0
.
5
then
return
BOT_ACTION_DESIRE_HIGH
end
return
BOT_ACTION_DESIRE_NONE
end
...
...
BotLib/hero_slark.lua
View file @
5523aee7
...
...
@@ -427,7 +427,7 @@ function X.ConsiderAS()
local
nSkillLV
=
abilityAS
:
GetLevel
()
local
nCastRange
=
abilityAS
:
GetCastRange
()
local
nRadius
=
300
local
nRadius
=
abilityAS
:
GetVal
(
'radius'
)
local
nCastPoint
=
abilityAS
:
GetCastPoint
()
local
nManaCost
=
abilityAS
:
GetManaCost
()
local
nDamage
=
0
...
...
hero_selection.lua
View file @
5523aee7
...
...
@@ -463,22 +463,33 @@ local sTankList = {
local
sMidList
=
{
"npc_dota_hero_
templar_assassi
n"
,
"npc_dota_hero_
abaddo
n"
,
"npc_dota_hero_abyssal_underlord"
,
"npc_dota_hero_centaur"
,
"npc_dota_hero_phantom_lancer"
,
"npc_dota_hero_alchemist"
,
"npc_dota_hero_arc_warden"
,
"npc_dota_hero_bane"
,
"npc_dota_hero_bristleback"
,
"npc_dota_hero_centaur"
,
"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_mirana"
,
"npc_dota_hero_muerta"
,
"npc_dota_hero_necrolyte"
,
"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_shadow_shaman"
,
"npc_dota_hero_silencer"
,
"npc_dota_hero_sniper"
,
"npc_dota_hero_viper"
,
"npc_dota_hero_muerta"
,
"npc_dota_hero_templar_assassin"
,
'npc_dota_hero_venomancer'
,
"npc_dota_hero_
obsidian_destroy
er"
,
"npc_dota_hero_
vip
er"
,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment