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.132 by root, Sat Sep 8 09:46:59 2007 UTC vs.
Revision 1.133 by root, Thu Sep 27 01:25:05 2007 UTC

623 if (i < NROFATTACKS || weapon->stats.hp || /* regeneration */ 623 if (i < NROFATTACKS || weapon->stats.hp || /* regeneration */
624 (weapon->stats.sp && weapon->type == WEAPON) || /* sp regeneration */ 624 (weapon->stats.sp && weapon->type == WEAPON) || /* sp regeneration */
625 weapon->stats.exp || /* speed */ 625 weapon->stats.exp || /* speed */
626 weapon->stats.ac) /* AC - only taifu's I think */ 626 weapon->stats.ac) /* AC - only taifu's I think */
627 { 627 {
628 op->failmsg ("You cannot prepare magic weapons."); 628 op->failmsg ("You cannot prepare magic weapons. "
629 "H<A weapon is considered magical if it changes regeneration, "
630 "speed or ac.>");
629 return 0; 631 return 0;
630 } 632 }
631 633
632 sacrifice_count = check_sacrifice (op, improver); 634 sacrifice_count = check_sacrifice (op, improver);
633 if (sacrifice_count <= 0) 635 if (sacrifice_count <= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines