Difference for server/spell_effect.c from version 1.141 to 1.142


version 1.141 version 1.142
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.141 2005/10/07 19:38:50 akirschbaum Exp $";   *   "$Id: spell_effect.c,v 1.142 2005/10/16 08:48:30 ryo_saeba Exp $";
  */   */
   
   
Line 734
 
Line 734
     if(op->type!=PLAYER)      if(op->type!=PLAYER)
  return 0;   return 0;
   
       if (find_obj_by_type_subtype(op,SPELL_EFFECT, SP_WORD_OF_RECALL))
       {
           new_draw_info(NDI_UNIQUE, 0, op, "You feel a force starting to build up inside you." );
           return 1;
       }
   
     dummy=get_archetype(FORCE_NAME);      dummy=get_archetype(FORCE_NAME);
     if(dummy == NULL){      if(dummy == NULL){
  new_draw_info(NDI_UNIQUE, 0,op,"Oops, program error!");   new_draw_info(NDI_UNIQUE, 0,op,"Oops, program error!");
Line 1443
 
Line 1449
 "no pow"  "no pow"
 };  };
   
 int cast_change_ability(object *op,object *caster,object *spell_ob, int dir) {  int cast_change_ability(object *op,object *caster,object *spell_ob, int dir, int silent) {
     object *tmp, *tmp2=NULL;      object *tmp, *tmp2=NULL;
     object *force=NULL;      object *force=NULL;
     int i;      int i;
Line 1465
 
Line 1471
  break;   break;
      }       }
      else if (spell_ob->race && spell_ob->race == tmp2->name) {       else if (spell_ob->race && spell_ob->race == tmp2->name) {
               if ( !silent )
  new_draw_info_format(NDI_UNIQUE, 0, op,   new_draw_info_format(NDI_UNIQUE, 0, op,
      "You can not cast %s while %s is in effect",       "You can not cast %s while %s is in effect",
      spell_ob->name, tmp2->name_pl);       spell_ob->name, tmp2->name_pl);


Legend:
line(s) removed in v.1.141 
line(s) changed
 line(s) added in v.1.142

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