Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
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
Commits
5039a658
There was a problem fetching the pipeline summary.
Commit
5039a658
authored
8 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Fixed cancelling Vault early
parent
c32bc1f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/talents/techniques/agility.lua
+13
-13
13 additions, 13 deletions
game/modules/tome/data/talents/techniques/agility.lua
with
13 additions
and
13 deletions
game/modules/tome/data/talents/techniques/agility.lua
+
13
−
13
View file @
5039a658
...
...
@@ -148,6 +148,19 @@ newTalent{
local
x
,
y
,
target
=
self
:
getTarget
(
tg
)
if
not
target
or
not
self
:
canProject
(
tg
,
x
,
y
)
then
return
nil
end
-- Leap
local
tg
=
{
type
=
"hit"
,
range
=
t
.
getDist
(
self
,
t
)}
local
x
,
y
=
self
:
getTarget
(
tg
)
if
not
x
or
not
y
then
return
nil
end
local
_
_
,
x
,
y
=
self
:
canProject
(
tg
,
x
,
y
)
if
game
.
level
.
map
(
x
,
y
,
Map
.
ACTOR
)
then
x
,
y
=
util
.
findFreeGrid
(
x
,
y
,
1
,
true
,
{[
Map
.
ACTOR
]
=
true
})
if
not
x
then
return
end
end
if
game
.
level
.
map
:
checkAllEntities
(
x
,
y
,
"block_move"
)
then
return
end
-- Modify shield combat to use dex.
local
combat
=
table
.
clone
(
shield_combat
,
true
)
if
combat
.
dammod
.
str
and
combat
.
dammod
.
str
>
0
then
...
...
@@ -167,19 +180,6 @@ newTalent{
end
end
-- Leap
local
tg
=
{
type
=
"hit"
,
range
=
t
.
getDist
(
self
,
t
)}
local
x
,
y
,
target
=
self
:
getTarget
(
tg
)
if
not
x
or
not
y
then
return
nil
end
local
_
_
,
x
,
y
=
self
:
canProject
(
tg
,
x
,
y
)
if
game
.
level
.
map
(
x
,
y
,
Map
.
ACTOR
)
then
x
,
y
=
util
.
findFreeGrid
(
x
,
y
,
1
,
true
,
{[
Map
.
ACTOR
]
=
true
})
if
not
x
then
return
end
end
if
game
.
level
.
map
:
checkAllEntities
(
x
,
y
,
"block_move"
)
then
return
end
local
ox
,
oy
=
self
.
x
,
self
.
y
self
:
move
(
x
,
y
,
true
)
if
config
.
settings
.
tome
.
smooth_move
>
0
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment