Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Merathilis
ElvUI_MerathilisUI
Commits
698f05cb
Commit
698f05cb
authored
Sep 11, 2019
by
Merathilis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the color of the ItemLevel in the durability tooltip.
parent
e709e27b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ElvUI_MerathilisUI/modules/datatexts/durability.lua
ElvUI_MerathilisUI/modules/datatexts/durability.lua
+2
-1
No files found.
ElvUI_MerathilisUI/modules/datatexts/durability.lua
View file @
698f05cb
...
...
@@ -14,6 +14,7 @@ local GetInventoryItemTexture = GetInventoryItemTexture
local
GetInventoryItemDurability
=
GetInventoryItemDurability
local
GetInventoryItemLink
=
GetInventoryItemLink
local
GetMoneyString
=
GetMoneyString
local
GetItemLevelColor
=
GetItemLevelColor
local
InCombatLockdown
=
InCombatLockdown
local
ToggleCharacter
=
ToggleCharacter
local
UIParent
=
UIParent
...
...
@@ -91,7 +92,7 @@ local function OnEnter(self)
local
total
,
equipped
=
GetAverageItemLevel
()
DT
.
tooltip
:
ClearLines
()
DT
.
tooltip
:
AddDoubleLine
(
DURABILITY
,
format
(
"%s: %d"
,
_G
.
STAT_AVERAGE_ITEM_LEVEL
,
equipped
),
0
,
191
/
255
,
250
/
255
,
1
,
1
,
1
)
DT
.
tooltip
:
AddDoubleLine
(
DURABILITY
,
format
(
"%s: %d"
,
_G
.
STAT_AVERAGE_ITEM_LEVEL
,
equipped
),
0
,
191
/
255
,
250
/
255
,
GetItemLevelColor
()
)
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