Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
63
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tome
Tales of MajEyal
Merge requests
!547
Autoaccept Target-nonmobility
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Autoaccept Target-nonmobility
Recaiden/t-engine4:master
into
master
Overview
1
Commits
2
Pipelines
0
Changes
4
Closed
Recaiden
requested to merge
Recaiden/t-engine4:master
into
master
5 years ago
Overview
1
Commits
2
Pipelines
0
Changes
4
Expand
A series of talents changed to work with auto-accept target as requested by Sheila.
Rush
Attenuate
Dust to Dust
Summon: Warhound
Summon: Jelly
Summon: Golem
Summon: Minotaur
Summon: Turtle
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3fc3ec47
2 commits,
5 years ago
4 files
+
8
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
game/engines/default/engine/interface/GameTargeting.lua
+
2
−
2
Options
@@ -308,14 +308,14 @@ function _M:targetGetForPlayer(typ)
msg
=
typ
.
msg
end
self
:
targetMode
(
"exclusive"
,
msg
,
coroutine.running
(),
typ
)
if
self
.
target
.
target
.
x
and
config
.
settings
.
auto_accept_target
and
not
typ
.
immediate_keys
and
not
typ
.
nolock
and
not
typ
.
nowarning
and
not
typ
.
no_restrict
then
if
typ
.
nowarning
then
self
.
target_warning
=
false
end
if
self
.
target
.
target
.
x
and
config
.
settings
.
auto_accept_target
and
not
typ
.
immediate_keys
and
not
typ
.
nolock
and
not
typ
.
no_restrict
then
self
.
target_co
=
nil
self
:
targetMode
(
false
,
false
)
self
.
tooltip_x
,
self
.
tooltip_y
=
nil
,
nil
return
self
.
target
.
target
.
x
,
self
.
target
.
target
.
y
,
self
.
target
.
target
.
entity
end
if
typ
.
immediate_keys
then
self
.
target_style
=
"immediate"
end
if
typ
.
nolock
then
self
.
target_style
=
"free"
end
if
typ
.
nowarning
then
self
.
target_warning
=
false
end
return
coroutine.yield
()
end
return
self
.
target
.
target
.
x
,
self
.
target
.
target
.
y
,
self
.
target
.
target
.
entity
Loading