version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_living_c = | | * static char *rcsid_living_c = |
* "$Id: living.c,v 1.28 2001/07/14 04:04:53 mwedel Exp $"; | | * "$Id: living.c,v 1.29 2001/09/26 21:12:33 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
op->level++; | | op->level++; |
| | |
if(who && (who->level < 11) && op->type!=EXPERIENCE) { | | if(who && (who->level < 11) && op->type!=EXPERIENCE) { |
who->contr->levhp[who->level] = (int) RANDOM()%4 + (int) RANDOM()%4 + 3; | | who->contr->levhp[who->level] = die_roll(2, 4, who, PREFER_HIGH)+1; |
who->contr->levsp[who->level] = (int) RANDOM()%3 + (int) RANDOM()%3 + 2; | | who->contr->levsp[who->level] = die_roll(2, 3, who, PREFER_HIGH); |
who->contr->levgrace[who->level]=(int)RANDOM()%2 + (int) RANDOM()%2 + 1; | | who->contr->levgrace[who->level]=die_roll(2, 2, who, PREFER_HIGH)-1; |
} | | } |
| | |
if(who) fix_player(who); | | if(who) fix_player(who); |