Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Otowa Kotori
Tales of MajEyal
Commits
53ea5c90
Commit
53ea5c90
authored
3 years ago
by
K'van
Browse files
Options
Downloads
Patches
Plain Diff
Take Down respects pin if the target is more than 1 tile away.
parent
294e777b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/talents/techniques/grappling.lua
+5
-2
5 additions, 2 deletions
game/modules/tome/data/talents/techniques/grappling.lua
with
5 additions
and
2 deletions
game/modules/tome/data/talents/techniques/grappling.lua
+
5
−
2
View file @
53ea5c90
...
...
@@ -167,7 +167,6 @@ newTalent{
getDamage
=
function
(
self
,
t
)
return
self
:
combatTalentWeaponDamage
(
t
,
.
1
,
1
)
end
,
range
=
1
,
target
=
function
(
self
,
t
)
if
self
:
hasEffect
(
self
.
EFF_GRAPPLING
)
then
return
{
type
=
"ball"
,
range
=
1
,
radius
=
5
,
selffire
=
false
}
end
return
{
type
=
"hit"
,
range
=
self
:
getTalentRange
(
t
)}
...
...
@@ -190,7 +189,11 @@ newTalent{
local
tg
=
self
:
getTalentTarget
(
t
)
local
x
,
y
,
target
=
self
:
getTarget
(
tg
)
if
not
target
or
not
self
:
canProject
(
tg
,
x
,
y
)
then
return
nil
end
if
core
.
fov
.
distance
(
self
.
x
,
self
.
y
,
x
,
y
)
>
1
and
self
:
attr
(
"never_move"
)
then
game
.
logPlayer
(
self
,
"You cannot move!"
)
return
nil
end
local
grappled
=
false
-- do the rush
...
...
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