Difference for server/attack.c from version 1.25 to 1.26


version 1.25 version 1.26
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.25 2000/12/15 15:42:36 avogl Exp $";   *   "$Id: attack.c,v 1.26 2000/12/19 06:54:52 peterm Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 76
 
Line 76
      if(RANDOM()%20+1>=material[i].save[number]-op->magic-op->resist[number]/100)       if(RANDOM()%20+1>=material[i].save[number]-op->magic-op->resist[number]/100)
  saves++;   saves++;
      /* if the attack is too weak */       /* if the attack is too weak */
      if((20-material[i].save[type])/3 > originator->stats.dam) saves++;       if((20-material[i].save[number])/3 > originator->stats.dam) saves++;
  }   }
     }      }
     if (saves==materials || materials==0) return 1;      if (saves==materials || materials==0) return 1;


Legend:
line(s) removed in v.1.25 
line(s) changed
 line(s) added in v.1.26

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