Difference for server/spell_attack.c from version 1.30 to 1.31


version 1.30 version 1.31
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_attack_c =   * static char *rcsid_spell_attack_c =
  *   "$Id: spell_attack.c,v 1.30 2005/12/10 14:27:10 akirschbaum Exp $";   *   "$Id: spell_attack.c,v 1.31 2006/01/01 13:39:01 akirschbaum Exp $";
  */   */
   
   
Line 148
 
Line 148
  new_bolt->speed_left = -0.1;   new_bolt->speed_left = -0.1;
  new_bolt->direction = t_dir;   new_bolt->direction = t_dir;
  new_bolt->duration++;   new_bolt->duration++;
  new_bolt->x+=DIRX(new_bolt);   new_bolt->x=sx;
  new_bolt->y+=DIRY(new_bolt);   new_bolt->y=sy;
  new_bolt->stats.dam /= 2;  /* reduce daughter bolt damage */   new_bolt->stats.dam /= 2;  /* reduce daughter bolt damage */
  new_bolt->stats.dam++;   new_bolt->stats.dam++;
  tmp->stats.dam /= 2;  /* reduce father bolt damage */   tmp->stats.dam /= 2;  /* reduce father bolt damage */
  tmp->stats.dam++;   tmp->stats.dam++;
  new_bolt = insert_ob_in_map(new_bolt,op->map,op,0);   new_bolt = insert_ob_in_map(new_bolt,m,op,0);
  update_turn_face(new_bolt);   update_turn_face(new_bolt);
     }      }
 }  }


Legend:
line(s) removed in v.1.30 
line(s) changed
 line(s) added in v.1.31

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