Difference for server/spell_attack.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_attack_c =   * static char *rcsid_spell_attack_c =
  *   "$Id: spell_attack.c,v 1.5 2004/02/23 06:06:30 mwedel Exp $";   *   "$Id: spell_attack.c,v 1.6 2004/02/24 05:43:58 mwedel Exp $";
  */   */
   
   
Line 710
 
Line 710
      tmp->y=y;       tmp->y=y;
   
      tmp->duration = op->duration + 1;       tmp->duration = op->duration + 1;
   
        /* Use for spell tracking - see ok_to_put_more() */
        tmp->stats.maxhp = op->stats.maxhp;
      insert_ob_in_map(tmp,op->map,op,0);       insert_ob_in_map(tmp,op->map,op,0);
      if (tmp->other_arch) cone_drop(tmp);       if (tmp->other_arch) cone_drop(tmp);
  }   }
Line 825
 
Line 828
  spell->other_arch->name);   spell->other_arch->name);
  }   }
  insert_ob_in_map(tmp,op->map,op,0);   insert_ob_in_map(tmp,op->map,op,0);
   
    /* This is used for tracking spells so that one effect doesn't hit
    * a single space too many times.
    */
    tmp->stats.maxhp = tmp->count;
   
  if(tmp->other_arch) cone_drop(tmp);   if(tmp->other_arch) cone_drop(tmp);
     }      }
     return success;      return success;


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

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