- debug player table creation.

- fix akaari's soul.
This commit is contained in:
Tercio
2016-10-09 20:57:11 -03:00
parent 2932a9b3d9
commit 5773dc14b5
5 changed files with 185 additions and 13 deletions
+16 -1
View File
@@ -886,13 +886,26 @@ function SlashCmdList.DETAILS (msg, editbox)
end
--> debug
elseif (msg == "debug") then
elseif (command == "debug") then
if (_detalhes.debug) then
_detalhes.debug = false
print (Loc ["STRING_DETAILS1"] .. "diagnostic mode has been turned off.")
return
else
_detalhes.debug = true
print (Loc ["STRING_DETAILS1"] .. "diagnostic mode has been turned on.")
if (rest and rest ~= "") then
if (rest == "-clear") then
_detalhes_global.debug_chr_log = ""
print (Loc ["STRING_DETAILS1"] .. "log for characters has been wiped.")
return
end
_detalhes.debug_chr = rest
_detalhes_global.debug_chr_log = _detalhes_global.debug_chr_log or ""
print (Loc ["STRING_DETAILS1"] .. "diagnostic for character " .. rest .. " turned on.")
return
end
end
--> debug combat log
@@ -1368,3 +1381,5 @@ function _detalhes:CreateListPanel()
return _detalhes.ListPanel
end
--endd elsee