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.7 by root, Sun Jun 25 22:19:42 2006 UTC vs.
Revision 1.8 by root, Mon Jun 26 00:06:43 2006 UTC

1/* 1/*
2 * static char *rcsid_shop_c = 2 * static char *rcsid_shop_c =
3 * "$Id: shop.c,v 1.7 2006/06/25 22:19:42 root Exp $"; 3 * "$Id: shop.c,v 1.8 2006/06/26 00:06:43 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
175 else /* if not identified, presume one charge */ 175 else /* if not identified, presume one charge */
176 val/=50; 176 val/=50;
177 } 177 }
178 178
179 /* Limit amount of money you can get for really great items. */ 179 /* Limit amount of money you can get for really great items. */
180 if (flag==F_TRUE || flag==F_SELL) 180 if (flag==F_SELL)
181 val=value_limit(val, number, who, shop); 181 val=value_limit(val, number, who, shop);
182 182
183 // use a nonlinear price adjustment. as my predecessor said, don't change 183 // use a nonlinear price adjustment. as my predecessor said, don't change
184 // the archetypes, its work required for balancing, and we don't care. 184 // the archetypes, its work required for balancing, and we don't care.
185 val = pow (val / 128., 1.4) * 128.; 185 val = pow (val / 128., 1.4) * 128.;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines