version 1.110 | | version 1.111 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.110 2002/12/13 05:09:49 garbled Exp $"; | | * "$Id: player.c,v 1.111 2002/12/13 07:23:00 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
dex_bonus[op->stats.Dex] - thaco_bonus[op->stats.Str] - arrow->stats.wc - | | dex_bonus[op->stats.Dex] - thaco_bonus[op->stats.Str] - arrow->stats.wc - |
bow->stats.wc; | | bow->stats.wc; |
arrow->level = SK_level (op); | | arrow->level = SK_level (op); |
| | if (arrow->attacktype == AT_PHYSICAL) |
arrow->attacktype |= bow->attacktype; | | arrow->attacktype |= bow->attacktype; |
if (bow->slaying != NULL) | | if (bow->slaying != NULL) |
arrow->slaying = strdup(bow->slaying); | | arrow->slaying = strdup(bow->slaying); |
| | |
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; |
| | if (arrow->attacktype == AT_PHYSICAL) |
arrow->attacktype |= bow->attacktype; | | arrow->attacktype |= bow->attacktype; |
if (bow->slaying != NULL) | | if (bow->slaying != NULL) |
arrow->slaying = strdup(bow->slaying); | | arrow->slaying = strdup(bow->slaying); |