Difference for server/rune.c from version 1.31 to 1.32


version 1.31 version 1.32
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_rune_c =   * static char *rcsid_rune_c =
  *   "$Id: rune.c,v 1.31 2003/03/07 07:33:14 mwedel Exp $";   *   "$Id: rune.c,v 1.32 2003/09/01 14:31:16 tchize Exp $";
  */   */
   
 /*  /*
Line 386
 
Line 386
        MIN(20,trap->level-disarmer_level         MIN(20,trap->level-disarmer_level
     +5 - disarmer->stats.Dex/2))-1), disarmer, PREFER_LOW)))      +5 - disarmer->stats.Dex/2))-1), disarmer, PREFER_LOW)))
         {          {
             new_draw_info(NDI_UNIQUE, 0,disarmer,"You successfuly disarm it!");              new_draw_info_format(NDI_UNIQUE, 0,disarmer,
                       "You successfuly disarm the %s!",trap->name);
             remove_ob(trap);              remove_ob(trap);
             free_object(trap);              free_object(trap);
      /* If it is your own trap, (or any players trap), don't you don't       /* If it is your own trap, (or any players trap), don't you don't
Line 398
 
Line 399
         }          }
     else      else
         {          {
             new_draw_info(NDI_UNIQUE, 0,disarmer,"You fail to disarm the trap.");              new_draw_info_format(NDI_UNIQUE, 0,disarmer,
                       "You fail to disarm the %s.",trap->name);
      if(! (random_roll(0, (MAX(2,disarmer_level-trap->level        if(! (random_roll(0, (MAX(2,disarmer_level-trap->level
         + disarmer->stats.Dex/2-6))-1, disarmer, PREFER_LOW)) &&risk) {          + disarmer->stats.Dex/2-6))-1, disarmer, PREFER_LOW)) &&risk) {
  new_draw_info(NDI_UNIQUE, 0,disarmer,"In fact, you set it off!");   new_draw_info(NDI_UNIQUE, 0,disarmer,"In fact, you set it off!");


Legend:
line(s) removed in v.1.31 
line(s) changed
 line(s) added in v.1.32

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