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.138 by elmex, Thu Nov 22 21:37:33 2007 UTC vs.
Revision 1.139 by root, Fri Apr 11 01:15:49 2008 UTC

836 if (armour->magic >= settings.armor_max_enchant) 836 if (armour->magic >= settings.armor_max_enchant)
837 { 837 {
838 op->failmsg ("This armour can not be enchanted any further!"); 838 op->failmsg ("This armour can not be enchanted any further!");
839 return 0; 839 return 0;
840 } 840 }
841
841 /* Dealing with random artifact armor is a lot trickier (in terms of value, weight, 842 /* Dealing with random artifact armor is a lot trickier (in terms of value, weight,
842 * etc), so take the easy way out and don't worry about it. 843 * etc), so take the easy way out and don't worry about it.
843 * Note - maybe add scrolls which make the random artifact versions (eg, armour 844 * Note - maybe add scrolls which make the random artifact versions (eg, armour
844 * of gnarg and what not?) 845 * of gnarg and what not?)
845 */ 846 */
847 { 848 {
848 op->failmsg ("This armour will not accept further enchantment."); 849 op->failmsg ("This armour will not accept further enchantment.");
849 return 0; 850 return 0;
850 } 851 }
851 852
852 /* Split objects if needed. Can't insert tmp until the 853 /* Split objects if needed. Can't insert tmp until the
853 * end of this function - otherwise it will just re-merge. 854 * end of this function - otherwise it will just re-merge.
854 */ 855 */
855 if (armour->nrof > 1) 856 if (armour->nrof > 1)
856 tmp = get_split_ob (armour, armour->nrof - 1); 857 tmp = get_split_ob (armour, armour->nrof - 1);
857 else 858 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines