Difference for server/attack.c from version 1.62 to 1.63


version 1.62 version 1.63
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.62 2001/12/16 09:06:15 darth_bob Exp $";   *   "$Id: attack.c,v 1.63 2001/12/17 04:15:56 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 22
 
Line 22
     along with this program; if not, write to the Free Software      along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   
     The author can be reached via e-mail to mwedel@scruz.net      The authors can be reached via e-mail to crossfire-devel@real-time.com
 */  */
 #include <global.h>  #include <global.h>
 #include <living.h>  #include <living.h>
Line 1091
 
Line 1091
                    objects */                     objects */
  if(rndm(0, dam+4) >   if(rndm(0, dam+4) >
     random_roll(0, 39, op, PREFER_HIGH)+2*tmp->magic) {      random_roll(0, 39, op, PREFER_HIGH)+2*tmp->magic) {
    if(op->type == PLAYER) {       if(op->type == PLAYER)
      /* Make this more visible */       /* Make this more visible */
      new_draw_info_format(NDI_UNIQUE|NDI_RED,0, op,       new_draw_info_format(NDI_UNIQUE|NDI_RED,0, op,
  "The %s's acid corrodes your %s!",   "The %s's acid corrodes your %s!",
Line 1203
 
Line 1203
     }      }
     return dam;      return dam;
     }      }
 }  
   
 /* GROS: This code comes from hit_player. It has been made external to  /* GROS: This code comes from hit_player. It has been made external to
  * allow script procedures to "kill" objects in a combat-like fashion.   * allow script procedures to "kill" objects in a combat-like fashion.


Legend:
line(s) removed in v.1.62 
line(s) changed
 line(s) added in v.1.63

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