version 1.86 | | version 1.87 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.86 2005/09/08 21:10:46 akirschbaum Exp $"; | | * "$Id: monster.c,v 1.87 2005/09/08 21:19:54 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
else if ( item->type == SKILL ) | | else if ( item->type == SKILL ) |
{ | | { |
/* | | /* |
* Ryo 2004-05-08 | | * skills are specials: monsters must have the 'FLAG_READY_SKILL' flag set, |
* skills are specials: monsters must have the 'FLAG_CAN_USE_SKILL' flag set, | | |
* else they can't use the skill... | | * else they can't use the skill... |
* Skills also don't need to get applied, so return now. | | * Skills also don't need to get applied, so return now. |
*/ | | */ |
SET_FLAG( item, FLAG_CAN_USE_SKILL ); | | SET_FLAG(mon, FLAG_READY_SKILL); |
return; | | return; |
} | | } |
| | |