Difference for server/attack.c from version 1.105 to 1.106


version 1.105 version 1.106
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.105 2005/03/20 16:20:07 akirschbaum Exp $";   *   "$Id: attack.c,v 1.106 2005/04/15 00:41:34 cavesomething Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1494
 
Line 1494
  * Fix bug in that we were changing the luck of the hitter, not   * Fix bug in that we were changing the luck of the hitter, not
  * player that the object belonged to - so if you killed another player   * player that the object belonged to - so if you killed another player
  * with spells, pets, whatever, there was no penalty.   * with spells, pets, whatever, there was no penalty.
    * Changed to make luck penalty configurable in settings.
  */   */
  if(op->type == PLAYER && owner != op && !battleg)   if(op->type == PLAYER && owner != op && !battleg)
      change_luck(owner, -1);       change_luck(owner, -settings.pk_luck_penalty);
   
  /* This code below deals with finding the appropriate skill   /* This code below deals with finding the appropriate skill
  * to credit exp to.  This is a bit problematic - we should   * to credit exp to.  This is a bit problematic - we should


Legend:
line(s) removed in v.1.105 
line(s) changed
 line(s) added in v.1.106

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