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
Kkthnx
Tukui
Commits
e57aca33
Commit
e57aca33
authored
Aug 09, 2017
by
Kkthnx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ExperienceBar.lua
parent
d17f1fa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Tukui/Modules/Miscellaneous/ExperienceBar.lua
Tukui/Modules/Miscellaneous/ExperienceBar.lua
+4
-2
No files found.
Tukui/Modules/Miscellaneous/ExperienceBar.lua
View file @
e57aca33
...
...
@@ -45,8 +45,10 @@ function Experience:SetTooltip()
end
GameTooltip
:
AddLine
(
"|cffe6cc80"
..
ARTIFACT_POWER
..
": "
..
Current
..
" / "
..
Max
..
" ("
..
floor
(
Current
/
Max
*
100
)
..
"% - "
..
floor
(
Bars
-
(
Bars
*
(
Max
-
Current
)
/
Max
))
..
"/"
..
Bars
..
")|r"
)
GameTooltip
:
AddLine
(
" "
);
GameTooltip
:
AddLine
(
ARTIFACT_POWER_TOOLTIP_BODY
:
format
(
ArtifactWatchBar
.
numPointsAvailableToSpend
),
nil
,
nil
,
nil
,
true
);
if
(
ArtifactWatchBar
.
numPointsAvailableToSpend
>
0
)
then
GameTooltip
:
AddLine
(
" "
);
GameTooltip
:
AddLine
(
ARTIFACT_POWER_TOOLTIP_BODY
:
format
(
ArtifactWatchBar
.
numPointsAvailableToSpend
),
nil
,
nil
,
nil
,
true
);
end
else
local
Level
=
UnitHonorLevel
(
"player"
)
local
LevelMax
=
GetMaxPlayerHonorLevel
()
...
...
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