From ab0c9cda423291ed66724f9e52206d11e036b23c Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 14 Mar 2016 19:12:32 +0100 Subject: [PATCH] changed bid/buyout filters back to unit price --- core.lua | 2 +- scan_util.lua | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core.lua b/core.lua index 4022792..4d483f1 100644 --- a/core.lua +++ b/core.lua @@ -1,5 +1,5 @@ Aux = { - version = '2.6.15', + version = '2.6.16', blizzard_ui_shown = false, orig = {}, } diff --git a/scan_util.lua b/scan_util.lua index cf2c93b..b2904f6 100644 --- a/scan_util.lua +++ b/scan_util.lua @@ -136,7 +136,7 @@ m.filters = { amount = Aux.money.from_string(amount or '') if amount > 0 then return function(auction_record) - return auction_record.bid_price >= amount + return auction_record.unit_bid_price >= amount end else return false, {}, 'Erroneous Min Bid Modifier' @@ -150,7 +150,7 @@ m.filters = { amount = Aux.money.from_string(amount or '') if amount > 0 then return function(auction_record) - return auction_record.buyout_price >= amount + return auction_record.unit_buyout_price >= amount end else return false, {}, 'Erroneous Min Buyout Modifier' @@ -164,7 +164,7 @@ m.filters = { amount = Aux.money.from_string(amount or '') if amount > 0 then return function(auction_record) - return auction_record.bid_price <= amount + return auction_record.unit_bid_price <= amount end else return false, {}, 'Erroneous Max Bid Modifier' @@ -178,7 +178,7 @@ m.filters = { amount = Aux.money.from_string(amount or '') if amount > 0 then return function(auction_record) - return auction_record.buyout_price > 0 and auction_record.buyout_price <= amount + return auction_record.buyout_price > 0 and auction_record.unit_buyout_price <= amount end else return false, {}, 'Erroneous Max Buyout Modifier'