turtle-wow: add selldata of custom items

This commit is contained in:
shagu
2023-10-31 01:20:06 +01:00
parent 2cff0c26b8
commit cf8169736f
2 changed files with 2608 additions and 5 deletions
+2605 -2
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -3861,7 +3861,7 @@ local data_tbc = {
[38576]=0, [38626]=2, [38628]=100000 }
if GetExpansion() == "tbc" then
if GetExpansion() == "tbc" then
for k,v in pairs(data_tbc) do data[k] = v end
end
@@ -3878,8 +3878,8 @@ local function GetItemLinkByName(name)
end
local function AddVendorPrices(frame, id, count)
if data[id] and data[id] > 0 then
SetTooltipMoney(frame, data[id] * count)
if ShaguTweaks.SellValueDB[id] and ShaguTweaks.SellValueDB[id] > 0 then
SetTooltipMoney(frame, ShaguTweaks.SellValueDB[id] * count)
frame:Show()
end
end