Extend castaurabar functionality to include buffs and debuffs from various sources

This commit is contained in:
PhatDave
2022-01-01 04:04:50 +01:00
parent 5f35c4e4e2
commit 06b11f955c
8 changed files with 774 additions and 26 deletions

View File

@@ -7,12 +7,12 @@ function()
if aura_env.sellPriceThresholds[itemID] then
if v.minPrice > aura_env.sellPriceThresholds[itemID] then
print(itemName, "too expensive")
return true
SendChatMessage("POKE", "WHISPER", nil, UnitName("player"))
end
elseif aura_env.buyPriceThresholds[itemID] then
if v.minPrice < aura_env.buyPriceThresholds[itemID] then
print(itemName, "too cheap")
return true
SendChatMessage("POKE", "WHISPER", nil, UnitName("player"))
end
end
end

View File

@@ -5,6 +5,10 @@ aura_env.sellPriceThresholds = {
[168447] = 5000 * 100 * 100; -- Accord of Haste
[168448] = 5000 * 100 * 100; -- Accord of Mastery
[168449] = 5000 * 100 * 100; -- Accord of Versatility
[168592] = 4500 * 100 * 100; -- Oceanic Restoration
[168496] = 4500 * 100 * 100; -- Force Multiplier
[168593] = 4500 * 100 * 100; -- Machinist's Brilliance
[168598] = 4500 * 100 * 100; -- Naga Hide
}
aura_env.buyPriceThresholds = {