Difference for common/living.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_living_c =   * static char *rcsid_living_c =
  *   "$Id: living.c,v 1.15 2000/12/14 03:51:21 avogl Exp $";   *   "$Id: living.c,v 1.16 2000/12/15 15:36:25 avogl Exp $";
  */   */
   
 /*  /*
Line 848
 
Line 848
   wc=op->arch->clone.stats.wc;    wc=op->arch->clone.stats.wc;
   op->stats.dam=op->arch->clone.stats.dam;    op->stats.dam=op->arch->clone.stats.dam;
   
     if(!QUERY_FLAG(op,FLAG_USE_ARMOUR) && op->type==PLAYER) {
   if(!QUERY_FLAG(op,FLAG_USE_ARMOUR) && op->type==PLAYER)       /* for players which cannot use armour, they gain AC -1 per 3 levels,
  /* for players which cannot use armour, they gain AC -1 per 3 levels. */       * plus a small amount of physical resist, those poor suckers. ;) */
  op->stats.ac=MAX(-10,op->arch->clone.stats.ac - op->level/3);   op->stats.ac=MAX(-10,op->arch->clone.stats.ac - op->level/3);
       prot[ATNR_PHYSICAL] += ((100-prot[AT_PHYSICAL])*(80*op->level/MAXLEVEL))/100;
     }
   else    else
       op->stats.ac=op->arch->clone.stats.ac;        op->stats.ac=op->arch->clone.stats.ac;
   
   
   op->stats.luck=op->arch->clone.stats.luck;    op->stats.luck=op->arch->clone.stats.luck;
   op->speed = op->arch->clone.speed;    op->speed = op->arch->clone.speed;
   


Legend:
line(s) removed in v.1.15 
line(s) changed
 line(s) added in v.1.16

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