Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Raf Geens
Tales of MajEyal
Commits
2e1ba0cb
Commit
2e1ba0cb
authored
8 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Bone Shield displays current and max charges on the icon
parent
75057ee4
No related branches found
Branches containing commit
Tags
tome-1.4.9
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/talents/corruptions/bone.lua
+5
-0
5 additions, 0 deletions
game/modules/tome/data/talents/corruptions/bone.lua
with
5 additions
and
0 deletions
game/modules/tome/data/talents/corruptions/bone.lua
+
5
−
0
View file @
2e1ba0cb
...
...
@@ -132,6 +132,11 @@ newTalent{
direct_hit
=
true
,
getNb
=
function
(
self
,
t
)
return
math.floor
(
self
:
combatTalentScale
(
t
,
1
,
5
))
end
,
getRegen
=
function
(
self
,
t
)
return
math.max
(
math.floor
(
30
/
t
.
getNb
(
self
,
t
)),
3
)
end
,
iconOverlay
=
function
(
self
,
t
,
p
)
local
p
=
self
.
sustain_talents
[
t
.
id
]
if
not
p
or
not
p
.
nb
then
return
""
end
return
p
.
nb
..
"/"
..
t
.
getNb
(
self
,
t
),
"buff_font_smaller"
end
,
callbackOnRest
=
function
(
self
,
t
)
local
nb
=
t
.
getNb
(
self
,
t
)
local
p
=
self
.
sustain_talents
[
t
.
id
]
...
...
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