version 1.3 | | version 1.4 |
---|
| | |
/* | | /* |
* static char *rcsid_rune_c = | | * static char *rcsid_rune_c = |
* "$Id: rune.c,v 1.3 1999/08/22 23:39:51 cvs Exp $"; | | * "$Id: rune.c,v 1.4 2000/05/15 20:57:45 jec Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
{ | | { |
if(victim) { | | if(victim) { |
hit_player(victim,op->stats.dam,op,op->attacktype); | | hit_player(victim,op->stats.dam,op,op->attacktype); |
| | if (QUERY_FLAG (victim, FLAG_FREED)) |
| | return; |
/* if there's a disease in the needle, put it in the player */ | | /* if there's a disease in the needle, put it in the player */ |
if(op->randomitems!=NULL) create_treasure(op->randomitems,op,GT_INVENTORY, | | if(op->randomitems!=NULL) create_treasure(op->randomitems,op,GT_INVENTORY, |
(victim->map?victim->map->difficulty:1),0); | | (victim->map?victim->map->difficulty:1),0); |