version 1.71 | version 1.72 | |||
---|---|---|---|---|
|
| |||
/* | /* | |||
* static char *rcs_treasure_c = | * static char *rcs_treasure_c = | |||
* "$Id: treasure.c,v 1.71 2006/09/10 06:44:27 qal21 Exp $"; | * "$Id: treasure.c,v 1.72 2006/09/11 05:10:50 qal21 Exp $"; | |||
*/ | */ | |||
/* | /* | |||
|
| |||
return mult; | return mult; | |||
olevel = mult * rndm(0, difficulty) + level; | olevel = mult * rndm(0, difficulty) + level; | |||
if (olevel > MAXLEVEL) olevel = MAXLEVEL; | if (olevel > MAX_SPELLITEM_LEVEL) olevel = MAX_SPELLITEM_LEVEL; | |||
return olevel; | return olevel; | |||
} | } |
Legend:
|