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
67b02d8b
Commit
67b02d8b
authored
10 years ago
by
Grayswandir
Browse files
Options
Downloads
Patches
Plain Diff
Attack and Shoot display proper speeds.
parent
a2b766d2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!19
Speed fix for edge
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/data/talents/misc/misc.lua
+2
-1
2 additions, 1 deletion
game/modules/tome/data/talents/misc/misc.lua
game/modules/tome/data/talents/techniques/archery.lua
+2
-1
2 additions, 1 deletion
game/modules/tome/data/talents/techniques/archery.lua
with
4 additions
and
2 deletions
game/modules/tome/data/talents/misc/misc.lua
+
2
−
1
View file @
67b02d8b
...
...
@@ -48,6 +48,7 @@ newTalent{
tactical
=
{
ATTACK
=
{
PHYSICAL
=
1
}
},
no_unlearn_last
=
true
,
ignored_by_hotkeyautotalents
=
true
,
speed
=
'weapon'
,
action
=
function
(
self
,
t
)
local
tg
=
self
:
getTalentTarget
(
t
)
local
x
,
y
=
self
:
getTarget
(
tg
)
...
...
@@ -311,7 +312,7 @@ newTalent{
-- Check for visible monsters, only see LOS actors, so telepathy wont prevent it
core
.
fov
.
calc_circle
(
self
.
x
,
self
.
y
,
game
.
level
.
map
.
w
,
game
.
level
.
map
.
h
,
20
,
function
(
_
,
x
,
y
)
return
game
.
level
.
map
:
opaque
(
x
,
y
)
end
,
function
(
_
,
x
,
y
)
local
actor
=
game
.
level
.
map
(
x
,
y
,
game
.
level
.
map
.
ACTOR
)
if
actor
and
actor
~=
self
then
if
actor
and
actor
~=
self
then
if
actor
.
summoner
and
actor
.
summoner
==
self
then
seen
=
false
else
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/talents/techniques/archery.lua
+
2
−
1
View file @
67b02d8b
...
...
@@ -22,6 +22,7 @@ newTalent{
name
=
"Shoot"
,
type
=
{
"technique/archery-base"
,
1
},
no_energy
=
"fake"
,
speed
=
'archery'
,
hide
=
true
,
innate
=
true
,
points
=
1
,
...
...
@@ -112,7 +113,7 @@ newTalent{
local
q
=
self
:
hasAmmo
()
if
not
q
then
if
not
silent
then
game
.
logPlayer
(
self
,
"You must have a quiver or pouch equipped."
)
end
return
false
end
if
q
.
combat
.
shots_left
>=
q
.
combat
.
capacity
then
return
false
end
return
true
return
true
end
,
no_unlearn_last
=
true
,
action
=
function
(
self
,
t
)
...
...
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