- Fixed pets with the owner name showing twice in the pet name.
- Fixed tooltips not showing pets for the end segment created after a mythic dungeon.
This commit is contained in:
+23
-1
@@ -4335,7 +4335,29 @@ function _detalhes.OpenDetailsDeathRecap (segment, RecapID)
|
||||
|
||||
--segment to use
|
||||
local death = _detalhes.tabela_vigente.last_events_tables
|
||||
|
||||
|
||||
--see if this segment has a death for the player
|
||||
local foundPlayer = false
|
||||
for index = #death, 1, -1 do
|
||||
if (death [index] [3] == _detalhes.playername) then
|
||||
foundPlayer = true
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
--in case a combat has been created after the player death, the death won't be at the current segment
|
||||
if (not foundPlayer) then
|
||||
local segmentHistory = _detalhes:GetCombatSegments()
|
||||
for i = 1, 2 do
|
||||
local segment = segmentHistory [1]
|
||||
if (segment and segment ~= _detalhes.tabela_vigente) then
|
||||
if (_detalhes.tabela_vigente.start_time - 3 < segment.end_time) then
|
||||
death = segment.last_events_tables
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--segments
|
||||
if (_detalhes.death_recap.show_segments) then
|
||||
local last_index = 0
|
||||
|
||||
+24
-1
@@ -211,6 +211,28 @@ function SlashCmdList.DETAILS (msg, editbox)
|
||||
print ("|cFF00FF00No error occured!|r")
|
||||
end
|
||||
|
||||
elseif (msg == "tr") then
|
||||
|
||||
local f = CreateFrame ("frame", nil, UIParent)
|
||||
f:SetSize (300, 300)
|
||||
f:SetPoint ("center")
|
||||
|
||||
-- /run TTT:SetTexture ("Interface\\1024.tga")
|
||||
local texture = f:CreateTexture ("TTT", "background")
|
||||
texture:SetAllPoints()
|
||||
texture:SetTexture ("Interface\\1023.tga")
|
||||
|
||||
local A = DetailsFramework:CreateAnimationHub (texture)
|
||||
|
||||
local b = DetailsFramework:CreateAnimation (A, "ROTATION", 1, 40, 360)
|
||||
b:SetTarget (texture)
|
||||
A:Play()
|
||||
|
||||
C_Timer.NewTicker (1, function()
|
||||
texture:SetTexCoord (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
|
||||
end)
|
||||
|
||||
|
||||
elseif (msg == "realmsync") then
|
||||
|
||||
_detalhes.realm_sync = not _detalhes.realm_sync
|
||||
@@ -1374,7 +1396,8 @@ Damage Update Status: @INSTANCEDAMAGESTATUS
|
||||
startDate = lastSegment:GetDate()
|
||||
end
|
||||
|
||||
_detalhes:Msg ("done merging " .. segmentsAdded .. " segments.")
|
||||
newCombat.is_trash = false
|
||||
_detalhes:Msg ("done merging, segments: " .. segmentsAdded .. ", total time: " .. DetailsFramework:IntegerToTimer (totalTime))
|
||||
|
||||
--[[ --mythic+ debug
|
||||
--> tag the segment as mythic overall segment
|
||||
|
||||
Reference in New Issue
Block a user