Difference for server/spell_util.c from version 1.39 to 1.40


version 1.39 version 1.40
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_util_c =   * static char *rcsid_spell_util_c =
  *   "$Id: spell_util.c,v 1.39 2000/12/16 02:44:58 peterm Exp $";   *   "$Id: spell_util.c,v 1.40 2000/12/18 07:38:25 cvs Exp $";
  */   */
   
 /*  /*
Line 984
 
Line 984
     SET_ANIMATION(tmp, dir);      SET_ANIMATION(tmp, dir);
   set_owner(tmp,op);    set_owner(tmp,op);
   tmp->level = SK_level (caster);    tmp->level = SK_level (caster);
 #if 0  
   if(op->type==PLAYER)  
     tmp->stats.wc=5+(op->contr->shootstrength-5)/5,  
     tmp->stats.exp=(op->contr->shootstrength-5)/3+12,  
     tmp->stats.hp=8+(op->contr->shootstrength-5)/8;  
 #endif  
   tmp->x+=DIRX(tmp),tmp->y+=DIRY(tmp);    tmp->x+=DIRX(tmp),tmp->y+=DIRY(tmp);
   if(wall(op->map,tmp->x,tmp->y)) {    if(wall(op->map,tmp->x,tmp->y)) {
     if(!QUERY_FLAG(tmp, FLAG_REFLECTING)) {      if(!QUERY_FLAG(tmp, FLAG_REFLECTING)) {
Line 1052
 
Line 1046
     tmp->attacktype|=AT_MAGIC;      tmp->attacktype|=AT_MAGIC;
   if(QUERY_FLAG(tmp, FLAG_IS_TURNABLE))    if(QUERY_FLAG(tmp, FLAG_IS_TURNABLE))
     SET_ANIMATION(tmp, dir);      SET_ANIMATION(tmp, dir);
 #if 0  
   if(op->type==PLAYER)  
     tmp->stats.hp=(op->contr->shootstrength-10)/10+10;  
 #endif  
   if ((tmp = insert_ob_in_map (tmp, op->map, op)) == NULL)    if ((tmp = insert_ob_in_map (tmp, op->map, op)) == NULL)
     return 1;      return 1;
   switch(type) {    switch(type) {


Legend:
line(s) removed in v.1.39 
line(s) changed
 line(s) added in v.1.40

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