Bug Fixes

This commit is contained in:
Tercio Jose
2023-04-30 18:14:26 -03:00
parent d531fc95ff
commit 17f2fdd05a
10 changed files with 98 additions and 23 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ end
local unpack = unpack
local CreateFrame = CreateFrame
local geterrorhandler = geterrorhandler
local wipe = wipe
--definitions
---@class df_headerchild : uiobject
@@ -69,12 +70,12 @@ detailsFramework.HeaderFunctions = {
---comment
---@param self df_headerchild
ResetFramesToHeaderAlignment = function(self)
table.wipe(self.FramesToAlign)
wipe(self.FramesToAlign)
end,
SetFramesToHeaderAlignment = function(self, ...)
---@cast self df_headerchild
table.wipe(self.FramesToAlign)
wipe(self.FramesToAlign)
self.FramesToAlign = {...}
end,
+4 -2
View File
@@ -37,7 +37,7 @@ if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE and not isExpansion_Dragonflight()) t
end
local major = "LibOpenRaid-1.0"
local CONST_LIB_VERSION = 98
local CONST_LIB_VERSION = 99
if (not LIB_OPEN_RAID_MAX_VERSION) then
LIB_OPEN_RAID_MAX_VERSION = CONST_LIB_VERSION
@@ -1688,7 +1688,9 @@ openRaidLib.internalCallback.RegisterCallback("onLeaveCombat", openRaidLib.UnitI
dataToSend = dataToSend .. playerGearInfo[3] .. "," --weapon enchant
dataToSend = dataToSend .. openRaidLib.PackTable(playerGearInfo[4]) .. "," --slots without enchant
dataToSend = dataToSend .. openRaidLib.PackTable(playerGearInfo[5]) .. "," -- slots with empty gem sockets
dataToSend = dataToSend .. openRaidLib.PackTableAndSubTables(playerGearInfo[6]) --full equipped equipment
dataToSend = dataToSend .. openRaidLib.PackTableAndSubTables(playerGearInfo[6]) .. "," --full equipped equipment
dataToSend = dataToSend .. playerGearInfo[7] .. "," --main hand weapon enchant
dataToSend = dataToSend .. playerGearInfo[8] --off hand weapon enchant
--send the data
openRaidLib.commHandler.SendCommData(dataToSend)
@@ -154,9 +154,33 @@ do
--/dump GetWeaponEnchantInfo()
LIB_OPEN_RAID_WEAPON_ENCHANT_IDS = {
--need update to dragonflight
[5400] = true, --flametongue
[5401] = true, --windfury
[5401] = {spell=33757}, -- Windfury
[5400] = {spell=318038}, -- Flametongue
[6498] = {spell=382021}, -- Earthliving
-- Runes, whetstones, weightstones
[6512] = {tier = 1, item=194823},
[6513] = {tier = 2, item=194823},
[6514] = {tier = 3, item=194823},
[6515] = {tier = 1, item=194826},
[6694] = {tier = 2, item=194826},
[6695] = {tier = 3, item=194826},
[6516] = {tier = 1, item=194820},
[6517] = {tier = 2, item=194820},
[6518] = {tier = 3, item=194820},
[6529] = {tier = 1, item=198162},
[6530] = {tier = 2, item=198162},
[6531] = {tier = 3, item=198162},
[6379] = {tier = 1, item=191940},
[6380] = {tier = 2, item=191940},
[6381] = {tier = 3, item=191940},
[6696] = {tier = 1, item=191945},
[6697] = {tier = 2, item=191945},
[6698] = {tier = 3, item=191945},
}
--buff spellId, the value of the food is the tier level