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
83f7c295
Commit
83f7c295
authored
10 years ago
by
Eric Wykoff
Browse files
Options
Downloads
Patches
Plain Diff
fixed webs of fate
parent
fb0422c6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!178
More fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/timed_effects/magical.lua
+5
-3
5 additions, 3 deletions
game/modules/tome/data/timed_effects/magical.lua
with
5 additions
and
3 deletions
game/modules/tome/data/timed_effects/magical.lua
+
5
−
3
View file @
83f7c295
...
...
@@ -3080,10 +3080,10 @@ newEffect{
on_gain
=
function
(
self
,
err
)
return
nil
,
"+Webs of Fate"
end
,
on_lose
=
function
(
self
,
err
)
return
nil
,
"-Webs of Fate"
end
,
parameters
=
{
power
=
0
.
1
},
callbackOnTakeDamage
=
function
(
self
,
eff
,
src
,
x
,
y
,
type
,
dam
,
tmp
)
callbackOnTakeDamage
=
function
(
self
,
eff
,
src
,
x
,
y
,
type
,
dam
,
state
)
-- Displace Damage?
local
t
=
eff
.
talent
if
dam
>
0
and
src
~=
self
then
if
dam
>
0
and
src
~=
self
and
not
state
.
no_reflect
then
-- Spin Fate?
if
self
.
turn_procs
and
self
:
knowTalent
(
self
.
T_SPIN_FATE
)
and
not
self
.
turn_procs
.
spin_webs
then
...
...
@@ -3105,7 +3105,9 @@ newEffect{
local
a
=
rng
.
table
(
tgts
)
if
a
then
local
displace
=
dam
*
eff
.
power
DamageType
.
defaultProjector
(
self
,
a
.
x
,
a
.
y
,
type
,
displace
,
{
no_reflect
=
true
})
state
.
no_reflect
=
true
DamageType
.
defaultProjector
(
self
,
a
.
x
,
a
.
y
,
type
,
displace
,
state
)
state
.
no_reflect
=
nil
dam
=
dam
-
displace
game
:
delayedLogDamage
(
src
,
self
,
0
,
(
"%s(%d webs of fate)#LAST#"
):
format
(
DamageType
:
get
(
type
).
text_color
or
"#aaaaaa#"
,
displace
),
false
)
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