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
24607361
Commit
24607361
authored
10 years ago
by
Eric Wykoff
Browse files
Options
Downloads
Patches
Plain Diff
fixes
parent
771d788f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!197
More fixes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/data/talents/chronomancy/blade-threading.lua
+8
-0
8 additions, 0 deletions
...modules/tome/data/talents/chronomancy/blade-threading.lua
game/modules/tome/data/talents/chronomancy/bow-threading.lua
+3
-0
3 additions, 0 deletions
game/modules/tome/data/talents/chronomancy/bow-threading.lua
with
11 additions
and
0 deletions
game/modules/tome/data/talents/chronomancy/blade-threading.lua
+
8
−
0
View file @
24607361
...
...
@@ -208,15 +208,23 @@ newTalent{
-- Project our melee hits
local
total_hits
=
0
local
target_found
=
false
self
:
project
(
tg
,
x
,
y
,
function
(
px
,
py
,
tg
,
self
)
local
target
=
game
.
level
.
map
(
px
,
py
,
Map
.
ACTOR
)
if
target
then
target_found
=
true
local
hit
=
self
:
attackTarget
(
target
,
nil
,
t
.
getDamage
(
self
,
t
),
true
)
if
hit
then
total_hits
=
total_hits
+
1
end
end
end
)
-- Assume the player canceled
if
not
target_found
then
if
swap
then
doWardenWeaponSwap
(
self
,
t
,
"bow"
)
end
return
nil
end
if
total_hits
>
0
then
-- Project our shear
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/talents/chronomancy/bow-threading.lua
+
3
−
0
View file @
24607361
...
...
@@ -36,6 +36,9 @@ newTalent{
return
{
type
=
"bolt"
,
range
=
self
:
getTalentRange
(
t
),
talent
=
t
,
friendlyfire
=
false
,
friendlyblock
=
false
}
end
,
on_pre_use
=
function
(
self
,
t
,
silent
)
if
not
doWardenPreUse
(
self
,
"bow"
)
then
if
not
silent
then
game
.
logPlayer
(
self
,
"You require a bow to use this talent."
)
end
return
false
end
return
true
end
,
passives
=
function
(
self
,
t
,
p
)
self
:
talentTemporaryValue
(
p
,
"archery_pass_friendly"
,
1
)
end
,
action
=
function
(
self
,
t
)
local
swap
=
doWardenWeaponSwap
(
self
,
t
,
"bow"
)
...
...
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