Difference for server/gods.c from version 1.13 to 1.14


version 1.13 version 1.14
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_gods_c =   * static char *rcsid_gods_c =
  *   "$Id: gods.c,v 1.13 2000/12/27 07:53:35 cvs Exp $";   *   "$Id: gods.c,v 1.14 2001/01/01 23:09:32 avogl Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 103
 
Line 103
  /* Every once in a while, the god decides to checkup on their   /* Every once in a while, the god decides to checkup on their
  * follower, and may intervene to help them out.    * follower, and may intervene to help them out.
  */   */
  bonus += pl->stats.luck; /* -- DAMN -- */   bonus = MAX(1, bonus + MAX(pl->stats.luck, -3)); /* -- DAMN -- */
  if((RANDOM()%500-bonus)<0) god_intervention(pl,pl_god);  
    if(((RANDOM()%400)-bonus)<0) god_intervention(pl,pl_god);
    
     } else { /* praying to another god! */      } else { /* praying to another god! */
  int loss = 0,angry=1;   int loss = 0,angry=1;


Legend:
line(s) removed in v.1.13 
line(s) changed
 line(s) added in v.1.14

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