ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/shop.c
(Generate patch)

Comparing deliantra/server/server/shop.c (file contents):
Revision 1.16 by elmex, Mon Jul 10 19:30:12 2006 UTC vs.
Revision 1.17 by root, Tue Jul 11 10:35:20 2006 UTC

1/* 1/*
2 * static char *rcsid_shop_c = 2 * static char *rcsid_shop_c =
3 * "$Id: shop.c,v 1.16 2006/07/10 19:30:12 elmex Exp $"; 3 * "$Id: shop.c,v 1.17 2006/07/11 10:35:20 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
185 if (flag==F_SELL) 185 if (flag==F_SELL)
186 val=value_limit(val, number, who, shop); 186 val=value_limit(val, number, who, shop);
187 187
188 // use a nonlinear price adjustment. as my predecessor said, don't change 188 // use a nonlinear price adjustment. as my predecessor said, don't change
189 // the archetypes, its work required for balancing, and we don't care. 189 // the archetypes, its work required for balancing, and we don't care.
190 val = pow (val, 1.2); 190 //val = pow (val, 1.05);
191 191
192 /* This modification is for bargaining skill. 192 /* This modification is for bargaining skill.
193 * Now only players with max level in bargaining 193 * Now only players with max level in bargaining
194 * AND Cha = 30 will get optimal price. 194 * AND Cha = 30 will get optimal price.
195 * Thus charisma will never get useless. 195 * Thus charisma will never get useless.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines