version 1.75 | | version 1.76 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.75 2005/10/07 17:54:48 akirschbaum Exp $"; | | * "$Id: time.c,v 1.76 2005/10/07 19:38:50 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
(void)hit_player(op->env, | | (void)hit_player(op->env, |
op->stats.dam, | | op->stats.dam, |
op,AT_INTERNAL); | | op,AT_INTERNAL,1); |
} | | } |
| | |
| | |
| | |
| | |
if(tmp!=NULL) { | | if(tmp!=NULL) { |
if(QUERY_FLAG(tmp, FLAG_ALIVE)) { | | if(QUERY_FLAG(tmp, FLAG_ALIVE)) { |
hit_player(tmp, random_roll(1, op->stats.dam, tmp, PREFER_LOW), op, AT_PHYSICAL); | | hit_player(tmp, random_roll(1, op->stats.dam, tmp, PREFER_LOW), op, AT_PHYSICAL, 1); |
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); |
| | |
return 0; | | return 0; |
| | |
case EARTHWALL: | | case EARTHWALL: |
hit_player(op, 2, op, AT_PHYSICAL); | | hit_player(op, 2, op, AT_PHYSICAL, 1); |
return 0; | | return 0; |
| | |
case FIREWALL: | | case FIREWALL: |