version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.13 2000/05/26 12:36:48 jec Exp $"; | | * "$Id: apply.c,v 1.14 2000/05/29 16:31:26 jec Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
} | | } |
return; | | return; |
| | |
| | case THROWN_OBJ: |
case ARROW: | | case ARROW: |
if(QUERY_FLAG(victim, FLAG_ALIVE)&&trap->speed) { | | if(QUERY_FLAG(victim, FLAG_ALIVE)&&trap->speed) { |
tag_t trap_tag = trap->count; | | tag_t trap_tag = trap->count; |
| | |
} | | } |
return; | | return; |
| | |
case CONE: /* A cone in the form of a wall */ | | case CANCELLATION: |
| | case BALL_LIGHTNING: |
| | if (QUERY_FLAG (victim, FLAG_ALIVE)) |
| | hit_player (victim, trap->stats.dam, trap, trap->attacktype); |
| | else if (victim->material) |
| | save_throw_object (victim, trap->attacktype); |
| | return; |
| | |
| | case CONE: |
if(QUERY_FLAG(victim, FLAG_ALIVE)&&trap->speed) { | | if(QUERY_FLAG(victim, FLAG_ALIVE)&&trap->speed) { |
uint32 attacktype = trap->attacktype & ~AT_COUNTERSPELL; | | uint32 attacktype = trap->attacktype & ~AT_COUNTERSPELL; |
if (attacktype) | | if (attacktype) |