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
ba5001db
There was a problem fetching the pipeline summary.
Commit
ba5001db
authored
8 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Dark Empathy now also transfers the caster's resists cap
parent
d1279b38
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/talents/spells/spells.lua
+3
-0
3 additions, 0 deletions
game/modules/tome/data/talents/spells/spells.lua
with
3 additions
and
0 deletions
game/modules/tome/data/talents/spells/spells.lua
+
3
−
0
View file @
ba5001db
...
...
@@ -133,6 +133,9 @@ function applyDarkEmpathy(self, m)
for
k
,
e
in
pairs
(
self
.
resists
)
do
m
.
resists
[
k
]
=
(
m
.
resists
[
k
]
or
0
)
+
e
*
perc
/
100
end
for
k
,
e
in
pairs
(
self
.
resists_cap
)
do
m
.
resists_cap
[
k
]
=
e
end
m
.
combat_physresist
=
m
.
combat_physresist
+
self
:
combatPhysicalResist
()
*
perc
/
100
m
.
combat_spellresist
=
m
.
combat_spellresist
+
self
:
combatSpellResist
()
*
perc
/
100
m
.
combat_mentalresist
=
m
.
combat_mentalresist
+
self
:
combatMentalResist
()
*
perc
/
100
...
...
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