45 #define NROFATTACKS 26
46 #define NROFATTACKMESS 21
47 #define MAXATTACKMESS 21
70 #define ATM_WRAITH_FEED 19
77 #define ATNR_PHYSICAL 0
80 #define ATNR_ELECTRICITY 3
82 #define ATNR_CONFUSION 5
85 #define ATNR_WEAPONMAGIC 8
86 #define ATNR_GHOSTHIT 9
87 #define ATNR_POISON 10
89 #define ATNR_PARALYZE 12
90 #define ATNR_TURN_UNDEAD 13
92 #define ATNR_CANCELLATION 15
93 #define ATNR_DEPLETE 16
96 #define ATNR_COUNTERSPELL 19
97 #define ATNR_GODPOWER 20
98 #define ATNR_HOLYWORD 21
100 #define ATNR_INTERNAL 23
101 #define ATNR_LIFE_STEALING 24
102 #define ATNR_DISEASE 25
104 #define AT_PHYSICAL 0x00000001
105 #define AT_MAGIC 0x00000002
106 #define AT_FIRE 0x00000004
107 #define AT_ELECTRICITY 0x00000008
108 #define AT_COLD 0x00000010
109 #define AT_CONFUSION 0x00000020
110 #define AT_ACID 0x00000040
111 #define AT_DRAIN 0x00000080
112 #define AT_WEAPONMAGIC 0x00000100
113 #define AT_GHOSTHIT 0x00000200
114 #define AT_POISON 0x00000400
115 #define AT_SLOW 0x00000800
116 #define AT_PARALYZE 0x00001000
117 #define AT_TURN_UNDEAD 0x00002000
118 #define AT_FEAR 0x00004000
119 #define AT_CANCELLATION 0x00008000
120 #define AT_DEPLETE 0x00010000
121 #define AT_DEATH 0x00020000
122 #define AT_CHAOS 0x00040000
123 #define AT_COUNTERSPELL 0x00080000
124 #define AT_GODPOWER 0x00100000
125 #define AT_HOLYWORD 0x00200000
126 #define AT_BLIND 0x00400000
127 #define AT_INTERNAL 0x00800000
128 #define AT_LIFE_STEALING \
130 #define AT_DISEASE 0x02000000
174 "physical ",
"magic ",
"fire ",
"electricity ",
"cold ",
"confusion ",
"acid ",
175 "drain ",
"weaponmagic ",
"ghosthit ",
"poison ",
"slow ",
"paralyze ",
176 "turn_undead ",
"fear ",
"cancellation ",
"deplete ",
"death ",
"chaos ",
177 "counterspell ",
"godpower ",
"holyword ",
"blind ",
"internal ",
"life_stealing ",
183 "physical",
"magic",
"fire",
"electricity",
"cold",
"confusion",
"acid",
184 "drain",
"weapon magic",
"ghost hit",
"poison",
"slow",
"paralyze",
185 "turn undead",
"fear",
"cancellation",
"deplete",
"death",
"chaos",
186 "counterspell",
"god power",
"holy word",
"blind",
"internal",
"life stealing",
192 "armour",
"resist magic",
"resist fire",
"resist electricity",
"resist cold",
193 "resist confusion",
"resist acid",
"resist drain",
194 "resist weaponmagic",
"resist ghosthit",
"resist poison",
"resist slow",
195 "resist paralyzation",
"resist turn undead",
"resist fear",
196 "resist cancellation",
"resist depletion",
"resist death",
"resist chaos",
197 "resist counterspell",
"resist god power",
"resist holy word",
198 "resist blindness",
"resist internal",
"resist life stealing",
207 "physical",
"magic",
"fire",
"electricity",
"cold",
"confusion",
"acid",
208 "draining",
"weapon magic",
"ghosts",
"poison",
"slow",
"paralyze",
209 "turn undead",
"fear",
"cancellation",
"depletion",
"death attacks",
"chaos",
210 "counterspell",
"god power",
"holy word",
"blinding attacks",
"internal",
211 "life stealing",
"disease"
257 #define num_resist_table 19
EXTERN Chaos_Attacks ATTACKS[22]
#define ATNR_LIFE_STEALING
struct attackmess attackmess_t
EXTERN const char *const change_resist_msg[NROFATTACKS]
EXTERN int resist_table[]
EXTERN const char *const attacktype_desc[NROFATTACKS]
EXTERN attackmess_t attack_mess[NROFATTACKMESS][MAXATTACKMESS]
EXTERN const char *const resist_plus[NROFATTACKS]
EXTERN const char *const resist_save[NROFATTACKS]