Difference for server/spell_effect.c from version 1.100 to 1.101


version 1.100 version 1.101
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.100 2003/02/25 07:18:07 mwedel Exp $";   *   "$Id: spell_effect.c,v 1.101 2003/03/03 05:13:08 mwedel Exp $";
  */   */
   
   
Line 772
 
Line 772
      }       }
  }   }
     }      }
   
       if (is_dragon_pl(op))
       {
          /* now grab the 'dragon_ability'-force from the player's inventory */
          for (tmp = op->inv; tmp != NULL; tmp = tmp->below) {
            if (tmp->type == FORCE) {
               if (strcmp(tmp->arch->name, "dragon_ability_force") == 0) {
                  if(tmp->stats.exp == 0) {
                     sprintf(buf, "Your metabolism isn't focused on anything.");
                  } else {
                     sprintf(buf, "Your metabolism is focused on %s.", change_resist_msg[tmp->stats.exp]);
                  }
                  new_draw_info(NDI_UNIQUE, 0,op, buf);
                  break;
               }
            }
          }
       }
   
     return 1;      return 1;
 }  }
   
Line 913
 
Line 932
     /* If we were unable to load (ex. random map deleted), warn player*/      /* If we were unable to load (ex. random map deleted), warn player*/
     if (exitmap==NULL) {      if (exitmap==NULL) {
  new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"Something strange happens.\nYou can't remember where to go!?");   new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"Something strange happens.\nYou can't remember where to go!?");
    remove_ob(force);
    free_object(force);
  return 1;   return 1;
     }      }
   


Legend:
line(s) removed in v.1.100 
line(s) changed
 line(s) added in v.1.101

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