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
3b844d49
Commit
3b844d49
authored
9 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
moar versatile
parent
7006cf93
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/misc/races.lua
+10
-7
10 additions, 7 deletions
game/modules/tome/data/talents/misc/races.lua
with
10 additions
and
7 deletions
game/modules/tome/data/talents/misc/races.lua
+
10
−
7
View file @
3b844d49
...
...
@@ -713,7 +713,6 @@ newTalent{
cooldown
=
function
(
self
,
t
)
return
math.ceil
(
self
:
combatTalentLimit
(
t
,
10
,
46
,
30
))
end
,
-- Limit to >10
remcount
=
function
(
self
,
t
)
return
math.ceil
(
self
:
combatTalentScale
(
t
,
0
.
5
,
3
,
"log"
,
0
,
3
))
end
,
heal
=
function
(
self
,
t
)
return
25
+
2
.
3
*
self
:
getCon
()
+
self
:
combatTalentLimit
(
t
,
0
.
1
,
0
.
01
,
0
.
05
)
*
self
.
max_life
end
,
is_heal
=
true
,
tactical
=
{
DEFEND
=
1
,
HEAL
=
2
,
CURE
=
function
(
self
,
t
,
target
)
local
nb
=
0
for
eff_id
,
p
in
pairs
(
self
.
tmp
)
do
...
...
@@ -744,18 +743,22 @@ newTalent{
target
:
removeEffect
(
eff
[
2
])
end
end
self
:
attr
(
"allow_on_heal"
,
1
)
self
:
heal
(
t
.
heal
(
self
,
t
),
t
)
if
core
.
shader
.
active
(
4
)
then
self
:
addParticles
(
Particles
.
new
(
"shader_shield_temp"
,
1
,
{
toback
=
true
,
size_factor
=
1
.
5
,
y
=-
0
.
3
,
img
=
"healgreen"
,
life
=
25
},
{
type
=
"healing"
,
time_factor
=
2000
,
beamsCount
=
20
,
noup
=
2
.
0
}))
self
:
addParticles
(
Particles
.
new
(
"shader_shield_temp"
,
1
,
{
toback
=
false
,
size_factor
=
1
.
5
,
y
=-
0
.
3
,
img
=
"healgreen"
,
life
=
25
},
{
type
=
"healing"
,
time_factor
=
2000
,
beamsCount
=
20
,
noup
=
1
.
0
}))
if
not
self
:
attr
(
"no_healing"
)
and
((
self
.
healing_factor
or
1
)
>
0
)
then
self
:
attr
(
"allow_on_heal"
,
1
)
self
:
heal
(
t
.
heal
(
self
,
t
),
t
)
if
core
.
shader
.
active
(
4
)
then
self
:
addParticles
(
Particles
.
new
(
"shader_shield_temp"
,
1
,
{
toback
=
true
,
size_factor
=
1
.
5
,
y
=-
0
.
3
,
img
=
"healgreen"
,
life
=
25
},
{
type
=
"healing"
,
time_factor
=
2000
,
beamsCount
=
20
,
noup
=
2
.
0
}))
self
:
addParticles
(
Particles
.
new
(
"shader_shield_temp"
,
1
,
{
toback
=
false
,
size_factor
=
1
.
5
,
y
=-
0
.
3
,
img
=
"healgreen"
,
life
=
25
},
{
type
=
"healing"
,
time_factor
=
2000
,
beamsCount
=
20
,
noup
=
1
.
0
}))
end
self
:
attr
(
"allow_on_heal"
,
-
1
)
end
self
:
attr
(
"allow_on_heal"
,
-
1
)
return
true
end
,
info
=
function
(
self
,
t
)
return
(
[[Call upon the will of all of the Orc Prides to survive this battle.
You heal for %d life, and remove up to %d detrimental effects.
Even though this is a part-healing talent it can be used while frozen. If it fails to remove the frozen status the heal part will not work however.
The healing will increase with your Constitution.]]
):
format
(
t
.
heal
(
self
,
t
),
t
.
remcount
(
self
,
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