Barter System Formula

Revision as of 07:07, 28 July 2009 by imported>Gozolo
Buying price = (Item Value * fBarterBuyBase) + (Item Value * Skill * fBarterBuyMult / 100)
Selling price = (Item Value * fBarterSellBase) + (Item Value * Skill * fBarterSellMult / 100)

Item Value is a parameter of the item and can be viewed and edited in G.E.C.K.

Skill is Player's Barter skill. Although most merchants have a high Barter skill it has no effect on the process.

Note that the buying price can't be lower than the Item Value as well as the selling price can't be higher than the Item Value.

Game settings used in these formulae

Setting Default Description
fBarterBuyBase 1.55 Used to calculate base buying (from a vendor) price of the item.
fBarterBuyMult -0.45 Used to calculate a buying (from a vendor) price reduction based on the skill of the player.
fBarterSellBase 0.45 Used to calculate base selling (to a vendor) price of the item.
fBarterSellMult 0.45 Used to calculate the increase of the selling (to a vendor) price of the item based on the skill of the player.