Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ElvUI_MerathilisUI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Merathilis
ElvUI_MerathilisUI
Commits
7b959180
Commit
7b959180
authored
Sep 11, 2019
by
Merathilis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify my Durability text.
parent
698f05cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ElvUI_MerathilisUI/modules/datatexts/durability.lua
ElvUI_MerathilisUI/modules/datatexts/durability.lua
+1
-2
No files found.
ElvUI_MerathilisUI/modules/datatexts/durability.lua
View file @
7b959180
...
...
@@ -90,9 +90,8 @@ end
local
function
OnEnter
(
self
)
DT
:
SetupTooltip
(
self
)
local
total
,
equipped
=
GetAverageItemLevel
()
DT
.
tooltip
:
ClearLines
()
DT
.
tooltip
:
Add
DoubleLine
(
DURABILITY
,
format
(
"%s: %d"
,
_G
.
STAT_AVERAGE_ITEM_LEVEL
,
equipped
),
0
,
191
/
255
,
250
/
255
,
GetItemLevelColor
()
)
DT
.
tooltip
:
Add
Line
(
DURABILITY
,
0
,
191
/
255
,
250
/
255
)
DT
.
tooltip
:
AddLine
(
" "
)
local
totalCost
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment