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
451b5bb9
Commit
451b5bb9
authored
12 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
plop
git-svn-id:
http://svn.net-core.org/repos/t-engine4@6068
51575b47-30f0-44d4-a5cc-537603b46e54
parent
0ab571b1
No related branches found
Branches containing commit
No related tags found
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/field-control.lua
+2
-2
2 additions, 2 deletions
game/modules/tome/data/talents/techniques/field-control.lua
with
2 additions
and
2 deletions
game/modules/tome/data/talents/techniques/field-control.lua
+
2
−
2
View file @
451b5bb9
...
...
@@ -89,7 +89,7 @@ newTalent{
-- Try to knockback !
local
can
=
function
(
target
)
if
target
:
checkHit
(
self
:
combatPhysicalpower
(),
target
:
combatPhysicalResist
(),
0
,
95
,
5
-
self
:
getTalentLevel
(
t
)
/
2
)
and
target
:
canBe
(
"knockback"
)
then
if
target
:
checkHit
(
math.max
(
self
:
combatAttack
(),
self
:
combatPhysicalpower
()
)
,
target
:
combatPhysicalResist
(),
0
,
95
,
5
-
self
:
getTalentLevel
(
t
)
/
2
)
and
target
:
canBe
(
"knockback"
)
then
return
true
else
game
.
logSeen
(
target
,
"%s resists the knockback!"
,
target
.
name
:
capitalize
())
...
...
@@ -106,7 +106,7 @@ newTalent{
info
=
function
(
self
,
t
)
return
(
[[A mighty kick that pushes your target away %d grids.
If another creature is in the way it will also be pushed away.
Knockback chance increase with your
Dexterity stat
.]]
):
format
(
math.floor
(
2
+
self
:
getTalentLevel
(
t
)))
Knockback chance increase with your
accuracy or physical power stat (whichever is greater)
.]]
):
format
(
math.floor
(
2
+
self
:
getTalentLevel
(
t
)))
end
,
}
...
...
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