Difference between revisions of "Barter System Formula"
Jump to navigation
Jump to search
imported>Gozolo (New page: Buying price = (Item Value * fBarterBuyBase) + (Item Value * Skill * fBarterBuyMult / 100) Selling price = (Item Value * fBarterSellBase) + (Item Value * Skill * fBarterSellMult / 100) ...) |
imported>Gozolo |
||
Line 9: | Line 9: | ||
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'''. | 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 | === Game settings used in these formulae === | ||
{{SettingGroupHeader}} | {{SettingGroupHeader}} |
Revision as of 07:07, 28 July 2009
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. |