- Pre Patch 6.0.2

This commit is contained in:
tercio
2014-10-14 16:27:43 -03:00
parent 645e19783b
commit c4d8cddc1f
60 changed files with 3057 additions and 1533 deletions
+12
View File
@@ -25,6 +25,9 @@
local _string_len = string.lenv
local _string_format = string.format --lua local
local loadstring = loadstring --lua local
local _select = select
local _tonumber = tonumber
local _strsplit = strsplit
local _UnitClass = UnitClass --wow api local
local _IsInRaid = IsInRaid --wow api local
@@ -41,6 +44,15 @@
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--> details api functions
--> get the npc id from guid
function _detalhes:GetNpcIdFromGuid (guid)
local NpcId = _select ( 6, _strsplit ( "-", guid ) )
if (NpcId) then
return _tonumber ( NpcId )
end
return 0
end
--> get the fractional number representing the alphabetical letter
function _detalhes:GetOrderNumber (who_name)
--local name = _upper (who_name .. "zz")