version 1.17 | | version 1.18 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.17 2000/12/14 03:52:33 avogl Exp $"; | | * "$Id: time.c,v 1.18 2000/12/15 15:42:37 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (tmp != NULL) | | if (tmp != NULL) |
{ | | { |
/* Found living object, but it is reflecting the missile. Update | | /* Found living object, but it is reflecting the missile. Update |
* as below. | | * as below. (Note that for living creatures there is a small |
| | * chance that reflect_missile fails.) |
*/ | | */ |
if (QUERY_FLAG (tmp, FLAG_REFL_MISSILE)) | | if (QUERY_FLAG (tmp, FLAG_REFL_MISSILE) && (!QUERY_FLAG(tmp, |
| | FLAG_ALIVE) || (RANDOM()%100) < 90-op->level/10)) |
{ | | { |
int number = op->face->number; | | int number = op->face->number; |
| | |