1.15.0 Test Version
- Implemented a early support for Dungeons: the addon is now capable of distinguishing dungeon boss and trash mobs. not all bosses are implemented yet, atm is: *Mogu'Shan Palace *Temple of the Jade Serpent *Stormstout Brewery - Implemented Overall Data: Options for it are under combat tab. - Implemented spell targets on Player Details Window. Also, fixed lots of small issues like showing damage done where clicking on a Dps bar.
This commit is contained in:
+20
-4
@@ -5,7 +5,8 @@ do
|
||||
|
||||
local _rawget = rawget
|
||||
local _setmetatable = setmetatable
|
||||
|
||||
local _ipairs = ipairs
|
||||
|
||||
--> default weaktable
|
||||
_detalhes.weaktable = {__mode = "v"}
|
||||
|
||||
@@ -18,12 +19,27 @@ do
|
||||
end
|
||||
meus_links [#meus_links+1] = objeto
|
||||
end
|
||||
|
||||
--> check if there is a link between tables
|
||||
function _detalhes:EstaoLinkados (objeto)
|
||||
local meus_links = _rawget (self, "links")
|
||||
if (not meus_links) then
|
||||
return false
|
||||
end
|
||||
for index, actor in _ipairs (meus_links) do
|
||||
if (actor == objeto) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
--> create the link
|
||||
function _detalhes:CriaLink (link)
|
||||
--> se tiver a tabela no overall
|
||||
if (link) then
|
||||
link:FazLinkagem (self)
|
||||
end
|
||||
--if (link) then
|
||||
-- link:FazLinkagem (self)
|
||||
--end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user