Difference between revisions of "User talk:Gozolo"

Jump to navigation Jump to search
59 bytes added ,  19:40, 26 June 2009
no edit summary
imported>Gozolo
imported>Gozolo
Line 8: Line 8:
Parameters:
Parameters:


fBarterBuyBase (default value = 1.55)
<pre>fBarterBuyBase (default value = 1.55)


fBarterBuyMult (default value = -0.45)
fBarterBuyMult (default value = -0.45)
Line 14: Line 14:
fBarterSellBase (default value = 0.45)
fBarterSellBase (default value = 0.45)


fBarterSellMult (default value = 0.45)
fBarterSellMult (default value = 0.45)</pre>




Buying from a vendor formula:
Buying from a vendor formula:


Price = ( 'Item Value' * fBarterBuyBase ) + ( 'Item Value' * 'Skill' * fBarterBuyMult / 100 )
<pre>Price = ( 'Item Value' * fBarterBuyBase ) + ( 'Item Value' * 'Skill' * fBarterBuyMult / 100 )</pre>




Selling to a vendor formula:
Selling to a vendor formula:


Price = ( 'Item Value' * fBarterSellBase ) + ( 'Item Value' * 'Skill' * fBarterSellMult / 100 )
<pre>Price = ( 'Item Value' * fBarterSellBase ) + ( 'Item Value' * 'Skill' * fBarterSellMult / 100 )</pre>




Line 30: Line 30:


As an example I'll take 'Ol' Painless' Hunting Rifle, which has a value '250'.
As an example I'll take 'Ol' Painless' Hunting Rifle, which has a value '250'.
With default parameters the results will be (considering that Player's 'barter' skill is 50):
With default parameters the results will be (considering that Player's 'barter' skill is 50).
 


Buying from a vendor price will be 331.
Buying from a vendor price will be 331.
Price = ( 250 * 1.55 ) + ( 250 * 50 * (-0.45) / 100 ) = 387.5 - 56.25 = 331.25
 
<pre>Price = ( 250 * 1.55 ) + ( 250 * 50 * (-0.45) / 100 ) = 387.5 - 56.25 = 331.25</pre>
 


Selling to a vendor price will be 169.
Selling to a vendor price will be 169.
Price = ( 250 * 0.45 ) + ( 250 * 50 * 0.45 / 100 ) = 112.5 + 56.25 = 168.75
 
<pre>Price = ( 250 * 0.45 ) + ( 250 * 50 * 0.45 / 100 ) = 112.5 + 56.25 = 168.75</pre>




Line 43: Line 47:
Thanks for your attention. I hope it'll help.
Thanks for your attention. I hope it'll help.


--[[User:Gozolo|gozolo]] 00:27, 27 June 2009 (UTC)
--[[User:Gozolo|gozolo]] 00:40, 27 June 2009 (UTC)
Anonymous user

Navigation menu