- Added slash command '/details api'.

- Major update on our .txt about the API, these files are on the root folder of details! at WoW/Interface/AddOns/Details.
This commit is contained in:
Tercio
2015-10-04 13:46:29 -03:00
parent 0104adf583
commit 9f5d387938
14 changed files with 1265 additions and 95 deletions
+5
View File
@@ -789,7 +789,9 @@
spellname = ""
end
actor.nome = spellname
actor.name = spellname
actor.classe = actor.spellschool
actor.class = actor.spellschool
class = actor.spellschool
local index = self._NameIndexTable [actor.nome]
@@ -799,6 +801,9 @@
else
class = actor.classe or actor.class
if (not class or class == "UNKNOWN") then
class = "UNKNOW"
end
if (class == "UNKNOW") then
--> try once again
class = _detalhes:GetClass (actor.nome or actor.name)