From 7b2b96a0ef53db0417b19839c71d66e9f6e3da5a Mon Sep 17 00:00:00 2001 From: Lexie <6937574+Lexiebean@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:08:38 +1000 Subject: [PATCH] SuperWoW Support --- Core/AtlasLoot.lua | 7 ++++++- Factions/factions.lua | 4 ++-- Instances/instances.en.lua | 9 ++++----- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Core/AtlasLoot.lua b/Core/AtlasLoot.lua index d666c5c..2dfdfa4 100644 --- a/Core/AtlasLoot.lua +++ b/Core/AtlasLoot.lua @@ -3349,6 +3349,7 @@ function AtlasLootItem_OnEnter() if( this.droprate ~= nil) then AtlasLootTooltip:AddLine(AL["Drop Rate: "]..this.droprate, 1, 1, 0); end + --QuestTest_TooltipUpdate(AtlasLootTooltip,"item:"..this.itemID..":0:0:0") AtlasLootTooltip:Show(); else AtlasLootTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 24); @@ -3366,7 +3367,11 @@ function AtlasLootItem_OnEnter() spellID = tonumber(string.sub(this.itemID, 2)); AtlasLootTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 24); AtlasLootTooltip:ClearLines(); - AtlasLootTooltip:SetHyperlink("enchant:"..spellID); + if SetAutoloot == nil then + AtlasLootTooltip:SetHyperlink("enchant:"..spellID) + else + AtlasLootTooltip:SetHyperlink("spell:"..spellID); + end if ( AtlasLootCharDB.ItemIDs ) then AtlasLootTooltip:AddLine(BLUE..AL["SpellID:"].." "..spellID, nil, nil, nil, 1); end diff --git a/Factions/factions.lua b/Factions/factions.lua index 1ecf6b7..da80184 100644 --- a/Factions/factions.lua +++ b/Factions/factions.lua @@ -548,8 +548,8 @@ AtlasLoot_Data["AtlasLootRepItems"] = { Helf2 = { { 0, "INV_Staff_13", "=q3=Cloaks", "" }, { 80505, "inv_misc_cape_10", "=q3=Quel'dorei Hero's Cape", "=ds=#s4#" }, - { 80506, "inv_misc_cape_16", "=q3=Quel'dorei Hero's Cloak", "=ds=#s4#" }, { 80527, "inv_misc_cape_16", "=q3=Quel'dorei Hero's Drape", "=ds=#s4#" }, + { 80506, "inv_misc_cape_16", "=q3=Quel'dorei Hero's Cloak", "=ds=#s4#" }, { 0, "", "", "" }, { 0, "INV_Staff_13", "=q2=Weapons", "" }, { 80502, "Inv_staff_38", "=q2=Curved Ceremonial Staff", "=ds=#w9#" }, @@ -638,8 +638,8 @@ AtlasLoot_Data["AtlasLootRepItems"] = { Revantusk2 = { { 0, "INV_Misc_Head_Troll_01", "=q2=Cloaks", "" }, { 80605, "INV_Misc_Cape_15", "=q3=Revantusk Hero's Cape", "=ds=#s4#, #a1#" }, - { 80606, "INV_Misc_Cape_18", "=q3=Revantusk Hero's Cloak", "=ds=#s4#, #a1#" }, { 80627, "INV_Misc_Cape_17", "=q3=Revantusk Hero's Drape", "=ds=#s4#, #a1#" }, + { 80606, "INV_Misc_Cape_18", "=q3=Revantusk Hero's Cloak", "=ds=#s4#, #a1#" }, { 0, "", "", "" }, { 0, "INV_Misc_Head_Troll_01", "=q2=Weapons", "" }, { 80602, "INV_Staff_Goldfeathered_01", "=q2=Crude Channeling Staff", "=ds=#h2#, #w9#" }, diff --git a/Instances/instances.en.lua b/Instances/instances.en.lua index 50607db..aa8e1cf 100644 --- a/Instances/instances.en.lua +++ b/Instances/instances.en.lua @@ -4392,8 +4392,6 @@ AtlasLoot_Data["AtlasLootItems"] = { { 11934, "INV_Jewelry_Ring_24", "=q3=Emperor's Seal", "=ds=#s13# =q2=#e31#", "20%" }, { 11928, "INV_Mace_13", "=q3=Thaurissan's Royal Scepter", "=ds=#s15#", "20%" }, { 11932, "INV_Staff_30", "=q3=Guiding Stave of Wisdom", "=ds=#w9#", "20%" }, - { 0, "", "", "" }, - { 51217, "INV_misc_ribbon_01", "=q2=Fashion Coin", "=ds=#e27#", "5%" }, }; BRDPrincess = { { 12557, "INV_Shoulder_25", "=q3=Ebonsteel Spaulders", "=ds=#s3#, #a4#", "25%" }, @@ -4591,6 +4589,7 @@ AtlasLoot_Data["AtlasLootItems"] = { { 18315, "INV_Jewelry_Ring_28", "=q3=Ring of Demonic Potency", "=ds=#s13#", "10%" }, { 0, "", "", "" }, { 51217, "INV_misc_ribbon_01", "=q2=Fashion Coin", "=ds=#e27#", "100%" }, + { 83574, "inv_misc_book_11", "=q3=Book of Wrath IX", "=ds=#e20#, =q13=#c1#", "10%" }, }; DMEShard = { { 18501, "INV_Enchant_ShardRadientSmall", "=q1=Felvine Shard", "=ds=#m8#" }, @@ -5191,7 +5190,7 @@ AtlasLoot_Data["AtlasLootItems"] = { { 81125, "inv_misc_orb_03", "=q3=Inquisitor's Orb", "=ds=#h4#", "10%" }, { 81131, "inv_helmet_19", "=q3=Helmet of the Scarlet Avenger", "=ds=#a4#, #s1#", "10%" }, { 0, "", "", "", "" }, - { 83575, "inv_misc_book_09", "=q3=Codex of Smite IX", "=ds=#e20#", "10%" }, + { 83575, "inv_misc_book_09", "=q3=Codex of Smite IX", "=ds=#e20#, =q9=#c5#", "10%" }, { 0, "", "", "", "" }, { 51217, "INV_misc_ribbon_01", "=q2=Fashion Coin", "=ds=#e27#", "5%" }, }; @@ -6627,7 +6626,7 @@ AtlasLoot_Data["AtlasLootItems"] = { { 0, "", "", "" }, { 61428, "INV_Scroll_05", "=q4=Pattern: Dreamhide Mantle", "=ds=#p7# #m14#", "4%" }, { 61432, "INV_Scroll_05", "=q4=Pattern: Dreamthread Mantle", "=ds=#p7# #m14#", "4%" }, - { 61424, "INV_Scroll_05", "=q4=Plans: Dreamsteel Mantle", "=ds=#p7# #m14#", "4%" }, + { 61424, "INV_Scroll_05", "=q4=Plans: Dreamsteel Mantle", "=ds=#p2# #m14#", "4%" }, { 0, "", "", "" }, { 0, "", "", "" }, { 0, "", "", "" }, @@ -6661,4 +6660,4 @@ AtlasLoot_Data["AtlasLootItems"] = { { 54001, "INV_Crate_02", "=q2=Dream Frog", "=ds=#e15#", "0.08%" }, }; -}; \ No newline at end of file +};