Difference for server/skill_util.c from version 1.19 to 1.20


version 1.19 version 1.20
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skill_util_c =   * static char *rcsid_skill_util_c =
  *   "$Id: skill_util.c,v 1.19 2001/07/14 04:11:18 mwedel Exp $";   *   "$Id: skill_util.c,v 1.20 2001/09/26 21:34:08 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1002
 
Line 1002
  return 2;   return 2;
     }      }
     /* now a random change to learn, based on player Int */      /* now a random change to learn, based on player Int */
     if(RANDOM()%100>learn_spell[pl->stats.Int])      if(random_roll(0, 99, pl, PREFER_LOW)>learn_spell[pl->stats.Int])
  return 2; /* failure :< */   return 2; /* failure :< */
   
     /* Everything is cool. Give'em the skill */      /* Everything is cool. Give'em the skill */


Legend:
line(s) removed in v.1.19 
line(s) changed
 line(s) added in v.1.20

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