version 1.25 | | version 1.26 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.25 2002/01/01 23:37:54 garbled Exp $"; | | * "$Id: treasure.c,v 1.26 2002/03/01 21:33:09 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
for (i=0; i<NROFATTACKS; i++) | | for (i=0; i<NROFATTACKS; i++) |
item->resist[i] = donor->resist[i]/2; | | item->resist[i] = donor->resist[i]/2; |
| | |
| | /* item inherits donor's level (important for quezals) */ |
| | item->level = donor->level; |
| | |
/* if donor has some attacktypes, the flesh is poisonous */ | | /* if donor has some attacktypes, the flesh is poisonous */ |
if(donor->attacktype&AT_POISON) | | if(donor->attacktype&AT_POISON) |
item->type=POISON; | | item->type=POISON; |