This commit is contained in:
Spit
2024-12-17 15:19:46 +03:00
parent 712519abf1
commit 0282c19601
2 changed files with 9 additions and 6 deletions
+5 -5
View File
@@ -640,11 +640,11 @@ function AtlasLoot_EnchantingMenu()
AtlasLootMenuItem_14.lootpage="EnchantingShield1";
AtlasLootMenuItem_14:Show();
--Enchanting Misc
AtlasLootMenuItem_14_Name:SetText(AL["Enchanting"]..": "..AL["Misc"]);
AtlasLootMenuItem_14_Extra:SetText("");
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_14.lootpage="EnchantingMisc1";
AtlasLootMenuItem_14:Show();
AtlasLootMenuItem_15_Name:SetText(AL["Enchanting"]..": "..AL["Misc"]);
AtlasLootMenuItem_15_Extra:SetText("");
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_15.lootpage="EnchantingMisc1";
AtlasLootMenuItem_15:Show();
for i = 1, 30, 1 do
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
end
+4 -1
View File
@@ -134,7 +134,10 @@ end
local lastItemID, lastSourceStr, lastDropRate
function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
if AtlasLootCharDB.ShowSource ~= true then return end
if AtlasLootCharDB.ShowSource ~= true or IsShiftKeyDown() then
return
end
local originalTooltip = {}
local itemName = getglobal(tooltipTypeStr .. "TextLeft1"):GetText()
local line2 = getglobal(tooltipTypeStr .. "TextLeft2")