Difference for server/spell_effect.c from version 1.63 to 1.64


version 1.63 version 1.64
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.63 2001/10/15 21:12:08 garbled Exp $";   *   "$Id: spell_effect.c,v 1.64 2001/10/31 07:00:24 garbled Exp $";
  */   */
   
   
Line 71
 
Line 71
  /* Safety check to make sure we don't get any mana storms in scorn */   /* Safety check to make sure we don't get any mana storms in scorn */
  if (blocks_magic(op->map, op->x, op->y)) {   if (blocks_magic(op->map, op->x, op->y)) {
      new_draw_info(NDI_UNIQUE, 0, op, "The magic warps and you are turned inside out!");       new_draw_info(NDI_UNIQUE, 0, op, "The magic warps and you are turned inside out!");
      hit_player(tmp,9999,op,AT_INTERNAL);       hit_player(tmp,9998,op,AT_INTERNAL);
   
  } else {   } else {
      new_draw_info(NDI_UNIQUE, 0,op,"You lose control of the mana!  The uncontrolled magic blasts you!");       new_draw_info(NDI_UNIQUE, 0,op,"You lose control of the mana!  The uncontrolled magic blasts you!");
Line 648
 
Line 648
       for(tmp=get_map_ob(op->map,op->x+i,op->y+j);tmp!=NULL;tmp=next) {        for(tmp=get_map_ob(op->map,op->x+i,op->y+j);tmp!=NULL;tmp=next) {
         next=tmp->above;          next=tmp->above;
         if(tmp&&QUERY_FLAG(tmp, FLAG_TEAR_DOWN))          if(tmp&&QUERY_FLAG(tmp, FLAG_TEAR_DOWN))
           hit_player(tmp,9999,op,AT_PHYSICAL);            hit_player(tmp,9998,op,AT_PHYSICAL);
       }        }
     }      }
   return 1;    return 1;
Line 2704
 
Line 2704
             new_draw_info(NDI_UNIQUE, 0,plyr,"Your head explodes!");              new_draw_info(NDI_UNIQUE, 0,plyr,"Your head explodes!");
             fire_arch (op, plyr,0, spellarch[SP_L_FIREBALL], SP_L_FIREBALL, 0);              fire_arch (op, plyr,0, spellarch[SP_L_FIREBALL], SP_L_FIREBALL, 0);
                 /* Explodes a large fireball centered at player */                  /* Explodes a large fireball centered at player */
 /*            hit_player(plyr, 9999, op, AT_PHYSICAL);*/  /*            hit_player(plyr, 9998, op, AT_PHYSICAL);*/
      plyr->stats.sp = 2*maxsp;       plyr->stats.sp = 2*maxsp;
   
         }          }


Legend:
line(s) removed in v.1.63 
line(s) changed
 line(s) added in v.1.64

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