- fixed report to whiper target when the target is from another realm.

- all spells schools are now translated.
- major clean up on the options panel.
This commit is contained in:
Tercioo
2016-02-06 20:04:31 -02:00
parent bccff292d4
commit efbe5a9945
7 changed files with 1123 additions and 960 deletions
+5 -1
View File
@@ -3268,7 +3268,11 @@ function _detalhes:envia_relatorio (linhas, custom)
local alvo
if (_UnitExists ("target")) then
if (_UnitIsPlayer ("target")) then
alvo = _UnitName ("target")
local nome, realm = _UnitName ("target")
if (realm and realm ~= "") then
nome = nome.."-"..realm
end
alvo = nome
else
_detalhes:Msg (Loc ["STRING_REPORT_INVALIDTARGET"])
return