WoWInterface SVN AtlasLootReverse

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 37 to Rev 39
    Reverse comparison

Rev 37 → Rev 39

AtlasLootReverse.lua
71,14 → 71,19
[45038] = true, -- Frag
[46017] = true, -- Hammer
[47242] = true, -- Trophy
[49908] = true, -- Primordial Saronite
[50274] = true, -- Shadowfrost Shard
[52025] = true, -- VMoS
[52026] = true, -- PMoS
[52027] = true, -- CMoS
}
wipe(db.whoTable) -- Wipe the table
AtlasLoot:LoadModule("all") -- Force AtlasLoot to load all modules
for _,itable in pairs(AtlasLoot_Data) do
for k,v in pairs(itable) do
if k == "Normal" or k == "Heroic" or k == "25Man" or k == "25ManHeroic" then
for k2,v2 in pairs(v) do
if type(v2[1]) == "table" and type(v2[1][2]) == "number" and v2[1][2] > 0 and not excludes[v2[1][2]] and itable.info.name ~= "Keys" then
for k2,v2 in pairs(v[1]) do
if type(v2) == "table" and type(v2[2]) == "number" and v2[2] > 0 and not excludes[v2[2]] and itable.info.name ~= "Keys" then
zone = ""
if itable.info.instance and AtlasLoot_LootTableRegister.Instances[itable.info.instance] then
zone = AtlasLoot_LootTableRegister.Instances[itable.info.instance].Info[1]
95,12 → 100,12
zone = " (" .. zone .. ")"
end
-- Check to see if it drops from multiple people
if (db.whoTable[v2[1][2]]) then
if not string.find(db.whoTable[v2[1][2]], itable.info.name .. zone, 1, true) then
db.whoTable[v2[1][2]] = db.whoTable[v2[1][2]] .. "|" .. itable.info.name .. zone
if (db.whoTable[v2[2]]) then
if not string.find(db.whoTable[v2[2]], itable.info.name .. zone, 1, true) then
db.whoTable[v2[2]] = db.whoTable[v2[2]] .. "|" .. itable.info.name .. zone
end
else
db.whoTable[v2[1][2]] = itable.info.name .. zone
db.whoTable[v2[2]] = itable.info.name .. zone
end
end
end
AtlasLootReverse.toc
1,7 → 1,7
## Interface: 40000
## Title: AtlasLootReverse
## Notes: Does a reverse lookup of AtlasLoot for an item's drop info.
## Version: 1.9
## Version: 1.10
## Author: pceric
## SavedVariables: AtlasLootReverseDB
## X-Website: http://www.wowinterface.com/downloads/info12834-AtlasLootReverse.html