Difference for server/skills.c from version 1.75 to 1.76


version 1.75 version 1.76
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.75 2006/06/29 06:09:23 mwedel Exp $";   *   "$Id: skills.c,v 1.76 2006/07/28 20:23:30 gros Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1182
 
Line 1182
   
     /* this is a sanity check */      /* this is a sanity check */
     if (scroll->type!=SCROLL) {      if (scroll->type!=SCROLL) {
  new_draw_info(NDI_UNIQUE,0,pl,"A spell can only be inscribed into a scroll!");           new_draw_info(NDI_UNIQUE,0,pl,
               "A spell can only be inscribed into a scroll!");
  return 0;    return 0;
     }      }
   
Line 1205
 
Line 1206
       chosen_spell->name);        chosen_spell->name);
  return 0;   return 0;
     }      }
       /* Prevent an abuse: write a spell you're denied with, then cast it from the
       * written scroll - gros, 28th July 2006 */
       if (chosen_spell->path_attuned & pl->path_denied)
       {
           new_draw_info_format(NDI_UNIQUE,0,pl,
               "The simple idea of writing a scroll of %s makes you sick !",
               query_name(chosen_spell));
           return 0;
       }
   
     /* if there is a spell already on the scroll then player could easily      /* if there is a spell already on the scroll then player could easily
      * accidently read it while trying to write the new one.  give player       * accidently read it while trying to write the new one.  give player


Legend:
line(s) removed in v.1.75 
line(s) changed
 line(s) added in v.1.76

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:46