version 1.9 | | version 1.10 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.9 2001/03/28 06:37:48 mardahl Exp $"; | | * "$Id: treasure.c,v 1.10 2001/04/21 01:22:43 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
break; | | break; |
} | | } |
if (op->type == POTION && special_potion(op)) { | | if (op->type == POTION && special_potion(op)) { |
op->face = potion_face; | | /*if(op->face==blank_face) op->face = potion_face;*/ |
free_string(op->name); | | free_string(op->name); |
op->name = add_string("potion"); | | op->name = add_string("potion"); |
op->level = spells[op->stats.sp].level/2+ RANDOM()%difficulty + RANDOM()%difficulty; | | op->level = spells[op->stats.sp].level/2+ RANDOM()%difficulty + RANDOM()%difficulty; |