- Fixed tooltips where sometimes it wans't showing at all.

- Fixed the healing done amount on Malkorok encounter.
This commit is contained in:
tercio
2014-10-15 11:30:41 -03:00
parent c4d8cddc1f
commit 9925f2616b
5 changed files with 40 additions and 21 deletions
+11 -5
View File
@@ -839,12 +839,18 @@ end
end
--> get the full nicktag table
function NickTag:GetNicknameTable (serial)
function NickTag:GetNicknameTable (serial, silent)
--> check data before
assert (serial, "NickTag 'Get' expects a number on #1 argument.")
if (not silent) then
assert (serial, "NickTag 'Get' expects a number on #1 argument.")
else
if (not serial) then
return
end
end
if (type (serial) == "string") then
serial = NickTag:GetSerial (serial)
serial = NickTag:GetSerial (serial, silent)
if (not serial) then
return
end
@@ -914,11 +920,11 @@ end
else
if (not silent) then
assert (type (serial) == "string", "NickTag 'GetSerial' expects a GUID string on #1 parameter"..serial)
assert (string.len (serial) > 17, "NickTag 'GetSerial' expects a GUID string on #1 parameter")
assert (string.len (serial) > 13, "NickTag 'GetSerial' expects a GUID string on #1 parameter")
else
if (type (serial) ~= "string") then
return
elseif (string.len (serial) < 16) then
elseif (string.len (serial) < 14) then
return
end
end