Difference for server/apply.c from version 1.101 to 1.102


version 1.101 version 1.102
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.101 2004/04/18 07:59:36 mwedel Exp $";   *   "$Id: apply.c,v 1.102 2004/04/21 06:44:40 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 341
 
Line 341
  */   */
 int check_weapon_power(object *who, int improvs)  int check_weapon_power(object *who, int improvs)
 {  {
   /* Old code is below (commented out).  Basically, since weapons are the only
    * object players really have any control to improve, it's a bit harsh to
    * require high level in some combat skill, so we just use overall level.
    */
   #if 1
       if (((who->level/5)+5) >= improvs) return 1;
       else return 0;
   
   #else
     int level=0;      int level=0;
   
     /* The skill system hands out wc and dam bonuses to fighters      /* The skill system hands out wc and dam bonuses to fighters
Line 366
 
Line 375
  level=who->level;   level=who->level;
   
     return (improvs <= ((level/5)+5));      return (improvs <= ((level/5)+5));
   #endif
 }  }
   
 /* Returns the object count that of the number of objects found that  /* Returns the object count that of the number of objects found that


Legend:
line(s) removed in v.1.101 
line(s) changed
 line(s) added in v.1.102

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