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
Open sidebar
KnewOne
VuhDo
Commits
ad4c47d1
Commit
ad4c47d1
authored
8 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed boundary check for millions abbreviation of hit points.
parent
f68ed46d
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
VuhDoBarCustomizerHealth.lua
VuhDoBarCustomizerHealth.lua
+1
-1
No files found.
VuhDoBarCustomizerHealth.lua
View file @
ad4c47d1
...
...
@@ -137,7 +137,7 @@ end
--
local
function
VUHDO_getKiloText
(
aNumber
,
aMaxNumber
,
aSetup
)
return
aSetup
[
"LIFE_TEXT"
][
"verbose"
]
and
aNumber
or
aMaxNumber
>
1000000
and
format
(
"%.1fM"
,
aNumber
*
0
.
000001
)
or
aMaxNumber
>
=
1000000
and
format
(
"%.1fM"
,
aNumber
*
0
.
000001
)
or
aMaxNumber
>
100000
and
format
(
"%.0fk"
,
aNumber
*
0
.
001
)
or
aMaxNumber
>
10000
and
format
(
"%.1fk"
,
aNumber
*
0
.
001
)
or
aNumber
;
...
...
This diff is collapsed.
Click to expand it.
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