Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
0
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
razakai
Tales of MajEyal
Commits
0ae7d19a
Commit
0ae7d19a
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
fix damn
parent
ef6140db
No related branches found
Branches containing commit
Tags
tome-1.2.2
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/talents/techniques/buckler-training.lua
+2
-3
2 additions, 3 deletions
...modules/tome/data/talents/techniques/buckler-training.lua
with
2 additions
and
3 deletions
game/modules/tome/data/talents/techniques/buckler-training.lua
+
2
−
3
View file @
0ae7d19a
...
...
@@ -66,7 +66,6 @@ newTalent {
stamina
=
15
,
requires_target
=
true
,
tactical
=
{
ATTACK
=
2
,
ESCAPE
=
{
knockback
=
1
},
DISABLE
=
{
knockback
=
1
}
},
no_energy
=
"fake"
,
on_pre_use
=
function
(
self
,
t
,
silent
)
if
not
self
:
hasShield
()
or
not
self
:
hasArcheryWeapon
()
then
if
not
silent
then
game
.
logPlayer
(
self
,
"You require a ranged weapon and a shield to use this talent."
)
end
...
...
@@ -142,10 +141,10 @@ newTalent {
end
-- Ranged attack
local
targets
=
self
:
archeryAcquireTargets
(
nil
,
{
one_shot
=
true
,
x
=
target
.
x
,
y
=
target
.
y
})
local
targets
=
self
:
archeryAcquireTargets
(
nil
,
{
one_shot
=
true
,
x
=
target
.
x
,
y
=
target
.
y
,
no_energy
=
true
})
if
targets
then
--game.logSeen(self, "%s follows up with a shot from %s!", self.name:capitalize(), sling:getName())
self
:
archeryShoot
(
targets
,
t
,
nil
,
{
mult
=
t
.
getSlingMult
(
self
,
t
)
,
no_energy
=
true
})
self
:
archeryShoot
(
targets
,
t
,
nil
,
{
mult
=
t
.
getSlingMult
(
self
,
t
)})
end
return
true
...
...
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