version 1.7 | | version 1.8 |
---|
| | |
/* | | /* |
* static char *rcsid_living_c = | | * static char *rcsid_living_c = |
* "$Id: living.c,v 1.7 2000/06/08 16:08:41 jec Exp $"; | | * "$Id: living.c,v 1.8 2000/06/19 12:23:11 jec Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
op->slaying=NULL; | | op->slaying=NULL; |
} | | } |
if(!QUERY_FLAG(op,FLAG_WIZ)) { | | if(!QUERY_FLAG(op,FLAG_WIZ)) { |
| | if ( ! QUERY_FLAG (&op->arch->clone, FLAG_FLYING)) |
CLEAR_FLAG(op, FLAG_FLYING); | | CLEAR_FLAG(op, FLAG_FLYING); |
CLEAR_FLAG(op, FLAG_XRAYS); | | CLEAR_FLAG(op, FLAG_XRAYS); |
CLEAR_FLAG(op, FLAG_MAKE_INVIS); | | CLEAR_FLAG(op, FLAG_MAKE_INVIS); |
} | | } |
CLEAR_FLAG(op,FLAG_LIFESAVE); | | CLEAR_FLAG(op,FLAG_LIFESAVE); |
| | CLEAR_FLAG(op,FLAG_STEALTH); |
| | CLEAR_FLAG(op,FLAG_BLIND); |
| | if ( ! QUERY_FLAG (&op->arch->clone, FLAG_REFL_SPELL)) |
CLEAR_FLAG(op,FLAG_REFL_SPELL); | | CLEAR_FLAG(op,FLAG_REFL_SPELL); |
| | if ( ! QUERY_FLAG (&op->arch->clone, FLAG_REFL_MISSILE)) |
CLEAR_FLAG(op,FLAG_REFL_MISSILE); | | CLEAR_FLAG(op,FLAG_REFL_MISSILE); |
CLEAR_FLAG(op,FLAG_STEALTH); | | |
if(!QUERY_FLAG(&op->arch->clone,FLAG_UNDEAD)) | | if(!QUERY_FLAG(&op->arch->clone,FLAG_UNDEAD)) |
CLEAR_FLAG(op,FLAG_UNDEAD); | | CLEAR_FLAG(op,FLAG_UNDEAD); |
CLEAR_FLAG(op,FLAG_BLIND); | | if ( ! QUERY_FLAG (&op->arch->clone, FLAG_SEE_IN_DARK)) |
CLEAR_FLAG(op,FLAG_SEE_IN_DARK); | | CLEAR_FLAG(op,FLAG_SEE_IN_DARK); |
| | |
op->path_attuned=op->arch->clone.path_attuned; | | op->path_attuned=op->arch->clone.path_attuned; |