Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
t-engine4
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
Hachem_Muche
t-engine4
Commits
e109d771
Commit
e109d771
authored
11 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Switch Place correctly consumes turn/cooldown/stamina even if used against a creature in a wall
parent
8be1ec0d
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/cunning/dirty.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/data/talents/cunning/dirty.lua
with
1 addition
and
1 deletion
game/modules/tome/data/talents/cunning/dirty.lua
+
1
−
1
View file @
e109d771
...
...
@@ -102,7 +102,7 @@ newTalent{
if
hitted
and
not
self
.
dead
and
tx
==
target
.
x
and
ty
==
target
.
y
then
if
not
self
:
canMove
(
tx
,
ty
,
true
)
or
not
target
:
canMove
(
sx
,
sy
,
true
)
then
self
:
logCombat
(
target
,
"Terrain prevents #Source# from switching places with #Target#."
)
return
fals
e
return
tru
e
end
self
:
setEffect
(
self
.
EFF_EVASION
,
t
.
getDuration
(
self
,
t
),
{
chance
=
50
})
-- Displace
...
...
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