From 193496dd5dbb1b2e0b88a1427bf7c3e2783e04f1 Mon Sep 17 00:00:00 2001 From: Anch Date: Mon, 31 Jan 2022 18:30:31 +1300 Subject: [PATCH] added FixedItemIDsDatabase so things we want to keep dont get over written --- AtlasLoot/Core/AtlasLoot.lua | 5 +++-- AtlasLoot/Core/AtlasLoot.xml | 1 + AtlasLoot/Core/FixedItemIDsDatabase.lua | 5 +++++ AtlasLoot/Core/ItemIDsDatabase3.lua | 6 +++--- 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 AtlasLoot/Core/FixedItemIDsDatabase.lua diff --git a/AtlasLoot/Core/AtlasLoot.lua b/AtlasLoot/Core/AtlasLoot.lua index bd5f3de..498853a 100644 --- a/AtlasLoot/Core/AtlasLoot.lua +++ b/AtlasLoot/Core/AtlasLoot.lua @@ -1374,9 +1374,10 @@ Finds the Ids of other difficulties based on the name of the item and the diffic On the form of {Name, {normal, heroic, mythic, mythic1, mythic2, ... ,mythicN}} ]] function AL_FindId(name, difficulty) - if ItemIDsDatabase[name] ~= nil then + if FixedItemIDsDatabase[name] ~= nil then + return FixedItemIDsDatabase[name][difficulty], true + elseif ItemIDsDatabase[name] ~= nil then return ItemIDsDatabase[name][difficulty], true end - return nil, false; end \ No newline at end of file diff --git a/AtlasLoot/Core/AtlasLoot.xml b/AtlasLoot/Core/AtlasLoot.xml index 7a882c6..a39b96e 100644 --- a/AtlasLoot/Core/AtlasLoot.xml +++ b/AtlasLoot/Core/AtlasLoot.xml @@ -5,6 +5,7 @@