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
4c73dc3b
Commit
4c73dc3b
authored
Oct 17, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix alchemist items
parent
cb1dec71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
25 deletions
+9
-25
BotLib/hero_alchemist.lua
BotLib/hero_alchemist.lua
+9
-25
No files found.
BotLib/hero_alchemist.lua
View file @
4c73dc3b
...
...
@@ -28,32 +28,16 @@ local tOutFitList = {}
tOutFitList
[
'outfit_carry'
]
=
{
"item_melee_carry_outfit"
,
"item_aghanims_shard"
,
"item_aether_lens"
,
"item_urn_of_shadows"
,
"item_mekansm"
,
"item_glimmer_cape"
,
"item_octarine_core"
,
"item_sphere"
,
"item_radiance"
,
"item_yasha"
,
"item_sange_and_yasha"
,
"item_black_king_bar"
,
"item_basher"
,
"item_assault"
,
"item_abyssal_blade"
,
}
tOutFitList
[
'outfit_tank'
]
=
{
"item_bristleback_outfit"
,
"item_aghanims_shard"
,
"item_pipe"
,
"item_glimmer_cape"
,
"item_aether_lens"
,
"item_rod_of_atos"
,
"item_octarine_core"
,
"item_gungir"
,
"item_heart"
,
"item_radiance"
,
"item_ultimate_scepter_2"
,
}
tOutFitList
[
'outfit_tank'
]
=
tOutFitList
[
'outfit_carry'
]
tOutFitList
[
'outfit_mid'
]
=
tOutFitList
[
'outfit_tank'
]
X
[
'sBuyList'
]
=
tOutFitList
[
sOutfitType
]
...
...
@@ -63,7 +47,7 @@ X['sSellList'] = {
"item_glimmer_cape"
,
}
if
J
.
Role
.
IsPvNMode
()
or
J
.
Role
.
IsAllShadow
()
then
X
[
'sBuyList'
],
X
[
'sSellList'
]
=
{
'PvN_m
age
'
},
{}
end
if
J
.
Role
.
IsPvNMode
()
or
J
.
Role
.
IsAllShadow
()
then
X
[
'sBuyList'
],
X
[
'sSellList'
]
=
{
'PvN_m
elee_carry
'
},
{}
end
nAbilityBuildList
,
nTalentBuildList
,
X
[
'sBuyList'
],
X
[
'sSellList'
]
=
J
.
SetUserHeroInit
(
nAbilityBuildList
,
nTalentBuildList
,
X
[
'sBuyList'
],
X
[
'sSellList'
]
)
...
...
@@ -176,7 +160,7 @@ function X.SkillsComplement()
end
function
X
.
ConsiderW2
()
if
abilityW2
:
IsHidden
()
or
not
abilityW2
:
IsFullyCastable
(
)
then
if
W2Time
>
0
and
(
abilityW2
:
IsHidden
()
or
not
abilityW2
:
IsFullyCastable
()
)
then
W2Time
=
0
return
0
end
...
...
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