version 1.31 | | version 1.32 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.31 2001/09/03 06:44:55 mwedel Exp $"; | | * "$Id: time.c,v 1.32 2001/09/26 21:34:08 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
if(tmp!=NULL) { | | if(tmp!=NULL) { |
if(QUERY_FLAG(tmp, FLAG_ALIVE)) { | | if(QUERY_FLAG(tmp, FLAG_ALIVE)) { |
hit_player(tmp,RANDOM()%(op->stats.dam+1)+1,op,AT_PHYSICAL); | | hit_player(tmp, random_roll(1, op->stats.dam, tmp, PREFER_LOW), op, AT_PHYSICAL); |
if(tmp->type==PLAYER) | | if(tmp->type==PLAYER) |
new_draw_info_format(NDI_UNIQUE, 0, tmp, | | new_draw_info_format(NDI_UNIQUE, 0, tmp, |
"You are crushed by the %s!",op->name); | | "You are crushed by the %s!",op->name); |