version 1.3 | | version 1.4 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.3 2000/04/22 07:16:41 cvs Exp $"; | | * "$Id: c_misc.c,v 1.4 2000/12/04 00:40:05 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
types[op->contr->usekeys]); | | types[op->contr->usekeys]); |
return 1; | | return 1; |
} | | } |
| | |
| | int command_resistances(object *op, char *params) |
| | { |
| | int i; |
| | if (!op) |
| | return 0; |
| | |
| | for (i=0; i<NROFATTACKS; i++) { |
| | if (i==ATNR_INTERNAL) continue; |
| | |
| | new_draw_info_format(NDI_UNIQUE, 0, op, "%-20s %+5d", |
| | attacktype_desc[i], op->resist[i]); |
| | } |
| | return 0; |
| | } |