new history almost done

This commit is contained in:
Manuel Simon Hirsig
2016-02-09 21:42:43 +01:00
parent 451cdcf090
commit 3e49ce721f
7 changed files with 58 additions and 124 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ function m.validator(filter)
end
if filter.max_percent and (record.unit_buyout_price == 0
or not Aux.history.value(record.item_key)
or record.unit_buyout_price / Aux.history.value(record.item_key) * 100 > filter.max_percent)
or record.unit_buyout_price / Aux.history.conservative_value(record.item_key) * 100 > filter.max_percent)
then
return
end