- More smoothness progress on menus.

- Fixed a avoidance bug inside the parser.
This commit is contained in:
tercio
2014-10-19 23:16:31 -02:00
parent c0a0b8fec1
commit 202bbdc606
8 changed files with 171 additions and 87 deletions
+12
View File
@@ -306,6 +306,11 @@
if (tanks_members_cache [alvo_serial]) then --> autoshot or melee hit
--> avoidance
local avoidance = jogador_alvo.avoidance
if (not avoidance) then
jogador_alvo.avoidance = _detalhes:CreateActorAvoidanceTable()
avoidance = jogador_alvo.avoidance
end
local overall = avoidance.overall
local mob = avoidance [who_name]
@@ -521,10 +526,17 @@
end
if (tanks_members_cache [alvo_serial]) then --> only track tanks
local TargetActor = damage_cache [alvo_name]
if (TargetActor) then
local avoidance = TargetActor.avoidance
if (not avoidance) then
TargetActor.avoidance = _detalhes:CreateActorAvoidanceTable()
avoidance = TargetActor.avoidance
end
local missTable = avoidance.overall [missType]
if (missTable) then