After looking at the source, it looks like sellrate is being used as a multiplier when calculating price. So, if you want everything to go back to normal (like before this change was made), you can just set all items to have a sellrate of 1, since multiplying by 1 is still the same number
Here is a simple SQL change to help with this:
Code:
update items set sellrate = 1;
I don't really know what the point of having it affect items price to buy from a merchant. It would just make things more confusing when you can simply adjust price to do that. I imagine that wasn't intentional though. It was probably only meant to affect how much merchants will buy items back at. But, it seems like certain items have completely wrong sell rates set. Augment Distillers (at least in my database) have a price of 1 and sellrate in the thousands. I am not really sure what the point of that is. Basically, all that does is set the price at whatever the sellrate is. So, if either field is set to 1, the other will set the exact price of the item.