- Second pass on Patch 8.0.1

This commit is contained in:
Tercio
2018-07-17 13:31:22 -03:00
parent df9ce12b82
commit dba05908ec
96 changed files with 2018 additions and 2006 deletions
+15 -15
View File
@@ -185,7 +185,7 @@
return
else
if (flag) then
--> conferir se o jogador é um player
--> conferir se o jogador um player
if (_bit_band (flag, OBJECT_TYPE_PLAYER) ~= 0) then
novo_objeto.classe = "UNGROUPPLAYER"
return
@@ -205,7 +205,7 @@
if (flag) then
--> é um player
--> um player
if (_bit_band (flag, OBJECT_TYPE_PLAYER) ~= 0) then
if (not _detalhes.ignore_nicktag) then
@@ -306,7 +306,7 @@
novo_objeto.grupo = true
end
--> é um pet
--> um pet
elseif (dono_do_pet) then
novo_objeto.owner = dono_do_pet
novo_objeto.ownerName = dono_do_pet.nome
@@ -333,7 +333,7 @@
end
end
--> é inimigo
--> inimigo
if (_bit_band (flag, REACTION_HOSTILE) ~= 0) then
if (_bit_band (flag, OBJECT_TYPE_PLAYER) == 0 and _bit_band (flag, OBJECT_TYPE_PETGUARDIAN) == 0) then
novo_objeto.monster = true
@@ -451,11 +451,11 @@
--print (nome, flag)
--end
--> verifica se é um pet, se for confere se tem o nome do dono, se não tiver, precisa por
--> verifica se um pet, se for confere se tem o nome do dono, se no tiver, precisa por
local dono_do_pet
serial = serial or "ns"
if (container_pets [serial]) then --> é um pet reconhecido
if (container_pets [serial]) then --> um pet reconhecido
--[[statistics]]-- _detalhes.statistics.container_pet_calls = _detalhes.statistics.container_pet_calls + 1
local nome_dele, dono_nome, dono_serial, dono_flag = _detalhes.tabela_pets:PegaDono (serial, nome, flag)
@@ -464,7 +464,7 @@
dono_do_pet = self:PegarCombatente (dono_serial, dono_nome, dono_flag, true)
end
elseif (not pet_blacklist [serial]) then --> verifica se é um pet
elseif (not pet_blacklist [serial]) then --> verifica se um pet
pet_blacklist [serial] = true
@@ -485,7 +485,7 @@
if (index) then
return self._ActorTable [index], dono_do_pet, nome
--> não achou, criar
--> no achou, criar
elseif (criar) then
local novo_objeto = self.funcao_de_criacao (_, serial, nome)
@@ -528,7 +528,7 @@
end
--> try to guess his class
if (self.shadow) then --> não executar 2x
if (self.shadow) then --> no executar 2x
_detalhes:ScheduleTimer ("GuessClass", 1, {novo_objeto, self, 1})
end
@@ -562,7 +562,7 @@
end
--> try to guess his class
if (self.shadow) then --> não executar 2x
if (self.shadow) then --> no executar 2x
_detalhes:ScheduleTimer ("GuessClass", 1, {novo_objeto, self, 1})
end
end
@@ -583,7 +583,7 @@
end
--> try to guess his class
if (self.shadow) then --> não executar 2x
if (self.shadow) then --> no executar 2x
_detalhes:ScheduleTimer ("GuessClass", 1, {novo_objeto, self, 1})
end
end
@@ -605,7 +605,7 @@
end
--> try to guess his class
if (self.shadow) then --> não executar 2x
if (self.shadow) then --> no executar 2x
_detalhes:ScheduleTimer ("GuessClass", 1, {novo_objeto, self, 1})
end
end
@@ -716,7 +716,7 @@
end
end
--> chama a função para ser executada em todos os atores
--> chama a funo para ser executada em todos os atores
function container_combatentes:ActorCallFunction (funcao, ...)
for index, actor in _ipairs (self._ActorTable) do
funcao (nil, actor, ...)
@@ -748,7 +748,7 @@
end
function _detalhes.refresh:r_container_combatentes (container, shadow)
--> reconstrói meta e indexes
--> reconstri meta e indexes
_setmetatable (container, _detalhes.container_combatentes)
container.__index = _detalhes.container_combatentes
container.funcao_de_criacao = container_combatentes:FuncaoDeCriacao (container.tipo)
@@ -773,4 +773,4 @@
end
function _detalhes.clear:c_container_combatentes_index (container)
container._NameIndexTable = nil
end
end