395 lines
8.0 KiB
Lua
395 lines
8.0 KiB
Lua
aura_env.debug = true
|
|
aura_env.filter = {
|
|
[1] = true, --Gold
|
|
[2] = true, --Azerite
|
|
[3] = true, --War resources
|
|
[4] = true, --Residuum
|
|
[5] = true, --Manapearls
|
|
[6] = true, --Mounts
|
|
[7] = true, --High ilvl
|
|
[8] = false, --Herbs
|
|
[9] = true, --Cooking
|
|
[10] = true, --Cloth
|
|
[11] = false, --Metal & Stone
|
|
[12] = true, --Gold filter greys
|
|
[13] = true, -- >1 && <4 quality items, no gear
|
|
[14] = true, --Quest items
|
|
[15] = true, --All greys
|
|
[16] = true, --Whitelist
|
|
[17] = true, --Quest items (different filter)
|
|
[18] = true, --Class aproperiate >2 items
|
|
[19] = true, --Jewelery >2 quality
|
|
[20] = true, --Additional mount filter
|
|
[21] = true, --Tradeskill // Elemental
|
|
}
|
|
aura_env.ilvlFilter = 200
|
|
aura_env.goldFilter = 0.5
|
|
aura_env.goldFilter = aura_env.goldFilter * 10000
|
|
aura_env.throttleSell = false
|
|
|
|
aura_env.whitelist = {
|
|
["Pygmy Suckerfish"] = 1,
|
|
["Drakkari Offerings"] = 1,
|
|
["Deepcoral Pod"] = 1,
|
|
["Hardened Spring"] = 1,
|
|
["Machined Gear Assembly"] = 1,
|
|
["Tempered Plating"] = 1,
|
|
["Hefty Glimmershell"] = 1,
|
|
["Fresh Meat"] = 1,
|
|
["Wood"] = 1,
|
|
|
|
["Gloom Dust"] = 1,
|
|
["Veiled Crytal"] = 1,
|
|
["Coalescing Visions"] = 1,
|
|
["Echoes of Ny'alotha"] = 1,
|
|
["Corrupted Mementos"] = 1,
|
|
|
|
["Blood of Sargeras"] = 1,
|
|
["Primal Sargerite"] = 1,
|
|
|
|
["Chain Ignitercoil"] = 1,
|
|
["Galvanic Oscillator"] = 1,
|
|
["Corrupted Memento"] = 1,
|
|
}
|
|
aura_env.sellWhitelist = {
|
|
["Blacksmith Hammer"] = 1,
|
|
["Endless Tincture of Renewed Combat"] = 1,
|
|
["Mr. Munchykins"] = 1,
|
|
["Arclight Spanner"] = 1,
|
|
["Runeblade of Baron Rivendare"] = 1,
|
|
}
|
|
aura_env.toSell = {}
|
|
aura_env.getequipID = function(equip)
|
|
if equip == "INVTYPE_HEAD" then
|
|
return 1
|
|
elseif equip == "INVTYPE_NECK" then
|
|
return 2
|
|
elseif equip == "INVTYPE_SHOULDER" then
|
|
return 3
|
|
elseif equip == "INVTYPE_BODY" then
|
|
return 4
|
|
elseif equip == "INVTYPE_CHEST" or equip == "INVTYPE_ROBE" then
|
|
return 5
|
|
elseif equip == "INVTYPE_WAIST" then
|
|
return 6
|
|
elseif equip == "INVTYPE_LEGS" then
|
|
return 7
|
|
elseif equip == "INVTYPE_FEET" then
|
|
return 8
|
|
elseif equip == "INVTYPE_WRIST" then
|
|
return 9
|
|
elseif equip == "INVTYPE_HAND" then
|
|
return 10
|
|
elseif equip == "INVTYPE_CLOAK" then
|
|
return 15
|
|
elseif equip == "INVTYPE_WEAPON" or equip == "INVTYPE_WEAPONMAINHAND" or equip == "INVTYPE_2HWEAPON" then
|
|
return 16
|
|
elseif equip == "INVTYPE_SHIELD" then
|
|
return 17
|
|
else
|
|
return nil
|
|
end
|
|
end
|
|
aura_env.skills = {
|
|
--Warrior
|
|
[1] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 0,
|
|
["Mail"] = 0,
|
|
["Plate"] = 1,
|
|
["Shields"] = 1,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 1,
|
|
["Two-Handed Axes"] = 1,
|
|
["Bows"] = 1,
|
|
["Guns"] = 1,
|
|
["One-Handed Maces"] = 1,
|
|
["Two-Handed Maces"] = 1,
|
|
["Polearms"] = 1,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 1,
|
|
["Warglaives"] = 1,
|
|
["Staves"] = 1,
|
|
["Fist Weapons"] = 1,
|
|
["Daggers"] = 1,
|
|
["Crossbows"] = 1,
|
|
["Wands"] = 0,
|
|
},
|
|
--Paladin
|
|
[2] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 0,
|
|
["Mail"] = 0,
|
|
["Plate"] = 1,
|
|
["Shields"] = 1,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 1,
|
|
["Two-Handed Axes"] = 1,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 1,
|
|
["Two-Handed Maces"] = 1,
|
|
["Polearms"] = 1,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 1,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 0,
|
|
["Fist Weapons"] = 0,
|
|
["Daggers"] = 0,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 0,
|
|
},
|
|
--Hunter
|
|
[3] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 0,
|
|
["Mail"] = 1,
|
|
["Plate"] = 0,
|
|
["Shields"] = 0,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 1,
|
|
["Two-Handed Axes"] = 1,
|
|
["Bows"] = 1,
|
|
["Guns"] = 1,
|
|
["One-Handed Maces"] = 0,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 1,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 1,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 1,
|
|
["Fist Weapons"] = 1,
|
|
["Daggers"] = 1,
|
|
["Crossbows"] = 1,
|
|
["Wands"] = 0,
|
|
},
|
|
--Rogue
|
|
[4] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 1,
|
|
["Mail"] = 0,
|
|
["Plate"] = 0,
|
|
["Shields"] = 0,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 1,
|
|
["Two-Handed Axes"] = 0,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 1,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 0,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 0,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 0,
|
|
["Fist Weapons"] = 1,
|
|
["Daggers"] = 1,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 0,
|
|
},
|
|
--Priest
|
|
[5] = {
|
|
--Armor Skills
|
|
["Cloth"] = 1,
|
|
["Leather"] = 0,
|
|
["Mail"] = 0,
|
|
["Plate"] = 0,
|
|
["Shields"] = 0,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 0,
|
|
["Two-Handed Axes"] = 0,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 1,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 0,
|
|
["One-Handed Swords"] = 0,
|
|
["Two-Handed Swords"] = 0,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 1,
|
|
["Fist Weapons"] = 0,
|
|
["Daggers"] = 1,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 1,
|
|
},
|
|
--Death Knight
|
|
[6] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 0,
|
|
["Mail"] = 0,
|
|
["Plate"] = 1,
|
|
["Shields"] = 0,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 1,
|
|
["Two-Handed Axes"] = 1,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 1,
|
|
["Two-Handed Maces"] = 1,
|
|
["Polearms"] = 1,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 1,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 0,
|
|
["Fist Weapons"] = 0,
|
|
["Daggers"] = 0,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 0,
|
|
},
|
|
--Shaman
|
|
[7] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 0,
|
|
["Mail"] = 1,
|
|
["Plate"] = 0,
|
|
["Shields"] = 1,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 1,
|
|
["Two-Handed Axes"] = 0,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 1,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 0,
|
|
["One-Handed Swords"] = 0,
|
|
["Two-Handed Swords"] = 0,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 1,
|
|
["Fist Weapons"] = 1,
|
|
["Daggers"] = 1,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 0,
|
|
},
|
|
--Mage
|
|
[8] = {
|
|
--Armor Skills
|
|
["Cloth"] = 1,
|
|
["Leather"] = 0,
|
|
["Mail"] = 0,
|
|
["Plate"] = 0,
|
|
["Shields"] = 0,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 0,
|
|
["Two-Handed Axes"] = 0,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 0,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 0,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 0,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 1,
|
|
["Fist Weapons"] = 0,
|
|
["Daggers"] = 1,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 1,
|
|
},
|
|
--Warlock
|
|
[9] = {
|
|
--Armor Skills
|
|
["Cloth"] = 1,
|
|
["Leather"] = 0,
|
|
["Mail"] = 0,
|
|
["Plate"] = 0,
|
|
["Shields"] = 0,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 0,
|
|
["Two-Handed Axes"] = 0,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 0,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 0,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 0,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 1,
|
|
["Fist Weapons"] = 0,
|
|
["Daggers"] = 1,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 1,
|
|
},
|
|
--Monk
|
|
[10] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 1,
|
|
["Mail"] = 0,
|
|
["Plate"] = 1,
|
|
["Shields"] = 1,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 1,
|
|
["Two-Handed Axes"] = 0,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 1,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 1,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 0,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 1,
|
|
["Fist Weapons"] = 1,
|
|
["Daggers"] = 0,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 0,
|
|
},
|
|
--Druid
|
|
[11] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 1,
|
|
["Mail"] = 0,
|
|
["Plate"] = 0,
|
|
["Shields"] = 0,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 0,
|
|
["Two-Handed Axes"] = 0,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 1,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 1,
|
|
["One-Handed Swords"] = 0,
|
|
["Two-Handed Swords"] = 0,
|
|
["Warglaives"] = 0,
|
|
["Staves"] = 1,
|
|
["Fist Weapons"] = 1,
|
|
["Daggers"] = 1,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 0,
|
|
},
|
|
--Demon Hunter
|
|
[12] = {
|
|
--Armor Skills
|
|
["Cloth"] = 0,
|
|
["Leather"] = 1,
|
|
["Mail"] = 0,
|
|
["Plate"] = 0,
|
|
["Shields"] = 0,
|
|
--Weapon Skills
|
|
["One-Handed Axes"] = 1,
|
|
["Two-Handed Axes"] = 0,
|
|
["Bows"] = 0,
|
|
["Guns"] = 0,
|
|
["One-Handed Maces"] = 0,
|
|
["Two-Handed Maces"] = 0,
|
|
["Polearms"] = 0,
|
|
["One-Handed Swords"] = 1,
|
|
["Two-Handed Swords"] = 0,
|
|
["Warglaives"] = 1,
|
|
["Staves"] = 0,
|
|
["Fist Weapons"] = 1,
|
|
["Daggers"] = 0,
|
|
["Crossbows"] = 0,
|
|
["Wands"] = 0,
|
|
},
|
|
}
|