- Damage -> Enemies now also show neutral creatures.
- Added support to dungeons, bosses and trash mobs are now recognized. - Added target information for each spell in Player Detail Window. - Added options for change the location of tooltips. - Added options for change the Overall Data functionality. - Added tooltips for lock and detach buttons. - Added new row texture: 'Details Vidro'. - Revamp on death log tooltips. - Improved the visual effect for the instance which current moving window can snap to. - Fixed issue where warlocks soul link was counting as damage done. - Fixed the attributes shown on Player Detail Window, now when showing Dps for example, all spells and targets also show Dps amount. - Fixed issue with Hotcorners where the quick click functionality wasn't changing on options panel. - Fixed a Hotcorner issue with window mode where the mouse goes outside the wow window. - Fixed bug where new rows created after resize the window was coming with borders. - Fixed bug where resize buttons was below the bars when setting the strata level to Dialog. - You are not prepared plugin had the time alert time increased to 30 seconds, up from 20.
This commit is contained in:
@@ -18,9 +18,12 @@ local _table_insert = table.insert
|
||||
local _bit_band = bit.band
|
||||
local _math_min = math.min
|
||||
--api locals
|
||||
local GetSpellInfo = GetSpellInfo
|
||||
local _GetSpellInfo = _detalhes.getspellinfo
|
||||
local _IsInRaid = IsInRaid
|
||||
local _IsInGroup = IsInGroup
|
||||
local _UnitName = UnitName
|
||||
local _GetNumGroupMembers = GetNumGroupMembers
|
||||
|
||||
local _detalhes = _G._detalhes
|
||||
local _
|
||||
@@ -801,6 +804,36 @@ function atributo_heal:RefreshBarra (esta_barra, instancia, from_resize)
|
||||
|
||||
end
|
||||
|
||||
function _detalhes:CloseShields()
|
||||
|
||||
if (not _IsInRaid()) then
|
||||
return
|
||||
end
|
||||
|
||||
local name_table = {}
|
||||
for i = 1, _GetNumGroupMembers() do
|
||||
name_table [_UnitName ("raid" .. i)] = "raid" .. i
|
||||
end
|
||||
|
||||
local spells_table = {}
|
||||
|
||||
--não da de fechar os escudos, precisa saber o total dele, unitaura nao retorna o valor do escudo
|
||||
for alvo_name, spellid_table in _pairs (escudos) do
|
||||
for spellid, caster_table in _pairs (spellid_table) do
|
||||
if (not spells_table [spellid]) then
|
||||
local spellname = GetSpellInfo (spellid)
|
||||
spells_table [spellid] = spellname
|
||||
end
|
||||
for caster_name, amount in _pairs (caster_table) do
|
||||
local name, _, _, _, _, _, _, unitCaster, _, _, spellid = _UnitAura (name_table [alvo_name], buffIndex, nil, "HELPFUL")
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--escudo [alvo_name] [spellid] [who_name]
|
||||
end
|
||||
|
||||
--------------------------------------------- // TOOLTIPS // ---------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user