version 1.43 | | version 1.44 |
---|
| | |
/* | | /* |
* static char *rcsid_rune_c = | | * static char *rcsid_rune_c = |
* "$Id: rune.c,v 1.43 2005/08/25 20:44:16 akirschbaum Exp $"; | | * "$Id: rune.c,v 1.44 2005/10/07 19:38:50 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
{ | | { |
if(victim) { | | if(victim) { |
tag_t tag = victim->count; | | tag_t tag = victim->count; |
hit_player(victim,op->stats.dam,op,op->attacktype); | | hit_player(victim,op->stats.dam,op,op->attacktype,1); |
if (was_destroyed (victim, tag)) | | if (was_destroyed (victim, tag)) |
return; | | 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 */ |
| | |
free_object(disease); | | free_object(disease); |
} | | } |
} | | } |
else hit_map(op,0,op->attacktype); | | else hit_map(op,0,op->attacktype,1); |
} | | } |
| | |
/* This function generalizes attacks by runes/traps. This ought to make | | /* This function generalizes attacks by runes/traps. This ought to make |