Difference for server/c_misc.c from version 1.41 to 1.42


version 1.41 version 1.42
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_misc_c =   * static char *rcsid_c_misc_c =
  *   "$Id: c_misc.c,v 1.41 2004/08/15 17:03:08 ryo_saeba Exp $";   *   "$Id: c_misc.c,v 1.42 2004/10/10 15:01:26 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 634
 
Line 634
  pl->contr->orig_stats.Cha, pl->stats.Cha, 20+pl->arch->clone.stats.Cha);   pl->contr->orig_stats.Cha, pl->stats.Cha, 20+pl->arch->clone.stats.Cha);
     new_draw_info_format(NDI_UNIQUE, 0, pl, "\nAttack Mode: %s",pl->contr->peaceful? "Peaceful":"Hostile");      new_draw_info_format(NDI_UNIQUE, 0, pl, "\nAttack Mode: %s",pl->contr->peaceful? "Peaceful":"Hostile");
    
       /* If dragon player, let's display natural resistances */
       if ( is_dragon_pl( pl ) )
           {
           int attack;
           object* tmp;
           for ( tmp = pl->inv; tmp != NULL; tmp = tmp->below )
               {
               if ( ( tmp->type == FORCE ) && ( strcmp( tmp->arch->name, "dragon_skin_force" )== 0 ) )
                   {
                   new_draw_info( NDI_UNIQUE, 0, pl, "\nNatural skin resistances:" );
                   for ( attack = 0; attack < NROFATTACKS; attack++ )
                       {
                       if ( atnr_is_dragon_enabled( attack ) )
                           {
                           new_draw_info_format( NDI_UNIQUE, 0, pl, "%s: %d", change_resist_msg[ attack ], tmp->resist[ attack ] );
                           }
                       }
                   break;
                   }
               }
           }
   
    /* Can't think of anything else to print right now */     /* Can't think of anything else to print right now */
    return 0;     return 0;
 }  }


Legend:
line(s) removed in v.1.41 
line(s) changed
 line(s) added in v.1.42

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