- 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
+22 -1
View File
@@ -1625,6 +1625,13 @@ function _detalhes.refresh:r_atributo_misc (este_jogador, shadow)
_detalhes.refresh:r_container_combatentes (este_jogador.interrupt_targets, shadow.interrupt_targets)
_detalhes.refresh:r_container_habilidades (este_jogador.interrupt_spell_tables, shadow.interrupt_spell_tables)
end
--> refresh buff uptime
if (este_jogador.buff_uptime_targets) then
_detalhes.refresh:r_container_combatentes (este_jogador.buff_uptime_targets, shadow.buff_uptime_targets)
_detalhes.refresh:r_container_habilidades (este_jogador.buff_uptime_spell_tables, shadow.buff_uptime_spell_tables)
end
--> refresh cooldowns defensive
if (este_jogador.cooldowns_defensive_targets) then
_detalhes.refresh:r_container_combatentes (este_jogador.cooldowns_defensive_targets, shadow.cooldowns_defensive_targets)
@@ -1655,12 +1662,19 @@ function _detalhes.refresh:r_atributo_misc (este_jogador, shadow)
_detalhes.refresh:r_container_combatentes (este_jogador.interrupt_targets, -1)
_detalhes.refresh:r_container_habilidades (este_jogador.interrupt_spell_tables, -1)
end
--> refresh cooldowns defensive
if (este_jogador.cooldowns_defensive_targets) then
_detalhes.refresh:r_container_combatentes (este_jogador.cooldowns_defensive_targets, -1)
_detalhes.refresh:r_container_habilidades (este_jogador.cooldowns_defensive_spell_tables, -1)
end
--> refresh buff uptime
if (este_jogador.buff_uptime_targets) then
_detalhes.refresh:r_container_combatentes (este_jogador.buff_uptime_targets, -1)
_detalhes.refresh:r_container_habilidades (este_jogador.buff_uptime_spell_tables, -1)
end
--> refresh ressers
if (este_jogador.ress_targets) then
_detalhes.refresh:r_container_combatentes (este_jogador.ress_targets, -1)
@@ -1683,7 +1697,8 @@ end
function _detalhes.clear:c_atributo_misc (este_jogador)
este_jogador.__index = {}
--este_jogador.__index = {}
este_jogador.__index = nil
este_jogador.shadow = nil
este_jogador.links = nil
este_jogador.minha_barra = nil
@@ -1692,11 +1707,17 @@ function _detalhes.clear:c_atributo_misc (este_jogador)
_detalhes.clear:c_container_combatentes (este_jogador.interrupt_targets)
_detalhes.clear:c_container_habilidades (este_jogador.interrupt_spell_tables)
end
if (este_jogador.cooldowns_defensive_targets) then
_detalhes.clear:c_container_combatentes (este_jogador.cooldowns_defensive_targets)
_detalhes.clear:c_container_habilidades (este_jogador.cooldowns_defensive_spell_tables)
end
if (este_jogador.buff_uptime_targets) then
_detalhes.clear:c_container_combatentes (este_jogador.buff_uptime_targets)
_detalhes.clear:c_container_habilidades (este_jogador.buff_uptime_spell_tables)
end
if (este_jogador.ress_targets) then
_detalhes.clear:c_container_combatentes (este_jogador.ress_targets)
_detalhes.clear:c_container_habilidades (este_jogador.ress_spell_tables)