Issue260

Title SHOP: Item sell/buy price affected by stats
Priority feature Status open
Assigned To Keywords
Linked issues Watchers

Submitted on 2011-07-24 19h07 by tracker_migration, last changed by ahuillet.

Messages
Author: tracker_migration Date: 2009-12-21   01h04
Submitted by stedevil
Currently the buy/sell price of an item is only affected by the item base price + magic. A lot of other stats should affect it as well.


Eg for defensive items price should be

BASE * (current_dur / total_dur) * (current_max_dur / durbase for item ) * (DR+DRmod / DR) * "magic"

Author: tracker_migration Date: 2009-12-29   08h08
Posted by salimiles
How about have the price of the item have some factor relative to the amount of money the player has?

If the player has more money, the items will cost more, and sell for less.  My reasoning is this factor could stand for inflation/deflation, and the willingness of Tux to haggle for the best price.

We could even have turning this factor off as a boon for completing the "Saving the shop" quest.
Author: tracker_migration Date: 2010-03-30   23h49
Posted by stedevil
When fixing this, do consider fixing this as well
https://sourceforge.net/tracker/index.php?func=detail&aid=2979518&group_id=54521&atid=474019
Author: salimiles Date: 2011-07-26   22h37
Patch for my money-related pricing is at: http://rb.freedroid.org/r/1327/

Since the bug tracker change, Stedevil's link no longer works.

Update, current (7/26/11) price scheme:
Base + addons
History
Date User Action Args
2011-10-11 09:00:37ahuilletsetpriority: bug -> feature
2011-07-26 22:37:29salimilessetmessages: + msg1308
2011-07-24 19:07:47tracker_migrationcreate