updates
This commit is contained in:
@@ -143,12 +143,17 @@ local read_flag_ = function (novo_objeto, shadow_objeto, dono_do_pet, serial, fl
|
||||
if (_bit_band (flag, EM_GRUPO) ~= 0 and novo_objeto.classe ~= "UNGROUPPLAYER") then --> faz parte do grupo
|
||||
details_flag = details_flag+0x00000100
|
||||
novo_objeto.grupo = true
|
||||
--if (nome:find ("[*]")) then
|
||||
-- print ("Objeto em grupo:", nome, "flag:", flag, "classe:", novo_objeto.classe)
|
||||
--end
|
||||
|
||||
if (shadow_objeto) then
|
||||
shadow_objeto.grupo = true
|
||||
end
|
||||
|
||||
if (_detalhes:IsATank (serial)) then
|
||||
novo_objeto.isTank = true
|
||||
if (shadow_objeto) then
|
||||
shadow_objeto.isTank = true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
elseif (dono_do_pet) then --> é um pet
|
||||
@@ -283,8 +288,8 @@ function container_combatentes:PegarCombatente (serial, nome, flag, criar, isOwn
|
||||
end
|
||||
end
|
||||
|
||||
if (novo_objeto.grupo) then
|
||||
novo_objeto.avoidance = {["DODGE"] = 0, ["PARRY"] = 0, ["HITS"] = 0} --> avoidance
|
||||
if (novo_objeto.isTank) then
|
||||
novo_objeto.avoidance = _detalhes:CreateActorAvoidanceTable()
|
||||
end
|
||||
|
||||
elseif (self.tipo == container_heal) then --> CONTAINER HEALING
|
||||
|
||||
Reference in New Issue
Block a user