added FixedItemIDsDatabase so things we want to keep dont get over written
This commit is contained in:
@@ -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
|
||||
@@ -5,6 +5,7 @@
|
||||
<Script file="ItemIDsDatabase.lua"/>
|
||||
<Script file="ItemIDsDatabase2.lua"/>
|
||||
<Script file="ItemIDsDatabase3.lua"/>
|
||||
<Script file="FixedItemIDsDatabase.lua"/>
|
||||
|
||||
<!--Default Files-->
|
||||
<Script file="Filter.lua"/>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
--Items not added from generated file
|
||||
FixedItemIDsDatabase = {};
|
||||
FixedItemIDsDatabase["Bottled Nethergron Extract"] = {6053891, 2032902, 2232902, 2332902};
|
||||
FixedItemIDsDatabase["Mmrgrg glm Nuubs"] = {6044831, 44831, 344831, 244831};
|
||||
FixedItemIDsDatabase["Alembic of Infernal Power"] = {6027896, 27896, 27896, 427896};
|
||||
@@ -578,6 +578,6 @@ ItemIDsDatabase["Monster - Fist, Zul'Aman (Offhand)"] = {6053890, 53890, 397993,
|
||||
|
||||
|
||||
--Items not added from generated file
|
||||
ItemIDsDatabase["Bottled Nethergron Extract"] = {6053891, 2032902, 2232902, 2332902};
|
||||
ItemIDsDatabase["Mmrgrg glm Nuubs"] = {6044831, 44831, 344831, 244831};
|
||||
ItemIDsDatabase["Alembic of Infernal Power"] = {6027896, 27896, 27896, 427896};
|
||||
ItemIDsDatabase["Bottled Nethergron Extract"] = {6053891, 53890, 2232902, 2332902};
|
||||
ItemIDsDatabase["Mmrgrg glm Nuubs"] = {6044831, 53890, 344831, 244831};
|
||||
ItemIDsDatabase["Alembic of Infernal Power"] = {53890, 27896, 27896, 427896};
|
||||
|
||||
Reference in New Issue
Block a user