- Plugin 'Damage Rank': is now called 'Damage, the Game!' and was its levels adjusted to WoD.
- Plugin 'Tiny Threat': fixed player name where it was showing the realm name too. - Plugin 'Vanguard': fixed frame details (clicking on a bar) shown behind the Vanguard panel. - Plugin 'Vanguard': fixed a problem when clicking with right button wasn't opening the bookmark panel. - Plugin 'Vanguard': incoming heals now count shield amount on the player too. - Plugin 'Vanguard' Known Bug: incoming damage and melee vs avoidance seems to be inaccurate by now, we need more time to study and fix it. - Added Twins Ogron's Charge as custom spells, one for the charge by him self and other for the copies (mythic only). - Fixed few issues when using class text colors. - Fixed characters name outside instances, now it replaces the realm name with a * and show the complete name on tooltip. - Fixed damage mitigation on damage taken, this affects only specific classes like monk tank. - Fixed auto erase poping up when the player enters on its garrison. - Fixed segments tooltip showing trash cleanup segments inside garrisons. - Fixed command /details disable, wasn't disabling the capture of cooldowns. - Fixed a problem with fast dps/hps when the window is in a empty segment. - Fixed an issue using bookmark panel where it wasn't changing the display when the window is in a plugin mode.
This commit is contained in:
+11
-3
@@ -53,7 +53,9 @@
|
||||
function _detalhes:FindEnemy()
|
||||
|
||||
local ZoneName, InstanceType, DifficultyID, _, _, _, _, ZoneMapID = _GetInstanceInfo()
|
||||
if (InstanceType == "party" or InstanceType == "raid") then
|
||||
local in_instance = IsInInstance() --> garrison returns party as instance type.
|
||||
|
||||
if ((InstanceType == "party" or InstanceType == "raid") and in_instance) then
|
||||
return Loc ["STRING_SEGMENT_TRASH"]
|
||||
end
|
||||
|
||||
@@ -1045,14 +1047,20 @@
|
||||
|
||||
if (t) then
|
||||
|
||||
if (esta_barra.minha_tabela.serial and esta_barra.minha_tabela.serial ~= "") then
|
||||
local avatar = NickTag:GetNicknameTable (esta_barra.minha_tabela.serial, true)
|
||||
if (objeto.serial and objeto.serial ~= "") then
|
||||
local avatar = NickTag:GetNicknameTable (objeto.serial, true)
|
||||
if (avatar) then
|
||||
if (avatar [2] and avatar [4] and avatar [1]) then
|
||||
GameCooltip:SetBannerImage (1, avatar [2], 80, 40, avatarPoint, avatarTexCoord, nil) --> overlay [2] avatar path
|
||||
GameCooltip:SetBannerImage (2, avatar [4], 200, 55, backgroundPoint, avatar [5], avatar [6]) --> background
|
||||
GameCooltip:SetBannerText (1, avatar [1], textPoint) --> text [1] nickname
|
||||
end
|
||||
else
|
||||
if (_detalhes.remove_realm_from_name and objeto.displayName:find ("%*")) then
|
||||
GameCooltip:SetBannerImage (1, [[Interface\AddOns\Details\images\background]], 20, 30, avatarPoint, avatarTexCoord, {0, 0, 0, 0}) --> overlay [2] avatar path
|
||||
GameCooltip:SetBannerImage (2, [[Interface\PetBattles\Weather-BurntEarth]], 160, 30, {{"bottomleft", "topleft", 0, -5}, {"bottomright", "topright", 0, -5}}, {0.12, 0.88, 1, 0}, {0, 0, 0, 0.1}) --> overlay [2] avatar path {0, 0, 0, 0}
|
||||
GameCooltip:SetBannerText (1, objeto.nome, {"left", "left", 11, -8}, {1, 1, 1, 0.7}, 10, SharedMedia:Fetch ("font", _detalhes.tooltip.fontface)) --> text [1] nickname
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
+10
-1
@@ -83,6 +83,8 @@
|
||||
--combate_overall.end_time = _tempo
|
||||
combate_overall.end_time = GetTime()
|
||||
|
||||
local is_in_instance = select (1, IsInInstance())
|
||||
|
||||
--> inicia a recuperação das tabelas e montagem do overall
|
||||
if (#tabelas_do_historico > 0) then
|
||||
for index, combate in _ipairs (tabelas_do_historico) do
|
||||
@@ -110,7 +112,14 @@
|
||||
for _, esta_classe in _ipairs (atributo) do
|
||||
|
||||
local nome = esta_classe.nome
|
||||
esta_classe.displayName = nome:gsub (("%-.*"), "")
|
||||
|
||||
if (is_in_instance and _detalhes.remove_realm_from_name) then
|
||||
esta_classe.displayName = nome:gsub (("%-.*"), "")
|
||||
elseif (_detalhes.remove_realm_from_name) then
|
||||
esta_classe.displayName = nome:gsub (("%-.*"), "%*")
|
||||
else
|
||||
esta_classe.displayName = nome
|
||||
end
|
||||
|
||||
local shadow
|
||||
|
||||
|
||||
+12
-7
@@ -161,6 +161,7 @@
|
||||
who_name = "[*] "..spellname
|
||||
end
|
||||
|
||||
local real_damage = amount or 0
|
||||
if (absorbed) then
|
||||
amount = absorbed + (amount or 0)
|
||||
end
|
||||
@@ -304,7 +305,7 @@
|
||||
|
||||
this_event [1] = true --> true if this is a damage || false for healing
|
||||
this_event [2] = spellid --> spellid || false if this is a battle ress line
|
||||
this_event [3] = amount --> amount of damage or healing
|
||||
this_event [3] = real_damage --> amount of damage or healing
|
||||
this_event [4] = time --> parser time
|
||||
this_event [5] = _UnitHealth (alvo_name) --> current unit heal
|
||||
this_event [6] = who_name --> source name
|
||||
@@ -373,7 +374,7 @@
|
||||
--> damage taken
|
||||
|
||||
--> target
|
||||
jogador_alvo.damage_taken = jogador_alvo.damage_taken + amount --> adiciona o dano tomado
|
||||
jogador_alvo.damage_taken = jogador_alvo.damage_taken + real_damage --> adiciona o dano tomado
|
||||
if (not jogador_alvo.damage_from [who_name]) then --> adiciona a pool de dano tomado de quem
|
||||
jogador_alvo.damage_from [who_name] = true
|
||||
end
|
||||
@@ -418,8 +419,10 @@
|
||||
--> firendly fire
|
||||
|
||||
if (
|
||||
(_bit_band (alvo_flags, REACTION_FRIENDLY) ~= 0 and _bit_band (who_flags, REACTION_FRIENDLY) ~= 0) or
|
||||
(raid_members_cache [who_serial] and raid_members_cache [alvo_serial])
|
||||
--(
|
||||
(_bit_band (alvo_flags, REACTION_FRIENDLY) ~= 0 and _bit_band (who_flags, REACTION_FRIENDLY) ~= 0) or --ajdt d' brx
|
||||
(raid_members_cache [who_serial] and raid_members_cache [alvo_serial]) --amrl
|
||||
--) and who_name ~= alvo_name
|
||||
) then
|
||||
|
||||
--> record death log
|
||||
@@ -435,7 +438,7 @@
|
||||
|
||||
this_event [1] = true --> true if this is a damage || false for healing
|
||||
this_event [2] = spellid --> spellid || false if this is a battle ress line
|
||||
this_event [3] = amount --> amount of damage or healing
|
||||
this_event [3] = real_damage --> amount of damage or healing
|
||||
this_event [4] = time --> parser time
|
||||
this_event [5] = _UnitHealth (alvo_name) --> current unit heal
|
||||
this_event [6] = who_name --> source name
|
||||
@@ -2532,8 +2535,7 @@
|
||||
_detalhes:EnteredInArena()
|
||||
|
||||
else
|
||||
|
||||
if (zoneType == "raid" or zoneType == "party") then
|
||||
if ((zoneType == "raid" or zoneType == "party") and select (1, IsInInstance())) then
|
||||
_detalhes:CheckForAutoErase (zoneMapID)
|
||||
end
|
||||
|
||||
@@ -2996,6 +2998,9 @@
|
||||
local funcao = token_list [token]
|
||||
|
||||
if (funcao) then
|
||||
--if (token ~= "SPELL_AURA_REFRESH" and token ~= "SPELL_AURA_REMOVED" and token ~= "SPELL_AURA_APPLIED") then
|
||||
-- print ("running func:", token)
|
||||
--end
|
||||
return funcao (nil, token, time, who_serial, who_name, who_flags, alvo_serial, alvo_name, alvo_flags, ... )
|
||||
else
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user