version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.8 2000/03/27 06:25:55 cvs Exp $"; | | * "$Id: player.c,v 1.9 2000/04/17 14:18:13 jec Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
arrow->stats.wc = 20 - bow->magic - arrow->magic - SK_level(op) - | | arrow->stats.wc = 20 - bow->magic - arrow->magic - SK_level(op) - |
dex_bonus[op->stats.Dex] - thaco_bonus[op->stats.Str] - arrow->stats.wc - | | dex_bonus[op->stats.Dex] - thaco_bonus[op->stats.Str] - arrow->stats.wc - |
bow->stats.wc; | | bow->stats.wc; |
| | arrow->level = SK_level (op); |
| | |
arrow->map = op->map; | | arrow->map = op->map; |
| | SET_FLAG(arrow, FLAG_NO_PICK); |
SET_FLAG(arrow, FLAG_FLYING); | | SET_FLAG(arrow, FLAG_FLYING); |
SET_FLAG(arrow, FLAG_FLY_ON); | | SET_FLAG(arrow, FLAG_FLY_ON); |
SET_FLAG(arrow, FLAG_WALK_ON); | | SET_FLAG(arrow, FLAG_WALK_ON); |
| | |
* -b.t. | | * -b.t. |
*/ | | */ |
#ifdef ALLOW_SKILLS | | #ifdef ALLOW_SKILLS |
if(op->type==PLAYER&&!QUERY_FLAG(op,FLAG_WIZ)) | | if(op->type==PLAYER) |
if(!check_skill_to_fire(op)) return; | | if(!check_skill_to_fire(op)) return; |
#endif | | #endif |
| | |