- Added debuff uptime at misc attribute.

- Added API: instance:InstanceMsg (text, _, textcolor, icontexture, iconcoords).
- Added API: container:ActorCallFunction (func, args) run func for all actors.
- Added member .diff on combat.is_boss table, represent the dificult of raid.
- Disabled captures on Attribute menu now have darkness effect.
- Fixed some tainted which were triggered when dragging a windows.

- Started of major code cleanup.
This commit is contained in:
Tercio
2013-11-05 18:47:19 -02:00
parent f002a7546f
commit 627ab9b91c
20 changed files with 1507 additions and 903 deletions
+8
View File
@@ -66,6 +66,7 @@ function container_combatentes:NovoContainer (tipo_do_container, combatTable, co
end
local function get_class_ (novo_objeto, nome, flag)
local _, engClass = _UnitClass (nome)
if (engClass) then
@@ -461,6 +462,13 @@ function container_combatentes:FuncaoDeCriacao (tipo)
end
end
--> chama a função para ser executada em todos os atores
function container_combatentes:ActorCallFunction (funcao, ...)
for index, actor in _ipairs (self._ActorTable) do
funcao (nil, actor, ...)
end
end
function container_combatentes:remapear()
local mapa = self._NameIndexTable
local conteudo = self._ActorTable