version 1.2 | | version 1.3 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_h = | | * static char *rcsid_attack_h = |
* "$Id: attack.h,v 1.2 2000/12/14 03:51:49 avogl Exp $"; | | * "$Id: attack.h,v 1.3 2001/10/07 07:12:39 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
| | |
#define NROFATTACKS 24 | | #define NROFATTACKS 24 |
| | #define NROFATTACKMESS 10 |
| | #define MAXATTACKMESS 20 |
| | |
| | /* attack message numbers must be less than NROFATTACKMESS */ |
| | |
| | #define ATM_ARROW 0 |
| | #define ATM_DRAIN 1 |
| | #define ATM_ELEC 2 |
| | #define ATM_COLD 3 |
| | #define ATM_FIRE 4 |
| | #define ATM_BASIC 5 |
| | #define ATM_KARATE 6 |
| | #define ATM_CLAW 7 |
| | #define ATM_PUNCH 8 |
| | |
/* Note that the last ATNR_ should be one less than NROFATTACKS above | | /* Note that the last ATNR_ should be one less than NROFATTACKS above |
* since the ATNR starts counting at zero. | | * since the ATNR starts counting at zero. |
| | |
* bug these do get used somehow, might as well make it more easier to notice | | * bug these do get used somehow, might as well make it more easier to notice |
* and not have mystery values appear. | | * and not have mystery values appear. |
*/ | | */ |
| | |
| | /* attack messages structure */ |
| | typedef struct attackmess { |
| | int level; |
| | char *buf1; |
| | char *buf2; |
| | char *buf3; |
| | } attackmess_t; |
| | |
| | EXTERN attackmess_t attack_mess[NROFATTACKMESS][MAXATTACKMESS]; |
| | |
#ifndef INIT_C | | #ifndef INIT_C |
EXTERN int resist_table[]; | | EXTERN int resist_table[]; |
EXTERN char *change_resist_msg[NROFATTACKS]; | | EXTERN char *change_resist_msg[NROFATTACKS]; |