version 1.25 | | version 1.26 |
---|
| | |
/* | | /* |
* static char *rcsid_utils_c = | | * static char *rcsid_utils_c = |
* "$Id: utils.c,v 1.25 2006/03/18 17:15:24 ryo_saeba Exp $"; | | * "$Id: utils.c,v 1.26 2006/05/21 12:23:40 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (op->stats.wc && IS_WEAPON(op)) | | if (op->stats.wc && IS_WEAPON(op)) |
op->stats.wc += lmt->wc; | | op->stats.wc += lmt->wc; |
if (IS_ARMOR(op)) { | | if (IS_ARMOR(op)) { |
| | int j; |
if (op->stats.ac) | | if (op->stats.ac) |
op->stats.ac += lmt->ac; | | op->stats.ac += lmt->ac; |
for (j=0; j < NROFATTACKS; j++) | | for (j=0; j < NROFATTACKS; j++) |