- 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:
Tercio
2015-08-10 15:35:37 -03:00
parent 115e80a3e4
commit fb6620c9e5
5 changed files with 23 additions and 18 deletions
+4
View File
@@ -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