Difference for server/player.c from version 1.109 to 1.110


version 1.109 version 1.110
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.109 2002/12/12 21:52:52 garbled Exp $";   *   "$Id: player.c,v 1.110 2002/12/13 05:09:49 garbled Exp $";
  */   */
   
 /*  /*
Line 1361
 
Line 1361
     SET_ANIMATION(arrow,dir);      SET_ANIMATION(arrow,dir);
     arrow->stats.sp = arrow->stats.wc; /* save original wc and dam */      arrow->stats.sp = arrow->stats.wc; /* save original wc and dam */
     arrow->stats.hp = arrow->stats.dam;       arrow->stats.hp = arrow->stats.dam;
     arrow->attacktype = arrow->stats.grace;      arrow->stats.grace = arrow->attacktype;
       if (arrow->slaying != NULL)
    arrow->spellarg = strdup(arrow->slaying);
     /* Note that this was different for monsters - they got their level      /* Note that this was different for monsters - they got their level
      * added to the damage.  I think the strength bonus is more proper.       * added to the damage.  I think the strength bonus is more proper.
      */       */
Line 1375
 
Line 1377
      bow->stats.wc;       bow->stats.wc;
  arrow->level = SK_level (op);   arrow->level = SK_level (op);
  arrow->attacktype |= bow->attacktype;   arrow->attacktype |= bow->attacktype;
    if (bow->slaying != NULL)
        arrow->slaying = strdup(bow->slaying);
     } else {      } else {
  arrow->stats.wc= op->stats.wc - bow->magic - arrow->magic -   arrow->stats.wc= op->stats.wc - bow->magic - arrow->magic -
      arrow->stats.wc;       arrow->stats.wc;
  arrow->level = op->level;   arrow->level = op->level;
  arrow->attacktype |= bow->attacktype;   arrow->attacktype |= bow->attacktype;
    if (bow->slaying != NULL)
        arrow->slaying = strdup(bow->slaying);
     }      }
   
     arrow->map = op->map;      arrow->map = op->map;


Legend:
line(s) removed in v.1.109 
line(s) changed
 line(s) added in v.1.110

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