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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.278 by root, Thu Nov 17 04:49:22 2016 UTC vs.
Revision 1.279 by root, Wed Nov 23 05:56:28 2016 UTC

340 "powerful for you to use. Unready it if you " 340 "powerful for you to use. Unready it if you "
341 "really want to improve it."); 341 "really want to improve it.");
342 return 0; 342 return 0;
343 } 343 }
344 344
345 /* This just increases damage by 5 points, no matter what. No sacrifice 345 /* This just increases damage by 5 points, no matter what. No sacrifice
346 * is needed. Since stats.dam is now a 16 bit value and not 8 bit, 346 * is needed. Since stats.dam is now a 16 bit value and not 8 bit,
347 * don't put any maximum value on damage - the limit is how much the 347 * don't put any maximum value on damage - the limit is how much the
348 * weapon can be improved. 348 * weapon can be improved.
349 */ 349 */
350 if (improver->stats.sp == IMPROVE_DAMAGE) 350 if (improver->stats.sp == IMPROVE_DAMAGE)
351 { 351 {
352 weapon->stats.dam += 5; 352 weapon->stats.dam += 5;
353 weapon->weight += 5000; /* 5 KG's */ 353 weapon->weight += 5000; /* 5 KG's */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines