Difference for server/apply.c from version 1.133 to 1.134


version 1.133 version 1.134
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.133 2005/08/12 13:46:34 ryo_saeba Exp $";   *   "$Id: apply.c,v 1.134 2005/09/04 16:58:12 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1339
 
Line 1339
  * getting permanently paralyzed.   * getting permanently paralyzed.
  */   */
  if (victim->speed_left<-50.0) victim->speed_left=-50.0;   if (victim->speed_left<-50.0) victim->speed_left=-50.0;
 /* fprintf(stderr,"apply, playermove, player speed_left=%f\n", victim->speed_left);*/  /* LOG(llevDebug, "apply, playermove, player speed_left=%f\n", victim->speed_left);*/
     }      }
     goto leave;      goto leave;
   
Line 2029
 
Line 2029
      
   op->stats.food = MIN(999, op->stats.food + meal->stats.food);    op->stats.food = MIN(999, op->stats.food + meal->stats.food);
      
   /*printf("-> player: %d, flesh: %d\n", op->level, meal->level);*/    /*LOG(llevDebug, "-> player: %d, flesh: %d\n", op->level, meal->level);*/
      
   /* on to the interesting part: chances for adding resistance */    /* on to the interesting part: chances for adding resistance */
   for (i=0; i<NROFATTACKS; i++) {    for (i=0; i<NROFATTACKS; i++) {
Line 2068
 
Line 2068
               
       if (chance >= 0.01 ) totalchance *= 1 - chance/100;        if (chance >= 0.01 ) totalchance *= 1 - chance/100;
               
       /*printf("   %s: bonus %.1f, chance %.1f\n", attacks[i], bonus, chance);*/        /*LOG(llevDebug, "   %s: bonus %.1f, chance %.1f\n", attacks[i], bonus, chance);*/
     }      }
   }    }
      


Legend:
line(s) removed in v.1.133 
line(s) changed
 line(s) added in v.1.134

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