- Added a compare tab under Player Details Window:
This new tab showns up when there is too characters with the same class and spec. Its useful to compare skills used, uptimes and targets. - Few improvements on Default and ElvUI skins. - Added a button for auto align two windows within right chat window when ElvUI skin is active. - Fixed problem with Damage -> Enemies display. - Fixed report Player Detail Window report buttons. - Fixed some report lines where the numbers wasn't properly formatted. - Fixed a rare bug where the owner of some pets wasn't detected. - Fixed issue in dungeons where capture data get paused after a boss kill. - Fixed issue with Encounter Details showing its icon for dungeons bosses. - Fixed a rare bug where the capture of damage stops after erasing a trash segment.
This commit is contained in:
@@ -103,6 +103,15 @@
|
||||
end
|
||||
return _string_format ("%.0f", numero)
|
||||
end
|
||||
--> short numbers no numbers after comma
|
||||
function _detalhes:ToKReport (numero)
|
||||
if (numero > 1000000) then
|
||||
return _string_format ("%.2f", numero/1000000) .."M"
|
||||
elseif (numero > 1000) then
|
||||
return _string_format ("%.1f", numero/1000) .."K"
|
||||
end
|
||||
return numero
|
||||
end
|
||||
--> no changes
|
||||
function _detalhes:NoToK (numero)
|
||||
return numero
|
||||
@@ -187,6 +196,8 @@
|
||||
return from > #s and "" or s:match(".*%S", from)
|
||||
end
|
||||
|
||||
-- /script print (_detalhes:Scale (0, 3, 1, 1000, math.abs (1.654-3)))
|
||||
|
||||
--> scale
|
||||
function _detalhes:Scale (rangeMin, rangeMax, scaleMin, scaleMax, x)
|
||||
return 1 + (x - rangeMin) * (scaleMax - scaleMin) / (rangeMax - rangeMin)
|
||||
|
||||
Reference in New Issue
Block a user