- fixed some problems with buff uptime data save on logout.

- avoidance now works only with players.
This commit is contained in:
Tercio
2013-10-25 16:34:05 -02:00
parent 66e7963af4
commit ae007953e5
17 changed files with 112 additions and 22 deletions
+5 -1
View File
@@ -274,6 +274,9 @@ 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
end
elseif (self.tipo == container_heal) then --> CONTAINER HEALING
@@ -486,7 +489,8 @@ function _detalhes.refresh:r_container_combatentes (container, shadow)
end
function _detalhes.clear:c_container_combatentes (container)
container.__index = {}
--container.__index = {}
container.__index = nil
container.shadow = nil
container._NameIndexTable = nil
container.need_refresh = nil