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
cb1dec71
Commit
cb1dec71
authored
Oct 17, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix underlord; add alchemist
parent
22d65b13
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
617 additions
and
2 deletions
+617
-2
BotLib/hero_abyssal_underlord.lua
BotLib/hero_abyssal_underlord.lua
+2
-1
BotLib/hero_alchemist.lua
BotLib/hero_alchemist.lua
+610
-0
hero_selection.lua
hero_selection.lua
+5
-1
No files found.
BotLib/hero_abyssal_underlord.lua
View file @
cb1dec71
...
@@ -278,7 +278,8 @@ function X.ConsiderW()
...
@@ -278,7 +278,8 @@ function X.ConsiderW()
local
nCastPoint
=
abilityW
:
GetCastPoint
()
+
0
.
5
local
nCastPoint
=
abilityW
:
GetCastPoint
()
+
0
.
5
local
nManaCost
=
abilityW
:
GetManaCost
()
local
nManaCost
=
abilityW
:
GetManaCost
()
local
nDamageType
=
DAMAGE_TYPE_MAGICAL
local
nDamageType
=
DAMAGE_TYPE_MAGICAL
local
nRadius
=
abilityW
:
GetSpecialValueInt
(
"light_strike_array_aoe"
)
local
nRadius
=
400
if
nLV
>=
27
then
nRadius
=
475
end
local
nInRangeEnemyList
=
bot
:
GetNearbyHeroes
(
nCastRange
+
nRadius
*
0
.
5
,
true
,
BOT_MODE_NONE
)
local
nInRangeEnemyList
=
bot
:
GetNearbyHeroes
(
nCastRange
+
nRadius
*
0
.
5
,
true
,
BOT_MODE_NONE
)
...
...
BotLib/hero_alchemist.lua
0 → 100644
View file @
cb1dec71
This diff is collapsed.
Click to expand it.
hero_selection.lua
View file @
cb1dec71
...
@@ -174,6 +174,7 @@ local sHasDevelopmentHeroList = {
...
@@ -174,6 +174,7 @@ local sHasDevelopmentHeroList = {
"npc_dota_hero_abaddon"
,
"npc_dota_hero_abaddon"
,
"npc_dota_hero_abyssal_underlord"
,
"npc_dota_hero_abyssal_underlord"
,
"npc_dota_hero_alchemist"
,
"npc_dota_hero_silencer"
,
"npc_dota_hero_silencer"
,
"npc_dota_hero_warlock"
,
"npc_dota_hero_warlock"
,
"npc_dota_hero_necrolyte"
,
"npc_dota_hero_necrolyte"
,
...
@@ -237,6 +238,7 @@ local sHasDevelopmentHeroList = {
...
@@ -237,6 +238,7 @@ local sHasDevelopmentHeroList = {
local
sFirstList
=
{
local
sFirstList
=
{
"npc_dota_hero_silencer"
,
"npc_dota_hero_silencer"
,
"npc_dota_hero_alchemist"
,
"npc_dota_hero_warlock"
,
"npc_dota_hero_warlock"
,
"npc_dota_hero_necrolyte"
,
"npc_dota_hero_necrolyte"
,
"npc_dota_hero_oracle"
,
"npc_dota_hero_oracle"
,
...
@@ -372,6 +374,7 @@ local sMageList = {
...
@@ -372,6 +374,7 @@ local sMageList = {
local
sCarryList
=
{
local
sCarryList
=
{
"npc_dota_hero_antimage"
,
"npc_dota_hero_antimage"
,
"npc_dota_hero_alchemist"
,
"npc_dota_hero_arc_warden"
,
"npc_dota_hero_arc_warden"
,
"npc_dota_hero_bloodseeker"
,
"npc_dota_hero_bloodseeker"
,
"npc_dota_hero_bristleback"
,
"npc_dota_hero_bristleback"
,
...
@@ -412,6 +415,7 @@ local sCarryList = {
...
@@ -412,6 +415,7 @@ local sCarryList = {
local
sTankList
=
{
local
sTankList
=
{
"npc_dota_hero_abaddon"
,
"npc_dota_hero_abaddon"
,
"npc_dota_hero_alchemist"
,
"npc_dota_hero_bristleback"
,
"npc_dota_hero_bristleback"
,
"npc_dota_hero_abyssal_underlord"
,
"npc_dota_hero_abyssal_underlord"
,
"npc_dota_hero_chaos_knight"
,
"npc_dota_hero_chaos_knight"
,
...
...
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