- Fixed ticket #51: API Call 'GetCombat("overall")' wasn't returning the overall combat object.
- Fixed ticket #50: issue opening icon selection frame. - Added 'spinal healing injector' on custom display 'Health Potion & Stone'.
This commit is contained in:
@@ -140,7 +140,11 @@
|
||||
end
|
||||
-- thanks http://richard.warburton.it
|
||||
function _detalhes:comma_value (n)
|
||||
if (not n) then return "0" end
|
||||
n = _math_floor (n)
|
||||
if (n == 0) then
|
||||
return "0"
|
||||
end
|
||||
local left,num,right = _string_match (n,'^([^%d]*%d)(%d*)(.-)$')
|
||||
return left..(num:reverse():gsub('(%d%d%d)','%1,'):reverse())..right
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user