Difference for server/spell_attack.c from version 1.19 to 1.20


version 1.19 version 1.20
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_attack_c =   * static char *rcsid_spell_attack_c =
  *   "$Id: spell_attack.c,v 1.19 2005/05/07 11:51:20 tchize Exp $";   *   "$Id: spell_attack.c,v 1.20 2005/07/19 20:59:34 ryo_saeba Exp $";
  */   */
   
   
Line 1158
 
Line 1158
  * Destruction   * Destruction
  ****************************************************************************/   ****************************************************************************/
 /* make_object_glow() - currently only makes living objects glow.  /* make_object_glow() - currently only makes living objects glow.
  * we do this by creating a "force" and inserting it in the    * we do this by creating a force and inserting it in the
  * object. if time is 0, the object glows permanently. To truely   * object. if time is 0, the object glows permanently. To truely
  * make this work for non-living objects, we would have to    * make this work for non-living objects, we would have to
  * give them the capability to have an inventory. b.t.   * give them the capability to have an inventory. b.t.
Line 1171
 
Line 1171
     if(op->path_denied&PATH_LIGHT)       if(op->path_denied&PATH_LIGHT)
  return 0;   return 0;
   
     tmp=get_archetype("force");      tmp=get_archetype(FORCE_NAME);
     tmp->speed = 0.01;      tmp->speed = 0.01;
     tmp->stats.food = time;      tmp->stats.food = time;
     SET_FLAG(tmp, FLAG_IS_USED_UP);      SET_FLAG(tmp, FLAG_IS_USED_UP);
Line 1299
 
Line 1299
     }      }
   
     if(force==NULL) {      if(force==NULL) {
  force=get_archetype("force");   force=get_archetype(FORCE_NAME);
  force->subtype = FORCE_CHANGE_ABILITY;   force->subtype = FORCE_CHANGE_ABILITY;
  free_string(force->name);   free_string(force->name);
  if (spell_ob->race)    if (spell_ob->race)
Line 1881
 
Line 1881
  new_draw_info_format(NDI_UNIQUE, 0, op, "You inflict %s on %s!",disease->name,walk->name);   new_draw_info_format(NDI_UNIQUE, 0, op, "You inflict %s on %s!",disease->name,walk->name);
   
  free_object(disease); /* don't need this one anymore */   free_object(disease); /* don't need this one anymore */
  flash=get_archetype("detect_magic");   flash=get_archetype(ARCH_DETECT_MAGIC);
  flash->x = x;   flash->x = x;
  flash->y = y;   flash->y = y;
  flash->map = walk->map;   flash->map = walk->map;


Legend:
line(s) removed in v.1.19 
line(s) changed
 line(s) added in v.1.20

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