Skip to content

Commit

Permalink
Fixed the statistics window and statistics recording for raiding
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Sep 29, 2024
1 parent e0e2a61 commit 18c7e06
Show file tree
Hide file tree
Showing 6 changed files with 327 additions and 259 deletions.
1 change: 1 addition & 0 deletions Libs/DF/definitions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
---@field KeybindMixin df_keybindmixin
---@field ScriptHookMixin df_scripthookmixin
---@field EditorMixin df_editormixin
---@field PoolMixin df_pool
---@field ScrollBoxFunctions df_scrollboxmixin
---@field ClassCache {ID:number, Name:string, FileString:string, Texture:string, TexCoord:number[]}[] only available after calling GetClassList()
---@field Math df_math
Expand Down
23 changes: 18 additions & 5 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,20 @@
local storage = {
DiffNames = {"normal", "heroic", "mythic", "raidfinder", "10player", "25player", "10playerheroic", "25playerheroic", "raidfinderclassic", "raidfindertimewalking", "timewalking"},
DiffNamesHash = {normal = 14, heroic = 15, mythic = 16, raidfinder = 17, ["10player"] = 3, ["25player"] = 4, ["10playerheroic"] = 5, ["25playerheroic"] = 6, raidfinderclassic = 7, raidfindertimewalking = 151, timewalking = 33},
DiffIdToName = {[14] = "normal", [15] = "heroic", [16] = "mythic", [17] = "raidfinder", [3] = "10player", [4] = "25player", [5] = "10playerheroic", [6] = "25playerheroic", [7] = "raidfinderclassic", [151] = "raidfindertimewalking", [33] = "timewalking"},
DiffIdToName = {
[14] = "normal",
[15] = "heroic",
[16] = "mythic",
[17] = "raidfinder",
[3] = "10player",
[4] = "25player",
[5] = "10playerheroic",
[6] = "25playerheroic",
[7] = "raidfinderclassic",
[8] = "mythicdungeon",
[151] = "raidfindertimewalking",
[33] = "timewalking"
},
IsDebug = false
}
Details222.storage = storage
Expand Down Expand Up @@ -495,7 +508,7 @@
end
end
end

if (C_UnitAuras and C_UnitAuras.GetAuraDataByIndex) then
Details222.UnitBuff = function(unitToken, index, filter)
local auraData = UnitBuff(unitToken, index, filter)
Expand Down Expand Up @@ -1687,11 +1700,11 @@ Made Details! survive for another expansion (Details! Team).
if not (leftText and rightText) then
break
end

outputTable[#outputTable+1] = {left = leftText:GetText(), right = rightText:GetText()}
end
return Details:Dump(outputTable)

return Details:Dump(outputTable)
end
end
end
Expand Down
Loading

0 comments on commit 18c7e06

Please sign in to comment.