Difference for server/spell_effect.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.9 2000/04/17 14:18:13 jec Exp $";   *   "$Id: spell_effect.c,v 1.10 2000/04/19 11:46:42 jec Exp $";
  */   */
   
   
Line 1513
 
Line 1513
   return 1;    return 1;
 }  }
   
 int create_bomb(object *op,object *caster,int dir,char *name) {  int create_bomb(object *op,object *caster,int dir,int spell_type,char *name) {
   object *tmp;    object *tmp;
   int dx=op->x+freearr_x[dir],dy=op->y+freearr_y[dir];    int dx=op->x+freearr_x[dir],dy=op->y+freearr_y[dir];
   if(wall(op->map,dx,dy)) {    if(wall(op->map,dx,dy)) {
Line 1523
 
Line 1523
   tmp=get_archetype(name);    tmp=get_archetype(name);
   
   /*  level dependencies for bomb  */    /*  level dependencies for bomb  */
   tmp->stats.dam=SP_PARAMETERS[SP_BOMB].bdam + SP_level_dam_adjust(op,caster,SP_BOMB);    tmp->stats.dam=SP_PARAMETERS[spell_type].bdam + SP_level_dam_adjust(op,caster,spell_type);
   tmp->stats.hp=SP_PARAMETERS[SP_BOMB].bdur + SP_level_strength_adjust(op,caster,SP_BOMB);    tmp->stats.hp=SP_PARAMETERS[spell_type].bdur + SP_level_strength_adjust(op,caster,spell_type);
     tmp->level = casting_level (caster, spell_type);
   
   set_owner(tmp,op);    set_owner(tmp,op);
   tmp->x=dx,tmp->y=dy;    tmp->x=dx,tmp->y=dy;


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

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