Skip to content

Commit

Permalink
Added Compare between segments in the Breakdown Compare tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Feb 28, 2024
1 parent 32adc61 commit ac57a39
Show file tree
Hide file tree
Showing 6 changed files with 1,238 additions and 882 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@ plugins/Details_EncounterDetails/Libs/LibLuaServer/LuaServerDefinitions.lua
plugins/Details_EncounterDetails/Definitions.lua
*.afphoto~lock~
annotations.txt
plugins/Details_Compare2/Definitions.lua
plugins/Details_Compare2/DF/
plugins/Details_Compare2/LibLuaServer/
4 changes: 4 additions & 0 deletions Definitions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,10 @@
---@field GetPets fun(actor: actor) : table<number, string> get a table with all pet names that belong to the player
---@field GetSpellList fun(actor: actor) : table<number, spelltable>
---@field GetSpellContainerNames fun(container: actorcontainer) : string[] get the table which contains the names of the spell containers
---@field GetDisplayName fun(actor: actor) : string Get the display name of the actor. Display name is often the player name without the realm name.
---@field GetActorSpells fun(actor: actor) : spellcontainer get the spell container of the actor
---@field Pets fun(actor: actor) : petname[] get the pets of the actor
---@field

---@class actordamage : actor
---@field friendlyfire_total number
Expand Down
2 changes: 1 addition & 1 deletion frames/window_main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6543,7 +6543,7 @@ local buildSegmentTooltip = function(self, deltaTime)

if (combatInstanceType == "party") then
local combatName, r, g, b = thisCombat:GetCombatName()
gameCooltip:AddLine(combatName, _, 1, r or dungeonColor, b, g, 1)
gameCooltip:AddLine(combatName, _, 1, dungeonColor)

elseif (bossInfo.killed) then
gameCooltip:AddLine(thisCombat:GetCombatName(), _, 1, "lime")
Expand Down
Binary file added images/checked_texture1.tga
Binary file not shown.
Binary file renamed images/icons2.blp → images/icons2.tga
Binary file not shown.
Loading

0 comments on commit ac57a39

Please sign in to comment.