changed bid/buyout filters back to unit price

This commit is contained in:
Manuel Simon Hirsig
2016-03-14 19:12:32 +01:00
parent f7dc51cc7e
commit ab0c9cda42
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
Aux = {
version = '2.6.15',
version = '2.6.16',
blizzard_ui_shown = false,
orig = {},
}
+4 -4
View File
@@ -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'