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
7d2982ba
Commit
7d2982ba
authored
Mar 06, 2023
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cast D even disabled or disarmed
parent
cf17139d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
BotLib/hero_life_stealer.lua
BotLib/hero_life_stealer.lua
+1
-3
No files found.
BotLib/hero_life_stealer.lua
View file @
7d2982ba
...
...
@@ -275,8 +275,6 @@ function X.ConsiderD()
and
J
.
CanCastOnNonMagicImmune
(
target
)
and
J
.
CanCastOnTargetAdvanced
(
target
)
and
J
.
IsInRange
(
target
,
bot
,
nCastRange
)
and
not
J
.
IsDisabled
(
target
)
and
not
target
:
IsDisarmed
()
then
return
BOT_ACTION_DESIRE_HIGH
,
target
end
...
...
@@ -357,7 +355,7 @@ function X.ConsiderR()
do
if
J
.
IsValid
(
nCreep
)
and
not
nCreep
:
IsHero
()
and
not
nCreep
:
IsAncientCreep
(
)
and
(
not
nCreep
:
IsAncientCreep
()
or
nSkillLV
>=
2
)
and
not
nCreep
:
IsMagicImmune
()
and
nCreep
:
GetHealth
()
>
targetCreepBountyGoldMax
then
...
...
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