1 /* source/monsters.c: monster definitions
2 
3    Copyright (c) 1989-94 James E. Wilson, Robert A. Koeneke
4 
5    This software may be copied and distributed for educational, research, and
6    not for profit purposes provided that this copyright and statement are
7    included in all such copies. */
8 
9 #include "config.h"
10 #include "constant.h"
11 #include "types.h"
12 
13 /* Following are creature arrays and variables			*/
14 	/* Creatures must be defined here				*/
15 	/*	See types.h under creature_type for a complete list
16 		of all variables for creatures.	 Some of the less obvious
17 		are explained below.
18 
19 	Hit points:	#1, #2: where #2 is the range of each roll and
20 			#1 is the number of added up rolls to make.
21 			Example: a creature with 5 eight-sided hit die
22 			is given {5,8}.
23 
24 		Attack types:
25 		1	Normal attack
26 		2	Poison Strength
27 		3	Confusion attack
28 		4	Fear attack
29 		5	Fire attack
30 		6	Acid attack
31 		7	Cold attack
32 		8	Lightning attack
33 		9	Corrosion attack
34 		10	Blindness attack
35 		11	Paralysis attack
36 		12	Steal Money
37 		13	Steal Object
38 		14	Poison
39 		15	Lose dexterity
40 		16	Lose constitution
41 		17	Lose intelligence
42 		18	Lose wisdom
43 		19	Lose experience
44 		20	Aggravation
45 		21	Disenchants
46 		22	Eats food
47 		23	Eats light
48 		24	Eats charges
49 		99	Blank
50 
51 		Attack descriptions:
52 		1	hits you.
53 		2	bites you.
54 		3	claws you.
55 		4	stings you.
56 		5	touches you.
57 		6	kicks you.
58 		7	gazes at you.
59 		8	breathes on you.
60 		9	spits on you.
61 		10	makes a horrible wail.
62 		11	embraces you.
63 		12	crawls on you.
64 		13	releases a cloud of spores.
65 		14	begs you for money.
66 		15	You've been slimed.
67 		16	crushes you.
68 		17	tramples you.
69 		18	drools on you.
70 		19	insults you.
71 		99	is repelled.
72 
73 	Example:  For a creature which bites for 1d6, then stings for
74 		  2d4 and loss of dex you would use:
75 			{1,2,1,6},{15,4,2,4}
76 
77 		CMOVE flags:
78 Movement.	00000001	Move only to attack
79 	.	00000002	Move, attack normal
80 	.	00000008	20% random movement
81 	.	00000010	40% random movement
82 	.	00000020	75% random movement
83 Special +	00010000	Invisible movement
84 	+	00020000	Move through door
85 	+	00040000	Move through wall
86 	+	00080000	Move through creatures
87 	+	00100000	Picks up objects
88 	+	00200000	Multiply monster
89 Carries =	01000000	Carries objects.
90 	=	02000000	Carries gold.
91 	=	04000000	Has 60% of time.
92 	=	08000000	Has 90% of time.
93 	=	10000000	1d2 objects/gold.
94 	=	20000000	2d2 objects/gold.
95 	=	40000000	4d2 objects/gold.
96 Special ~	80000000	Win-the-Game creature.
97 
98 		SPELL Flags:
99 Frequency	000001	  1	These add up to x.  Then
100 (1 in x).	000002	  2	if RANDINT(X) = 1 the
101 	.	000004	  4	creature casts a spell.
102 	.	000008	  8
103 Spells	=	000010	Teleport short (blink)
104 	=	000020	Teleport long
105 	=	000040	Teleport player to monster
106 	=	000080	Cause light wound
107 	=	000100	Cause serious wound
108 	=	000200	Hold person (Paralysis)
109 	=	000400	Cause blindness
110 	=	000800	Cause confusion
111 	=	001000	Cause fear
112 	=	002000	Summon monster
113 	=	004000	Summon undead
114 	=	008000	Slow Person
115 	=	010000	Drain Mana
116 	=	020000	Not Used
117 	=	040000	Not Used
118 Breath/	+	080000	Breathe/Resist Lightning
119 Resist	+	100000	Breathe/Resist Gas
120 	+	200000	Breathe/Resist Acid
121 	+	400000	Breathe/Resist Frost
122 	+	800000	Breathe/Resist Fire
123 
124 		CDEFENSE flags:
125 		0001	Hurt by Slay Dragon.
126 		0002	Hurt by Slay Animal.
127 		0004	Hurt by Slay Evil.
128 		0008	Hurt by Slay Undead.
129 		0010	Hurt by Frost.
130 		0020	Hurt by Fire.
131 		0040	Hurt by Poison.
132 		0080	Hurt by Acid.
133 		0100	Hurt by Light-Wand.
134 		0200	Hurt by Stone-to-Mud.
135 		0400	Not used.
136 		0800	Not used.
137 		1000	Cannot be charmed or slept.
138 		2000	Can be seen with infra-vision.
139 		4000	Max Hit points.
140 		8000	Not used.
141 
142 
143 	Sleep (sleep)	:	A measure in turns of how fast creature
144 				will notice player (on the average).
145 	Area of affect (aaf) :	Max range that creature is able to "notice"
146 				the player.
147 									*/
148 
149 #ifdef MACGAME
150 creature_type *c_list;
151 #else
152 creature_type c_list[MAX_CREATURES] = {
153 {"Filthy Street Urchin"	    ,0x0012000AL,0x00000000L,0x2034,    0,  40,
154    4,	1, 11, 'p', {1,4}   , {72,148,0,0}		,    0},
155 {"Blubbering Idiot"	    ,0x0012000AL,0x00000000L,0x2030,    0,   0,
156    6,	1, 11, 'p', {1,2}   , {79,0,0,0}		,    0},
157 {"Pitiful-Looking Beggar"   ,0x0012000AL,0x00000000L,0x2030,    0,  40,
158   10,	1, 11, 'p', {1,4}   , {72,0,0,0}		,    0},
159 {"Mangy-Looking Leper"	    ,0x0012000AL,0x00000000L,0x2030,    0,  50,
160   10,	1, 11, 'p', {1,1}   , {72,0,0,0}		,    0},
161 {"Squint-Eyed Rogue"	    ,0x07120002L,0x00000000L,0x2034,    0,  99,
162   10,	8, 11, 'p', {2,8}   , {5,149,0,0}		,    0},
163 {"Singing, Happy Drunk"	    ,0x06120038L,0x00000000L,0x2030,    0,   0,
164   10,	1, 11, 'p', {2,3}   , {72,0,0,0}		,    0},
165 {"Mean-Looking Mercenary"   ,0x0B12000AL,0x00000000L,0x2034,    0, 250,
166   10,  20, 11, 'p', {5,8}   , {9,0,0,0}			,    0},
167 {"Battle-Scarred Veteran"   ,0x0B12000AL,0x00000000L,0x2030,    0, 250,
168   10,  30, 11, 'p', {7,8}   , {15,0,0,0}		,    0},
169 {"Grey Mushroom patch"	    ,0x00000001L,0x00000000L,0x10A0,    1,   0,
170    2,	1, 11, ',', {1,2}   , {91,0,0,0}		,    1},
171 {"Giant Yellow Centipede"   ,0x00000002L,0x00000000L,0x0002,    2,  30,
172    8,  12, 11, 'c', {2,6}   , {26,60,0,0}		,    1},
173 {"Giant White Centipede"    ,0x0000000AL,0x00000000L,0x0002,    2,  40,
174    7,  10, 11, 'c', {3,5}   , {25,59,0,0}		,    1},
175 {"White Icky-Thing"	    ,0x00000012L,0x00000000L,0x0020,    2,  10,
176   12,	7, 11, 'i', {3,5}   , {63,0,0,0}		,    1},
177 {"Clear Icky-Thing"	    ,0x00010012L,0x00000000L,0x0020,    1,  10,
178   12,	6, 11, 'i', {2,5}   , {63,0,0,0}		,    1},
179 {"Giant White Mouse"	    ,0x0020000AL,0x00000000L,0x2072,    1,  20,
180    8,	4, 11, 'r', {1,3}   , {25,0,0,0}		,    1},
181 {"Large Brown Snake"	    ,0x0000000AL,0x00000000L,0x00B2,    3,  99,
182    4,  35, 10, 'R', {4,6}   , {26,73,0,0}		,    1},
183 {"Large White Snake"	    ,0x00000012L,0x00000000L,0x00B2,    2,  99,
184    4,  30, 11, 'R', {3,6}   , {24,0,0,0}		,    1},
185 {"Kobold"		    ,0x07820002L,0x00000000L,0x2030,    5,  10,
186   20,  16, 11, 'k', {3,7}   , {5,0,0,0}			,    1},
187 {"White Worm mass"	    ,0x00200022L,0x00000000L,0x01B2,    2,  10,
188    7,	1, 10, 'w', {4,4}   , {173,0,0,0}		,    1},
189 {"Floating Eye"		    ,0x00000001L,0x0001000DL,0x2100,    1,  10,
190    2,	6, 11, 'e', {3,6}   , {146,0,0,0}		,    1},
191 {"Shrieker Mushroom patch"  ,0x00000001L,0x00000000L,0x10A0,    1,   0,
192    2,	1, 11, ',', {1,1}   , {203,0,0,0}		,    2},
193 {"Blubbering Icky-Thing"    ,0x0B980012L,0x00000000L,0x0020,    8,  10,
194   14,	4, 11, 'i', {5,8}   , {174,210,0,0}		,    2},
195 {"Metallic Green Centipede" ,0x00000012L,0x00000000L,0x0002,    3,  10,
196    5,	4, 12, 'c', {4,4}   , {68,0,0,0}		,    2},
197 {"Novice Warrior"	    ,0x07020002L,0x00000000L,0x2030,    6,   5,
198   20,  16, 11, 'p', {9,4}   , {6,0,0,0}			,    2},
199 {"Novice Rogue"		    ,0x07120002L,0x00000000L,0x2034,    6,   5,
200   20,  12, 11, 'p', {8,4}   , {5,148,0,0}		,    2},
201 {"Novice Priest"	    ,0x07020002L,0x0000108CL,0x2030,    7,   5,
202   20,  10, 11, 'p', {7,4}   , {4,0,0,0}			,    2},
203 {"Novice Mage"		    ,0x07020002L,0x0000089CL,0x2030,    7,   5,
204   20,	6, 11, 'p', {6,4}   , {3,0,0,0}			,    2},
205 {"Yellow Mushroom patch"    ,0x00000001L,0x00000000L,0x10A0,    2,   0,
206    2,	1, 11, ',', {1,1}   , {100,0,0,0}		,    2},
207 {"White Jelly"		    ,0x00000001L,0x00000000L,0x11A0,   10,  99,
208    2,	1, 12, 'J', {8,8}   , {168,0,0,0}		,    2},
209 {"Giant Green Frog"	    ,0x0000000AL,0x00000000L,0x00A2,    6,  30,
210   12,	8, 11, 'f', {2,8}   , {26,0,0,0}		,    2},
211 {"Giant Black Ant"	    ,0x0000000AL,0x00000000L,0x0002,    8,  80,
212    8,  20, 11, 'a', {3,6}   , {27,0,0,0}		,    2},
213 {"White Harpy"		    ,0x00000012L,0x00000000L,0x2034,    5,  10,
214   16,  17, 11, 'h', {2,5}   , {49,49,25,0}		,    2},
215 {"Blue Yeek"		    ,0x07020002L,0x00000000L,0x2030,    4,  10,
216   18,  14, 11, 'y', {2,6}   , {4,0,0,0}			,    2},
217 {"Green Worm mass"	    ,0x00200022L,0x00000000L,0x0132,    3,  10,
218    7,	3, 10, 'w', {6,4}   , {140,0,0,0}		,    2},
219 {"Large Black Snake"	    ,0x0000000AL,0x00000000L,0x00B2,    9,  75,
220    5,  38, 10, 'R', {4,8}   , {27,74,0,0}		,    2},
221 {"Poltergeist"		    ,0x0F95003AL,0x0000001FL,0x110C,    6,  10,
222    8,  15, 13, 'G', {2,5}   , {93,0,0,0}		,    3},
223 {"Metallic Blue Centipede"  ,0x00000012L,0x00000000L,0x0002,    7,  15,
224    6,	6, 12, 'c', {4,5}   , {69,0,0,0}		,    3},
225 {"Giant White Louse"	    ,0x00200022L,0x00000000L,0x01F2,    1,  10,
226    6,	5, 12, 'l', {1,1}   , {24,0,0,0}		,    3},
227 {"Black Naga"		    ,0x0710000AL,0x00000000L,0x20E4,   20, 120,
228   16,  40, 11, 'n', {6,8}   , {75,0,0,0}		,    3},
229 {"Spotted Mushroom patch"   ,0x00000001L,0x00000000L,0x10A0,    3,   0,
230    2,	1, 11, ',', {1,1}   , {175,0,0,0}		,    3},
231 {"Yellow Jelly"		    ,0x00000001L,0x0001000FL,0x11A0,   12,  99,
232    2,	1, 12, 'J', {10,8}  , {169,0,0,0}		,    3},
233 {"Scruffy-Looking Hobbit"   ,0x07920002L,0x00000000L,0x2034,    4,  10,
234   16,	8, 11, 'p', {3,5}   , {3,148,0,0}		,    3},
235 {"Huge Brown Bat"	    ,0x00000022L,0x00000000L,0x2162,    4,  40,
236    8,  12, 13, 'b', {2,6}   , {25,0,0,0}		,    3},
237 {"Giant White Ant"	    ,0x00000002L,0x00000000L,0x0002,    7,  80,
238    8,  16, 11, 'a', {3,6}   , {27,0,0,0}		,    3},
239 {"Yellow Mold"		    ,0x00000001L,0x00000000L,0x10A0,    9,  99,
240    2,  10, 11, 'm', {8,8}   , {3,0,0,0}			,    3},
241 {"Metallic Red Centipede"   ,0x0000000AL,0x00000000L,0x0002,   12,  20,
242    8,	9, 12, 'c', {4,8}   , {69,0,0,0}		,    3},
243 {"Yellow Worm mass"	    ,0x00200022L,0x00000000L,0x01B2,    4,  10,
244    7,	4, 10, 'w', {4,8}   , {182,0,0,0}		,    3},
245 {"Large Green Snake"	    ,0x0000000AL,0x00000000L,0x00B2,   10,  70,
246    5,  40, 10, 'R', {6,8}   , {27,74,0,0}		,    3},
247 {"Radiation Eye"	    ,0x00000001L,0x0001000BL,0x2100,    6,  10,
248    2,	6, 11, 'e', {3,6}   , {88,0,0,0}		,    3},
249 {"Drooling Harpy"	    ,0x00000012L,0x00000000L,0x2034,    7,  10,
250   16,  22, 11, 'h', {2,8}   , {49,49,25,79}		,    3},
251 {"Silver Mouse"		    ,0x0020000AL,0x00000000L,0x0072,    1,  10,
252    8,	5, 11, 'r', {1,1}   , {212,0,0,0}		,    4},
253 {"Black Mushroom patch"	    ,0x00000001L,0x00000000L,0x10A0,    8,   0,
254    2,	1, 11, ',', {8,8}   , {71,0,0,0}		,    4},
255 {"Blue Jelly"		    ,0x00000001L,0x00400000L,0x11A0,   14,  99,
256    2,	1, 11, 'J', {12,8}  , {125,0,0,0}		,    4},
257 {"Creeping Copper Coins"    ,0x12000002L,0x00000000L,0x1000,    9,  10,
258    3,  24, 10, '$', {7,8}   , {3,170,0,0}		,    4},
259 {"Giant White Rat"	    ,0x0020000AL,0x00000000L,0x2072,    1,  30,
260    8,	7, 11, 'r', {2,2}   , {153,0,0,0}		,    4},
261 {"Giant Black Centipede"    ,0x0000000AL,0x00000000L,0x0002,   11,  30,
262    8,  20, 11, 'c', {5,8}   , {25,59,0,0}		,    4},
263 {"Giant Blue Centipede"	    ,0x00000002L,0x00000000L,0x0002,   10,  50,
264    8,  20, 11, 'c', {4,8}   , {26,61,0,0}		,    4},
265 {"Blue Worm mass"	    ,0x00200022L,0x00400000L,0x01A2,    5,  10,
266    7,  12, 10, 'w', {5,8}   , {129,0,0,0}		,    4},
267 {"Large Grey Snake"	    ,0x0000000AL,0x00000000L,0x00B2,   14,  50,
268    6,  41, 10, 'R', {6,8}   , {28,75,0,0}		,    4},
269 {"Jackal"		    ,0x00000012L,0x00000000L,0x2032,    8,  30,
270   12,  16, 11, 'j', {3,8}   , {29,0,0,0}		,    4},
271 {"Green Naga"		    ,0x0710000AL,0x00200000L,0x2064,   30, 120,
272   18,  40, 11, 'n', {9,8}   , {75,118,0,0}		,    5},
273 {"Green Glutton Ghost"	    ,0x0F950032L,0x0000003FL,0x110C,   15,  10,
274   10,  20, 13, 'G', {3,6}   , {211,0,0,0}		,    5},
275 {"White Mushroom patch"	    ,0x00000001L,0x00000000L,0x10A0,    5,   0,
276    2,	1, 11, ',', {1,1}   , {147,0,0,0}		,    5},
277 {"Green Jelly"		    ,0x00000001L,0x00200000L,0x1120,   18,  99,
278    2,	1, 12, 'J', {22,8}  , {136,0,0,0}		,    5},
279 {"Skeleton Kobold"	    ,0x00020002L,0x00000000L,0x100C,   12,  40,
280   20,  26, 11, 's', {5,8}   , {5,0,0,0}			,    5},
281 {"Silver Jelly"		    ,0x00000001L,0x00000000L,0x10A0,   15,  40,
282    2,  25, 11, 'J', {20,8}  , {213,0,0,0}		,    5},
283 {"Giant Black Frog"	    ,0x0000000AL,0x00000000L,0x00A2,   12,  40,
284   12,  18, 11, 'f', {4,8}   , {29,0,0,0}		,    5},
285 {"Grey Icky-Thing"	    ,0x00000012L,0x00000000L,0x0020,   10,  15,
286   14,  12, 11, 'i', {4,8}   , {66,0,0,0}		,    5},
287 {"Disenchanter Eye"	    ,0x00000001L,0x00010009L,0x2100,   20,  10,
288    2,  10, 10, 'e', {7,8}   , {207,0,0,0}		,    5},
289 {"Black Yeek"		    ,0x07020002L,0x00000000L,0x2030,    8,  10,
290   18,  16, 11, 'y', {2,8}   , {4,0,0,0}			,    5},
291 {"Red Worm mass"	    ,0x00200022L,0x00800000L,0x2192,    6,  10,
292    7,  12, 10, 'w', {5,8}   , {111,0,0,0}		,    5},
293 {"Giant House Fly"	    ,0x00000022L,0x00000000L,0x0062,   10,  20,
294   12,  16, 13, 'F', {3,8}   , {25,0,0,0}		,    5},
295 {"Copperhead Snake"	    ,0x00000012L,0x00000000L,0x00B2,   15,   1,
296    6,  20, 11, 'R', {4,6}   , {158,0,0,0}		,    5},
297 {"Rot Jelly"		    ,0x00000001L,0x00000000L,0x10A0,   15,  99,
298    2,  30, 11, 'J', {20,8}  , {209,0,0,0}		,    5},
299 {"Purple Mushroom patch"    ,0x00000001L,0x00000000L,0x10A0,   12,   0,
300    2,	1, 12, ',', {1,1}   , {183,0,0,0}		,    6},
301 {"Brown Mold"		    ,0x00000001L,0x00000000L,0x10A0,   20,  99,
302    2,  12, 11, 'm', {15,8}  , {89,0,0,0}		,    6},
303 {"Giant Brown Bat"	    ,0x0000001AL,0x00000000L,0x2162,   10,  30,
304   10,  15, 13, 'b', {3,8}   , {26,0,0,0}		,    6},
305 {"Creeping Silver Coins"    ,0x16000002L,0x00000000L,0x1000,   18,  10,
306    4,  30, 10, '$', {12,8}  , {5,171,0,0}		,    6},
307 {"Orc"			    ,0x0B020002L,0x00000000L,0x2034,   16,  30,
308   20,  32, 11, 'o', {9,8}   , {7,0,0,0}			,    6},
309 {"Grey Harpy"		    ,0x00000012L,0x00000000L,0x2034,   14,  10,
310   16,  20, 12, 'h', {3,8}   , {50,50,25,0}		,    6},
311 {"Blue Icky-Thing"	    ,0x00000012L,0x00400000L,0x0020,   12,  20,
312   14,  14, 11, 'i', {4,8}   , {126,0,0,0}		,    6},
313 {"Rattlesnake"		    ,0x00000012L,0x00000000L,0x00B2,   20,   1,
314    6,  24, 11, 'R', {6,7}   , {159,0,0,0}		,    6},
315 {"Bloodshot Eye"	    ,0x00000001L,0x00010007L,0x2100,   15,  10,
316    2,	6, 11, 'e', {4,8}   , {143,0,0,0}		,    7},
317 {"Red Naga"		    ,0x0710000AL,0x00000000L,0x20E4,   40, 120,
318   20,  40, 11, 'n', {11,8}  , {76,82,0,0}		,    7},
319 {"Red Jelly"		    ,0x00000001L,0x00000000L,0x11A0,   26,  99,
320    2,	1, 11, 'J', {26,8}  , {87,0,0,0}		,    7},
321 {"Giant Red Frog"	    ,0x0000000AL,0x00000000L,0x00A2,   16,  50,
322   12,  16, 11, 'f', {5,8}   , {83,0,0,0}		,    7},
323 {"Green Icky-Thing"	    ,0x00000012L,0x00000000L,0x0020,   18,  20,
324   14,  12, 11, 'i', {5,8}   , {137,0,0,0}		,    7},
325 {"Zombie Kobold"	    ,0x00020002L,0x00000000L,0x102C,   14,  30,
326   20,  14, 11, 'z', {6,8}   , {1,1,0,0}			,    7},
327 {"Lost Soul"		    ,0x0F95001AL,0x0001002FL,0x110C,   18,  10,
328   12,  10, 11, 'G', {2,8}   , {11,185,0,0}		,    7},
329 {"Greedy Little Gnome"	    ,0x0B920002L,0x00000000L,0x2034,   13,  10,
330   18,  14, 11, 'p', {3,8}   , {6,149,0,0}		,    7},
331 {"Giant Green Fly"	    ,0x00000022L,0x00000000L,0x0062,   15,  20,
332   12,  14, 12, 'F', {3,8}   , {27,0,0,0}		,    7},
333 {"Brown Yeek"		    ,0x07020002L,0x00000000L,0x2030,   11,  10,
334   18,  18, 11, 'y', {3,8}   , {5,0,0,0}			,    8},
335 {"Green Mold"		    ,0x00000001L,0x00000000L,0x10A0,   28,  75,
336    2,  14, 11, 'm', {21,8}  , {94,0,0,0}		,    8},
337 {"Skeleton Orc"		    ,0x00020002L,0x00000000L,0x100C,   26,  40,
338   20,  36, 11, 's', {10,8}  , {14,0,0,0}		,    8},
339 {"Seedy Looking Human"	    ,0x13020002L,0x00000000L,0x2034,   22,  20,
340   20,  26, 11, 'p', {8,8}   , {17,0,0,0}		,    8},
341 {"Red Icky-Thing"	    ,0x00000012L,0x00200000L,0x0020,   22,  20,
342   14,  18, 12, 'i', {4,8}   , {64,117,0,0}		,    8},
343 {"Bandit"		    ,0x13120002L,0x00000000L,0x2034,   26,  10,
344   20,  24, 11, 'p', {8,8}   , {13,148,0,0}		,    8},
345 {"Yeti"			    ,0x00020002L,0x00400000L,0x2024,   30,  10,
346   20,  24, 11, 'Y', {11,8}  , {51,51,27,0}		,    9},
347 {"Bloodshot Icky-Thing"	    ,0x00000012L,0x0001000BL,0x0020,   24,  20,
348   14,  18, 11, 'i', {7,8}   , {65,139,0,0}		,    9},
349 {"Giant Grey Rat"	    ,0x0020000AL,0x00000000L,0x2072,    2,  20,
350    8,  12, 11, 'r', {2,3}   , {154,0,0,0}		,    9},
351 {"Black Harpy"		    ,0x0000000AL,0x00000000L,0x2034,   19,  10,
352   16,  22, 12, 'h', {3,8}   , {50,50,26,0}		,    9},
353 {"Giant Black Bat"	    ,0x00000012L,0x00000000L,0x2162,   16,  25,
354   12,  18, 13, 'b', {2,8}   , {29,0,0,0}		,    9},
355 {"Clear Yeek"		    ,0x07030002L,0x00000000L,0x0030,   14,  10,
356   18,  24, 11, 'y', {3,6}   , {4,0,0,0}			,    9},
357 {"Orc Shaman"		    ,0x0B020002L,0x00008085L,0x2034,   30,  20,
358   20,  15, 11, 'o', {7,8}   , {5,0,0,0}			,    9},
359 {"Giant Red Ant"	    ,0x00000002L,0x00000000L,0x0002,   22,  60,
360   12,  34, 11, 'a', {4,8}   , {27,85,0,0}		,    9},
361 {"King Cobra"		    ,0x00000012L,0x00000000L,0x00B2,   28,   1,
362    8,  30, 11, 'R', {8,8}   , {144,161,0,0}		,    9},
363 {"Clear Mushroom patch"	    ,0x00210001L,0x00000000L,0x10A0,    1,   0,
364    4,	1, 12, ',', {1,1}   , {70,0,0,0}		,   10},
365 {"Giant White Tick"	    ,0x0000000AL,0x00000000L,0x0022,   27,  20,
366   12,  40, 10, 't', {15,8}  , {160,0,0,0}		,   10},
367 {"Hairy Mold"		    ,0x00000001L,0x00000000L,0x10A0,   32,  70,
368    2,  15, 11, 'm', {15,8}  , {151,0,0,0}		,   10},
369 {"Disenchanter Mold"	    ,0x00000001L,0x0001000BL,0x10A0,   40,  70,
370    2,  20, 11, 'm', {16,8}  , {206,0,0,0}		,   10},
371 {"Giant Red Centipede"	    ,0x00000002L,0x00000000L,0x0002,   24,  50,
372   12,  26, 12, 'c', {3,8}   , {25,164,0,0}		,   10},
373 {"Creeping Gold Coins"	    ,0x1A000002L,0x00000000L,0x1000,   32,  10,
374    5,  36, 10, '$', {18,8}  , {14,172,0,0}		,   10},
375 {"Giant Fruit Fly"	    ,0x00200022L,0x00000000L,0x0062,    4,  10,
376    8,  14, 12, 'F', {2,2}   , {25,0,0,0}		,   10},
377 {"Brigand"		    ,0x13120002L,0x00000000L,0x2034,   35,  10,
378   20,  32, 11, 'p', {9,8}   , {13,149,0,0}		,   10},
379 {"Orc Zombie"		    ,0x00020002L,0x00000000L,0x102C,   30,  25,
380   20,  24, 11, 'z', {11,8}  , {3,3,0,0}			,   11},
381 {"Orc Warrior"		    ,0x0B020002L,0x00000000L,0x2034,   34,  25,
382   20,  36, 11, 'o', {11,8}  , {15,0,0,0}		,   11},
383 {"Vorpal Bunny"		    ,0x0020000AL,0x00000000L,0x2072,    2,  30,
384    8,  10, 12, 'r', {2,3}   , {28,0,0,0}		,   11},
385 {"Nasty Little Gnome"	    ,0x13820002L,0x000020B5L,0x2034,   32,  10,
386   18,  10, 11, 'p', {4,8}   , {4,0,0,0}			,   11},
387 {"Hobgoblin"		    ,0x0F020002L,0x00000000L,0x2034,   38,  30,
388   20,  38, 11, 'H', {12,8}  , {9,0,0,0}			,   11},
389 {"Black Mamba"		    ,0x00000012L,0x00000000L,0x00B2,   40,   1,
390   10,  32, 12, 'R', {10,8}  , {163,0,0,0}		,   12},
391 {"Grape Jelly"		    ,0x00000001L,0x0001000BL,0x11A0,   60,  99,
392    2,	1, 11, 'J', {52,8}  , {186,0,0,0}		,   12},
393 {"Master Yeek"		    ,0x07020002L,0x00008018L,0x2030,   28,  10,
394   18,  24, 11, 'y', {5,8}   , {7,0,0,0}			,   12},
395 {"Priest"		    ,0x13020002L,0x00000285L,0x2030,   36,  40,
396   20,  22, 11, 'p', {7,8}   , {12,0,0,0}		,   12},
397 {"Giant Clear Ant"	    ,0x00010002L,0x00000000L,0x0002,   24,  60,
398   12,  18, 11, 'a', {3,7}   , {27,0,0,0}		,   12},
399 {"Air Spirit"		    ,0x00030022L,0x00000000L,0x1000,   40,  20,
400   12,  20, 13, 'E', {5,8}   , {2,0,0,0}			,   12},
401 {"Skeleton Human"	    ,0x00020002L,0x00000000L,0x100C,   38,  30,
402   20,  30, 11, 's', {12,8}  , {7,0,0,0}			,   12},
403 {"Human Zombie"		    ,0x00020002L,0x00000000L,0x102C,   34,  20,
404   20,  24, 11, 'z', {11,8}  , {3,3,0,0}			,   12},
405 {"Moaning Spirit"	    ,0x0F15000AL,0x0001002FL,0x110C,   44,  10,
406   14,  20, 11, 'G', {4,8}   , {99,178,0,0}		,   12},
407 {"Swordsman"		    ,0x13020002L,0x00000000L,0x2030,   40,  20,
408   20,  34, 11, 'p', {11,8}  , {18,0,0,0}		,   12},
409 {"Killer Brown Beetle"	    ,0x0000000AL,0x00000000L,0x0002,   38,  30,
410   10,  40, 11, 'K', {13,8}  , {41,0,0,0}		,   13},
411 {"Ogre"			    ,0x07020002L,0x00000000L,0x2034,   42,  30,
412   20,  32, 11, 'o', {13,8}  , {16,0,0,0}		,   13},
413 {"Giant Red Speckled Frog"  ,0x0000000AL,0x00000000L,0x00A2,   32,  30,
414   12,  20, 11, 'f', {6,8}   , {41,0,0,0}		,   13},
415 {"Magic User"		    ,0x13020002L,0x00002413L,0x2030,   35,  10,
416   20,  10, 11, 'p', {7,8}   , {11,0,0,0}		,   13},
417 {"Black Orc"		    ,0x0B020002L,0x00000000L,0x2034,   40,  20,
418   20,  36, 11, 'o', {12,8}  , {17,0,0,0}		,   13},
419 {"Giant Long-Eared Bat"	    ,0x00000012L,0x00000000L,0x2162,   20,  20,
420   12,  20, 13, 'b', {5,8}   , {27,50,50,0}		,   13},
421 {"Giant Gnat"		    ,0x00200022L,0x00000000L,0x0062,    1,  10,
422    8,	4, 13, 'F', {1,2}   , {24,0,0,0}		,   13},
423 {"Killer Green Beetle"	    ,0x0000000AL,0x00000000L,0x0002,   46,  30,
424   12,  45, 11, 'K', {16,8}  , {43,0,0,0}		,   14},
425 {"Giant Flea"		    ,0x00200022L,0x00000000L,0x0062,    1,  10,
426    8,  25, 12, 'F', {2,2}   , {25,0,0,0}		,   14},
427 {"Giant White Dragon Fly"   ,0x00000012L,0x0040000AL,0x0062,   54,  50,
428   20,  20, 11, 'F', {5,8}   , {122,0,0,0}		,   14},
429 {"Hill Giant"		    ,0x07020002L,0x00000000L,0x2034,   52,  50,
430   20,  36, 11, 'P', {16,8}  , {19,0,0,0}		,   14},
431 {"Skeleton Hobgoblin"	    ,0x00020002L,0x00000000L,0x100C,   46,  30,
432   20,  34, 11, 's', {13,8}  , {14,0,0,0}		,   14},
433 {"Flesh Golem"		    ,0x00000002L,0x00000000L,0x1030,   48,  10,
434   12,  10, 11, 'g', {12,8}  , {5,5,0,0}			,   14},
435 {"White Dragon Bat"	    ,0x00000012L,0x00400004L,0x0162,   40,  50,
436   12,  20, 13, 'b', {2,6}   , {121,0,0,0}		,   14},
437 {"Giant Black Louse"	    ,0x00200012L,0x00000000L,0x01F2,    1,  10,
438    6,	7, 12, 'l', {1,1}   , {25,0,0,0}		,   14},
439 {"Guardian Naga"	    ,0x1710000AL,0x00000000L,0x20E4,   60, 120,
440   20,  50, 11, 'n', {24,8}  , {77,31,0,0}		,   15},
441 {"Giant Grey Bat"	    ,0x00000012L,0x00000000L,0x2162,   22,  15,
442   12,  22, 13, 'b', {4,8}   , {29,50,50,0}		,   15},
443 {"Giant Clear Centipede"    ,0x00010002L,0x00000000L,0x0002,   30,  30,
444   12,  30, 11, 'c', {5,8}   , {34,62,0,0}		,   15},
445 {"Giant Yellow Tick"	    ,0x0000000AL,0x00000000L,0x0022,   48,  20,
446   12,  48, 10, 't', {20,8}  , {162,0,0,0}		,   15},
447 {"Giant Ebony Ant"	    ,0x00200002L,0x00000000L,0x0002,    3,  60,
448   12,  24, 11, 'a', {3,4}   , {33,0,0,0}		,   15},
449 {"Frost Giant"		    ,0x07020002L,0x00400000L,0x0024,   54,  50,
450   20,  38, 11, 'P', {17,8}  , {120,0,0,0}		,   15},
451 {"Clay Golem"		    ,0x00000002L,0x00000000L,0x1200,   50,  10,
452   12,  20, 11, 'g', {14,8}  , {7,7,0,0}			,   15},
453 {"Huge White Bat"	    ,0x00200012L,0x00000000L,0x2162,    3,  40,
454    7,  12, 12, 'b', {3,8}   , {29,0,0,0}		,   15},
455 {"Giant Tan Bat"	    ,0x00000012L,0x00000000L,0x2162,   18,  40,
456   12,  18, 12, 'b', {3,8}   , {95,49,49,0}		,   15},
457 {"Violet Mold"		    ,0x00000001L,0x00010009L,0x10A0,   50,  70,
458    2,  15, 11, 'm', {17,8}  , {145,0,0,0}		,   15},
459 {"Umber Hulk"		    ,0x00020002L,0x00000000L,0x2124,   75,  10,
460   20,  20, 11, 'U', {20,8}  , {92,5,5,36}		,   16},
461 {"Gelatinous Cube"	    ,0x2F98000AL,0x00200000L,0x1020,   36,   1,
462   12,  18, 10, 'C', {45,8}  , {115,0,0,0}		,   16},
463 {"Giant Black Rat"	    ,0x0020000AL,0x00000000L,0x2072,    3,  20,
464    8,  16, 11, 'r', {3,4}   , {155,0,0,0}		,   16},
465 {"Giant Green Dragon Fly"   ,0x00000012L,0x0010000AL,0x0032,   58,  50,
466   20,  20, 11, 'F', {5,8}   , {156,0,0,0}		,   16},
467 {"Fire Giant"		    ,0x07020002L,0x00800000L,0x2014,   62,  50,
468   20,  40, 11, 'P', {20,8}  , {102,0,0,0}		,   16},
469 {"Green Dragon Bat"	    ,0x00000012L,0x00100004L,0x2112,   44,  50,
470   12,  22, 13, 'b', {2,7}   , {153,0,0,0}		,   16},
471 {"Quasit"		    ,0x1183000AL,0x000010FAL,0x1004,   48,  20,
472   20,  30, 11, 'q', {5,8}   , {176,51,51,0}		,   16},
473 {"Troll"		    ,0x0F020002L,0x00000000L,0x2024,   64,  40,
474   20,  40, 11, 'T', {17,8}  , {3,3,29,0}		,   17},
475 {"Water Spirit"		    ,0x0000000AL,0x00000000L,0x1020,   58,  40,
476   12,  28, 12, 'E', {8,8}   , {13,0,0,0}		,   17},
477 {"Giant Brown Scorpion"	    ,0x0000000AL,0x00000000L,0x0002,   62,  20,
478   12,  44, 11, 'S', {11,8}  , {34,86,0,0}		,   17},
479 {"Earth Spirit"		    ,0x0016000AL,0x00000000L,0x1200,   64,  50,
480   10,  40, 11, 'E', {13,8}  , {7,7,0,0}			,   17},
481 {"Fire Spirit"		    ,0x0000000AL,0x00800000L,0x3010,   66,  20,
482   16,  30, 12, 'E', {10,8}  , {101,0,0,0}		,   18},
483 {"Uruk-Hai Orc"		    ,0x0B020002L,0x00000000L,0x2034,   68,  20,
484   20,  42, 11, 'o', {14,8}  , {18,0,0,0}		,   18},
485 {"Stone Giant"		    ,0x07020002L,0x00000000L,0x2204,   80,  50,
486   20,  40, 11, 'P', {22,8}  , {20,0,0,0}		,   18},
487 {"Stone Golem"		    ,0x00000002L,0x00000000L,0x1200,  100,  10,
488   12,  75, 10, 'g', {28,8}  , {9,9,0,0}			,   19},
489 {"Grey Ooze"		    ,0x07980022L,0x00400000L,0x10A0,   40,   1,
490   15,  10, 11, 'O', {6,8}   , {127,0,0,0}		,   19},
491 {"Disenchanter Ooze"	    ,0x07980022L,0x00000000L,0x10B0,   50,   1,
492   15,  15, 11, 'O', {6,8}   , {205,0,0,0}		,   19},
493 {"Giant Spotted Rat"	    ,0x0020000AL,0x00000000L,0x2072,    3,  20,
494    8,  20, 11, 'r', {4,3}   , {155,0,0,0}		,   19},
495 {"Mummified Kobold"	    ,0x0B820002L,0x00000000L,0x102C,   46,  75,
496   20,  24, 11, 'M', {13,8}  , {5,5,0,0}			,   19},
497 {"Killer Black Beetle"	    ,0x0000000AL,0x00000000L,0x0002,   75,  30,
498   12,  46, 11, 'K', {18,8}  , {44,0,0,0}		,   19},
499 {"Red Mold"		    ,0x00000001L,0x00800000L,0x3090,   64,  70,
500    2,  16, 11, 'm', {17,8}  , {108,0,0,0}		,   19},
501 {"Quylthulg"		    ,0x00010004L,0x00002017L,0x5000,  200,   0,
502   10,	1, 11, 'Q', {4,8}   , {0,0,0,0}			,   20},
503 {"Giant Red Bat"	    ,0x00000012L,0x00000000L,0x2162,   40,  20,
504   12,  24, 12, 'b', {5,8}   , {30,51,51,0}		,   20},
505 {"Giant Black Dragon Fly"   ,0x00000012L,0x00200009L,0x0072,   58,  50,
506   20,  22, 11, 'F', {4,8}   , {141,0,0,0}		,   20},
507 {"Cloud Giant"		    ,0x07020002L,0x00080000L,0x2034,  125,  50,
508   20,  44, 11, 'P', {24,8}  , {130,0,0,0}		,   20},
509 {"Black Dragon Bat"	    ,0x00000012L,0x00200004L,0x2152,   50,  50,
510   12,  24, 13, 'b', {2,8}   , {112,0,0,0}		,   21},
511 {"Blue Dragon Bat"	    ,0x00000012L,0x00080004L,0x2052,   54,  50,
512   12,  26, 13, 'b', {3,6}   , {131,0,0,0}		,   21},
513 {"Mummified Orc"	    ,0x0B020002L,0x00000000L,0x102C,   56,  75,
514   20,  28, 11, 'M', {14,8}  , {13,13,0,0}		,   21},
515 {"Killer Boring Beetle"	    ,0x0000000AL,0x00000000L,0x0002,   70,  30,
516   12,  48, 11, 'K', {18,8}  , {44,0,0,0}		,   21},
517 {"Killer Stag Beetle"	    ,0x0000000AL,0x00000000L,0x0002,   80,  30,
518   12,  50, 11, 'K', {20,8}  , {41,10,0,0}		,   22},
519 {"Black Mold"		    ,0x00000081L,0x00000000L,0x10A0,   68,  50,
520    2,  18, 11, 'm', {15,8}  , {21,0,0,0}		,   22},
521 {"Iron Golem"		    ,0x00000002L,0x00000000L,0x1080,  160,  10,
522   12,  99,  9, 'g', {80,8}  , {10,10,0,0}		,   22},
523 {"Giant Yellow Scorpion"    ,0x0000000AL,0x00000000L,0x0002,   60,  20,
524   12,  38, 11, 'S', {12,8}  , {31,167,0,0}		,   22},
525 {"Green Ooze"		    ,0x07BA0012L,0x00200000L,0x1030,    6,   1,
526   15,	5, 10, 'O', {4,8}   , {116,0,0,0}		,   22},
527 {"Black Ooze"		    ,0x07BA0012L,0x0001000BL,0x1030,    7,   1,
528   10,	6,  9, 'O', {6,8}   , {138,0,0,0}		,   23},
529 {"Warrior"		    ,0x13020002L,0x00000000L,0x2030,   60,  40,
530   20,  40, 11, 'p', {15,8}  , {18,0,0,0}		,   23},
531 {"Red Dragon Bat"	    ,0x00000012L,0x00800004L,0x2152,   60,  50,
532   12,  28, 13, 'b', {3,8}   , {105,0,0,0}		,   23},
533 {"Killer Blue Beetle"	    ,0x0000000AL,0x00000000L,0x0002,   85,  30,
534   14,  50, 11, 'K', {20,8}  , {44,0,0,0}		,   23},
535 {"Giant Silver Ant"	    ,0x0000000AL,0x00200000L,0x0002,   45,  60,
536   10,  38, 11, 'a', {6,8}   , {114,0,0,0}		,   23},
537 {"Crimson Mold"		    ,0x00000001L,0x00000000L,0x10A0,   65,  50,
538    2,  18, 11, 'm', {16,8}  , {2,97,0,0}		,   23},
539 {"Forest Wight"		    ,0x0F02000AL,0x0000100FL,0x112C,  140,  30,
540   20,  30, 11, 'W', {12,8}  , {5,5,187,0}		,   24},
541 {"Berzerker"		    ,0x13020002L,0x00000000L,0x2030,   65,  10,
542   20,  20, 11, 'p', {15,8}  , {7,7,0,0}			,   24},
543 {"Mummified Human"	    ,0x0B020002L,0x00000000L,0x102C,   70,  60,
544   20,  34, 11, 'M', {17,8}  , {13,13,0,0}		,   24},
545 {"Banshee"		    ,0x0F15001AL,0x0001002FL,0x110C,   60,  10,
546   20,  24, 12, 'G', {6,8}   , {99,188,0,0}		,   24},
547 {"Giant Troll"		    ,0x0F020002L,0x00000000L,0x2024,   85,  50,
548   20,  40, 11, 'T', {19,8}  , {5,5,41,0}		,   25},
549 {"Giant Brown Tick"	    ,0x0000000AL,0x00000000L,0x0022,   70,  20,
550   12,  50, 10, 't', {18,8}  , {157,142,0,0}		,   25},
551 {"Killer Red Beetle"	    ,0x0000000AL,0x00000000L,0x0002,   85,  30,
552   14,  50, 11, 'K', {20,8}  , {84,0,0,0}		,   25},
553 {"Wooden Mold"		    ,0x00000001L,0x00000000L,0x10A0,  100,  50,
554    2,  50, 11, 'm', {25,8}  , {171,0,0,0}		,   25},
555 {"Giant Blue Dragon Fly"    ,0x00000012L,0x00080009L,0x0072,   75,  50,
556   20,  24, 11, 'F', {6,8}   , {29,0,0,0}		,   25},
557 {"Giant Grey Ant Lion"	    ,0x0008000AL,0x00000000L,0x0032,   90,  40,
558   10,  40, 11, 'A', {19,8}  , {39,0,0,0}		,   26},
559 {"Disenchanter Bat"	    ,0x00000012L,0x00000000L,0x2162,   75,   1,
560   14,  24, 13, 'b', {4,8}   , {204,0,0,0}		,   26},
561 {"Giant Fire Tick"	    ,0x0000000AL,0x00800000L,0x2012,   90,  20,
562   14,  54, 11, 't', {16,8}  , {109,0,0,0}		,   26},
563 {"White Wraith"		    ,0x0F02000AL,0x0000100CL,0x112C,  165,  10,
564   20,  40, 11, 'W', {15,8}  , {5,5,189,0}		,   26},
565 {"Giant Black Scorpion"	    ,0x0000000AL,0x00000000L,0x0002,   85,  20,
566   12,  50, 11, 'S', {13,8}  , {32,167,0,0}		,   26},
567 {"Clear Ooze"		    ,0x0799000AL,0x00000000L,0x10B0,   12,   1,
568   10,  14, 11, 'O', {4,8}   , {90,0,0,0}		,   26},
569 {"Killer Fire Beetle"	    ,0x0000000AL,0x00800000L,0x2012,   95,  30,
570   14,  45, 11, 'K', {13,8}  , {41,110,0,0}		,   27},
571 {"Vampire"		    ,0x17020002L,0x00001209L,0x112C,  175,  10,
572   20,  45, 11, 'V', {20,8}  , {5,5,190,0}		,   27},
573 {"Giant Red Dragon Fly"	    ,0x00000012L,0x00800008L,0x2052,   75,  50,
574   20,  24, 11, 'F', {7,8}   , {96,0,0,0}		,   27},
575 {"Shimmering Mold"	    ,0x00000081L,0x00080000L,0x10A0,  180,  50,
576    2,  24, 11, 'm', {32,8}  , {135,0,0,0}		,   27},
577 {"Black Knight"		    ,0x13020002L,0x0000010FL,0x2034,  140,  10,
578   20,  60, 11, 'p', {25,8}  , {23,0,0,0}		,   28},
579 {"Mage"			    ,0x13020002L,0x00002C73L,0x2030,  150,  10,
580   20,  30, 11, 'p', {10,8}  , {14,0,0,0}		,   28},
581 {"Ice Troll"		    ,0x0F020002L,0x00400000L,0x0024,  160,  50,
582   20,  46, 11, 'T', {22,8}  , {4,4,123,0}		,   28},
583 {"Giant Purple Worm"	    ,0x0000000AL,0x00200000L,0x2032,  400,  30,
584   14,  65, 11, 'w', {65,8}  , {7,113,166,0}		,   29},
585 {"Young Blue Dragon"	    ,0x1F00000AL,0x0008100BL,0x2005,  300,  70,
586   20,  50, 11, 'd', {33,8}  , {52,52,29,0}		,   29},
587 {"Young White Dragon"	    ,0x1F00000AL,0x0040100BL,0x0025,  275,  70,
588   20,  50, 11, 'd', {32,8}  , {52,52,29,0}		,   29},
589 {"Young Green Dragon"	    ,0x1F00000AL,0x0010100BL,0x2005,  290,  70,
590   20,  50, 11, 'd', {32,8}  , {52,52,29,0}		,   29},
591 {"Giant Fire Bat"	    ,0x00000012L,0x00800000L,0x2152,   85,  10,
592   14,  30, 12, 'b', {5,8}   , {106,52,52,0}		,   29},
593 {"Giant Glowing Rat"	    ,0x0020000AL,0x00080000L,0x2072,    4,  20,
594    8,  24, 11, 'r', {3,3}   , {132,0,0,0}		,   29},
595 	/* Now things are going to get tough.			 */
596 	/* Some of the creatures have Max hit points, denoted in */
597 	/* their CDEFENSE flags as the '4000' bit set		 */
598 {"Skeleton Troll"	    ,0x00020002L,0x00000000L,0x500C,  225,  20,
599   20,  55, 11, 's', {14,8}  , {5,5,41,0}		,   30},
600 {"Giant Lightning Bat"	    ,0x00000012L,0x00080000L,0x2042,   80,  10,
601   15,  34, 12, 'b', {8,8}   , {133,53,53,0}		,   30},
602 {"Giant Static Ant"	    ,0x0000000AL,0x00080000L,0x0002,   80,  60,
603   10,  40, 11, 'a', {8,8}   , {134,0,0,0}		,   30},
604 {"Grave Wight"		    ,0x0F02000AL,0x0000110AL,0x512C,  325,  30,
605   20,  35, 11, 'W', {12,8}  , {6,6,191,0}		,   30},
606 {"Killer Slicer Beetle"	    ,0x0000000AL,0x00000000L,0x0002,  200,  30,
607   14,  55, 11, 'K', {22,8}  , {48,0,0,0}		,   30},
608 {"Giant White Ant Lion"	    ,0x0008000AL,0x00400000L,0x0022,  175,  40,
609   12,  45, 11, 'A', {20,8}  , {124,0,0,0}		,   30},
610 {"Ghost"		    ,0x1715000AL,0x0001002FL,0x510C,  350,  10,
611   20,  30, 12, 'G', {13,8}  , {99,192,184,0}		,   31},
612 {"Giant Black Ant Lion"	    ,0x0008000AL,0x00200000L,0x0032,  170,  40,
613   14,  45, 11, 'A', {23,8}  , {39,119,0,0}		,   31},
614 {"Death Watch Beetle"	    ,0x0000000AL,0x00000000L,0x0002,  190,  30,
615   16,  60, 11, 'K', {25,8}  , {47,67,0,0}		,   31},
616 {"Ogre Mage"		    ,0x0B020002L,0x0000A355L,0x6034,  250,  30,
617   20,  42, 11, 'o', {14,8}  , {19,0,0,0}		,   31},
618 {"Two-Headed Troll"	    ,0x0F020002L,0x00000000L,0x6024,  275,  50,
619   20,  48, 11, 'T', {14,8}  , {7,7,29,29}		,   32},
620 {"Invisible Stalker"	    ,0x00030022L,0x00000000L,0x1000,  200,  20,
621   20,  46, 13, 'E', {19,8}  , {5,0,0,0}			,   32},
622 {"Giant Hunter Ant"	    ,0x00000002L,0x00000000L,0x0002,  150,   1,
623   16,  40, 11, 'a', {12,8}   , {46,0,0,0}		,   32},
624 {"Ninja"		    ,0x13020002L,0x00000000L,0x6034,  300,  10,
625   20,  65, 11, 'p', {15,8}  , {152,80,0,0}		,   32},
626 {"Barrow Wight"		    ,0x0F02000AL,0x00001308L,0x512C,  375,  10,
627   20,  40, 11, 'W', {13,8}  , {7,7,193,0}		,   33},
628 {"Skeleton 2-Headed Troll"  ,0x00020002L,0x00000000L,0x500C,  325,  20,
629   20,  48, 11, 's', {20,8}  , {8,8,28,28}		,   33},
630 {"Water Elemental"	    ,0x0008000AL,0x00000000L,0x1020,  325,  50,
631   12,  36, 11, 'E', {25,8}  , {9,9,0,0}			,   33},
632 {"Fire Elemental"	    ,0x0008000AL,0x00800000L,0x3010,  350,  70,
633   16,  40, 10, 'E', {25,8}  , {103,0,0,0}		,   33},
634 {"Lich"			    ,0x1F020002L,0x00019F75L,0x510C,  750,  60,
635   20,  50, 11, 'L', {25,8}  , {179,194,214,0}		,   34},
636 {"Master Vampire"	    ,0x17020002L,0x00001307L,0x512C,  700,  10,
637   20,  55, 11, 'V', {23,8}  , {5,5,195,0}		,   34},
638 {"Spirit Troll"		    ,0x17150002L,0x00000000L,0x510C,  425,  10,
639   20,  40, 11, 'G', {15,8}  , {53,53,29,185}		,   34},
640 {"Giant Red Scorpion"	    ,0x0000000AL,0x00000000L,0x0002,  275,  40,
641   12,  50, 12, 'S', {18,8}  , {29,165,0,0}		,   34},
642 {"Earth Elemental"	    ,0x001E000AL,0x00000000L,0x1200,  375,  90,
643   10,  60, 10, 'E', {30,8}  , {22,22,0,0}		,   34},
644 {"Young Black Dragon"	    ,0x1F00000AL,0x0020100BL,0x6005,  600,  50,
645   20,  55, 11, 'd', {32,8}  , {53,53,29,0}		,   35},
646 {"Young Red Dragon"	    ,0x1F00000AL,0x0080100AL,0x6015,  650,  50,
647   20,  60, 11, 'd', {36,8}  , {54,54,37,0}		,   35},
648 {"Necromancer"		    ,0x13020002L,0x00005763L,0x6030,  600,  10,
649   20,  40, 11, 'p', {17,8}  , {15,0,0,0}		,   35},
650 {"Mummified Troll"	    ,0x0F020002L,0x00000000L,0x502C,  400,  50,
651   20,  38, 11, 'M', {18,8}  , {15,15,0,0}		,   35},
652 {"Giant Red Ant Lion"	    ,0x0008000AL,0x00800000L,0x2012,  350,  40,
653   14,  48, 11, 'A', {23,8}  , {107,0,0,0}		,   35},
654 {"Mature White Dragon"	    ,0x2F00000AL,0x0040100AL,0x4025, 1000,  70,
655   20,  65, 11, 'd', {48,8}  , {54,54,37,0}		,   35},
656 {"Xorn"			    ,0x00160002L,0x00000000L,0x4200,  650,  10,
657   20,  80, 11, 'X', {20,8}  , {5,5,5,0}			,   36},
658 {"Giant Mottled Ant Lion"   ,0x0008000AL,0x00000000L,0x0032,  350,  40,
659   14,  50, 12, 'A', {24,8}  , {38,0,0,0}		,   36},
660 {"Grey Wraith"		    ,0x0F02000AL,0x00001308L,0x512C,  700,  10,
661   20,  50, 11, 'W', {23,8}  , {9,9,196,0}		,   36},
662 {"Young Multi-Hued Dragon"  ,0x4F00000AL,0x00F81005L,0x6005, 1250,  50,
663   20,  55, 11, 'd', {40,8}  , {55,55,38,0}		,   36},
664 {"Mature Blue Dragon"	    ,0x2F00000AL,0x00081009L,0x6005, 1200,  70,
665   20,  75, 11, 'd', {48,8}  , {54,54,38,0}		,   36},
666 {"Mature Green Dragon"	    ,0x2F00000AL,0x0010100AL,0x6005, 1100,  70,
667   20,  70, 11, 'd', {48,8}  , {52,52,29,0}		,   36},
668 {"Iridescent Beetle"	    ,0x0000000AL,0x00000000L,0x0002,  850,  30,
669   16,  60, 11, 'K', {32,8}  , {45,10,146,0}		,   37},
670 {"King Vampire"		    ,0x17020002L,0x00001307L,0x512C, 1000,  10,
671   20,  65, 11, 'V', {38,8}  , {5,5,198,0}		,   37},
672 {"King Lich"		    ,0x1F020002L,0x00019F73L,0x510C, 1400,  50,
673   20,  65, 11, 'L', {52,8}  , {180,197,214,0}		,   37},
674 {"Mature Red Dragon"	    ,0x2F00000AL,0x00801808L,0x6015, 1400,  30,
675   20,  80, 11, 'd', {60,8}  , {56,56,39,0}		,   37},
676 {"Mature Black Dragon"	    ,0x2F00000AL,0x00201009L,0x6005, 1350,  30,
677   20,  55, 11, 'd', {58,8}  , {54,54,38,0}		,   37},
678 {"Mature Multi-Hued Dragon" ,0x6F00000AL,0x00F81A05L,0x6005, 1650,  50,
679   20,  65, 11, 'd', {80,8}  , {56,56,39,0}		,   38},
680 {"Ancient White Dragon"	    ,0x4F000002L,0x00401A09L,0x4025, 1500,  80,
681   20,  80, 12, 'D', {88,8}  , {54,54,37,0}		,   38},
682 {"Emperor Wight"	    ,0x1B02000AL,0x00001306L,0x512C, 1600,  10,
683   20,  40, 12, 'W', {48,8}  , {10,10,199,0}		,   38},
684 {"Black Wraith"		    ,0x1F02000AL,0x00001307L,0x512C, 1700,  10,
685   20,  55, 11, 'W', {50,8}  , {10,10,200,0}		,   38},
686 {"Nether Wraith"	    ,0x1F07000AL,0x00005316L,0x512C, 2100,  10,
687   20,  55, 11, 'W', {58,8}  , {10,10,202,0}		,   39},
688 {"Sorcerer"		    ,0x1F020002L,0x0000FF73L,0x6030, 2150,  10,
689   20,  50, 12, 'p', {30,8}  , {16,0,0,0}		,   39},
690 {"Ancient Blue Dragon"	    ,0x4F000002L,0x00081A08L,0x6005, 2500,  80,
691   20,  90, 12, 'D', {87,8}  , {55,55,39,0}		,   39},
692 {"Ancient Green Dragon"	    ,0x4F000002L,0x00101A09L,0x6005, 2400,  80,
693   20,  85, 12, 'D', {90,8}  , {54,54,38,0}		,   39},
694 {"Ancient Black Dragon"	    ,0x4F000002L,0x00201A07L,0x6005, 2500,  70,
695   20,  90, 12, 'D', {90,8}  , {55,55,38,0}		,   39},
696 {"Crystal Ooze"		    ,0x07BB000AL,0x00400000L,0x10A0,    8,   1,
697   10,  30,  9, 'O', {12,8}  , {128,0,0,0}		,   40},
698 {"Disenchanter Worm"	    ,0x00200022L,0x00000000L,0x01B2,   30,  10,
699    7,	5, 10, 'w', {10,8}  , {208,0,0,0}		,   40},
700 {"Rotting Quylthulg"	    ,0x00010004L,0x00004014L,0x5000, 1000,   0,
701   20,	1, 12, 'Q', {12,8}  , {0,0,0,0}			,   40},
702 {"Ancient Red Dragon"	    ,0x6F000002L,0x00801E06L,0x6015, 2750,  70,
703   20, 100, 12, 'D', {105,8} , {56,56,40,0}		,   40},
704 {"Death Quasit"		    ,0x1103000AL,0x000010FAL,0x1004, 1000,   0,
705   20,  80, 13, 'q', {55,8}  , {177,58,58,0}		,   40},
706 {"Emperor Lich"		    ,0x2F020002L,0x00019F72L,0x510C,10000,  50,
707   20,  75, 12, 'L', {38,40} , {181,201,214,0}		,   40},
708 {"Ancient Multi-Hued Dragon",0x7F000002L,0x00F89E05L,0x6005,12000,  70,
709   20, 100, 12, 'D', {52,40} , {57,57,42,0}		,   40},
710 	/* Winning creatures should follow here.			 */
711 	/* Winning creatures are denoted by the 32 bit in CMOVE		 */
712 	/* Iggy is not a win creature, just a royal pain in the ass.	 */
713 {"Evil Iggy"		    ,0x7F130002L,0x0001D713L,0x5004,18000,   0,
714   30,  80, 12, 'p', {60,40} , {81,150,0,0}		,   50},
715 	/* Here is the only actual win creature.			 */
716 {"Balrog"		    ,0xFF1F0002L,0x0081C743L,0x5004,55000L,   0,
717   40, 125, 13, 'B', {75,40} , {104,78,214,0}		,  100}
718 };
719 #endif
720 
721 /* ERROR: attack #35 is no longer used */
722 struct m_attack_type monster_attacks[N_MONS_ATTS] = {
723 /* 0 */	{0, 0, 0, 0},	{1, 1, 1, 2},	{1, 1, 1, 3},	{1, 1, 1, 4},
724 	{1, 1, 1, 5},	{1, 1, 1, 6},	{1, 1, 1, 7},	{1, 1, 1, 8},
725 	{1, 1, 1, 9},	{1, 1, 1, 10},	{1, 1, 1, 12},	{1, 1, 2, 2},
726 	{1, 1, 2, 3},	{1, 1, 2, 4},	{1, 1, 2, 5},	{1, 1, 2, 6},
727 	{1, 1, 2, 8},	{1, 1, 3, 4},	{1, 1, 3, 5},	{1, 1, 3, 6},
728 /* 20 */{1, 1, 3, 8},	{1, 1, 4, 3},	{1, 1, 4, 6},	{1, 1, 5, 5},
729 	{1, 2, 1, 1},	{1, 2, 1, 2},	{1, 2, 1, 3},	{1, 2, 1, 4},
730 	{1, 2, 1, 5},	{1, 2, 1, 6},	{1, 2, 1, 7},	{1, 2, 1, 8},
731 	{1, 2, 1, 10},	{1, 2, 2, 3},	{1, 2, 2, 4},	{1, 2, 2, 5},
732 	{1, 2, 2, 6},	{1, 2, 2, 8},	{1, 2, 2, 10},	{1, 2, 2, 12},
733 /* 40 */{1, 2, 2, 14},	{1, 2, 3, 4},	{1, 2, 3, 12},	{1, 2, 4, 4},
734 	{1, 2, 4, 5},	{1, 2, 4, 6},	{1, 2, 4, 8},	{1, 2, 5, 4},
735 	{1, 2, 5, 8},	{1, 3, 1, 1},	{1, 3, 1, 2},	{1, 3, 1, 3},
736 	{1, 3, 1, 4},	{1, 3, 1, 5},	{1, 3, 1, 8},	{1, 3, 1, 9},
737 	{1, 3, 1, 10},	{1, 3, 1, 12},	{1, 3, 3, 3},	{1, 4, 1, 2},
738 /* 60 */{1, 4, 1, 3},	{1, 4, 1, 4},	{1, 4, 2, 4},	{1, 5, 1, 2},
739 	{1, 5, 1, 3},	{1, 5, 1, 4},	{1, 5, 1, 5},	{1, 10, 5, 6},
740 	{1, 12, 1, 1},	{1, 12, 1, 2},	{1, 13, 1, 1},	{1, 13, 1, 3},
741 	{1, 14, 0, 0},	{1, 16, 1, 4},	{1, 16, 1, 6},	{1, 16, 1, 8},
742 	{1, 16, 1, 10},	{1, 16, 2, 8},	{1, 17, 8, 12},	{1, 18, 0, 0},
743 /* 80 */{2, 1, 3, 4},	{2, 1, 4, 6},	{2, 2, 1, 4},	{2, 2, 2, 4},
744 	{2, 2, 4, 4},	{2, 4, 1, 4},	{2, 4, 1, 7},	{2, 5, 1, 5},
745 	{2, 7, 1, 6},	{3, 1, 1, 4},	{3, 5, 1, 8},	{3, 13, 1, 4},
746 	{3, 7, 0, 0},	{4, 1, 1, 1},	{4, 1, 1, 4},	{4, 2, 1, 2},
747 	{4, 2, 1, 6},	{4, 5, 0, 0},	{4, 7, 0, 0},	{4, 10, 0, 0},
748 /*100 */{4, 13, 1, 6},	{5, 1, 2, 6},	{5, 1, 3, 7},	{5, 1, 4, 6},
749 	{5, 1, 10, 12},	{5, 2, 1, 3},	{5, 2, 3, 6},	{5, 2, 3, 12},
750 	{5, 5, 4, 4},	{5, 9, 3, 7},	{5, 9, 4, 5},	{5, 12, 1, 6},
751 	{6, 2, 1, 3},	{6, 2, 2, 8},	{6, 2, 4, 4},	{6, 5, 1, 10},
752 	{6, 5, 2, 3},	{6, 8, 1, 5},	{6, 9, 2, 6},	{6, 9, 3, 6},
753 /*120 */{7, 1, 3, 6},	{7, 2, 1, 3},	{7, 2, 1, 6},	{7, 2, 3, 6},
754 	{7, 2, 3, 10},	{7, 5, 1, 6},	{7, 5, 2, 3},	{7, 5, 2, 6},
755 	{7, 5, 4, 4},	{7, 12, 1, 4},	{8, 1, 3, 8},	{8, 2, 1, 3},
756 	{8, 2, 2, 6},	{8, 2, 3, 8},	{8, 2, 5, 5},	{8, 5, 5, 4},
757 	{9, 5, 1, 2},	{9, 5, 2, 5},	{9, 5, 2, 6},	{9, 8, 2, 4},
758 /*140 */{9, 12, 1, 3},	{10, 2, 1, 6},	{10, 4, 1, 1},	{10, 7, 2, 6},
759 	{10, 9, 1, 2},	{11, 1, 1, 2},	{11, 7, 0, 0},	{11, 13, 2, 4},
760 	{12, 5, 0, 0},	{13, 5, 0, 0},	{13, 19, 0, 0},	{14, 1, 1, 3},
761 	{14, 1, 3, 4},	{14, 2, 1, 3},	{14, 2, 1, 4},	{14, 2, 1, 5},
762 	{14, 2, 1, 6},	{14, 2, 1, 10},	{14, 2, 2, 4},	{14, 2, 2, 5},
763 /*160 */{14, 2, 2, 6},	{14, 2, 3, 4},	{14, 2, 3, 9},	{14, 2, 4, 4},
764 	{14, 4, 1, 2},	{14, 4, 1, 4},	{14, 4, 1, 8},	{14, 4, 2, 5},
765 	{14, 5, 1, 2},	{14, 5, 1, 3},	{14, 5, 2, 4},	{14, 5, 2, 6},
766 	{14, 5, 3, 5},	{14, 12, 1, 2},	{14, 12, 1, 4},	{14, 13, 2, 4},
767 	{15, 2, 1, 6},	{15, 2, 3, 6},	{15, 5, 1, 8},	{15, 5, 2, 8},
768 /*180 */{15, 5, 2, 10},	{15, 5, 2, 12},	{15, 12, 1, 3},	{16, 13, 1, 2},
769 	{17, 3, 1, 10},	{18, 5, 0, 0},	{19, 5, 5, 8},	{19, 5, 12, 8},
770 	{19, 5, 14, 8},	{19, 5, 15, 8},	{19, 5, 18, 8},	{19, 5, 20, 8},
771 	{19, 5, 22, 8},	{19, 5, 26, 8},	{19, 5, 30, 8},	{19, 5, 32, 8},
772 	{19, 5, 34, 8},	{19, 5, 36, 8},	{19, 5, 38, 8},	{19, 5, 42, 8},
773 /*200 */{19, 5, 44, 8},	{19, 5, 46, 8},	{19, 5, 52, 8},	{20, 10, 0, 0},
774 	{21, 1, 0, 0},	{21, 5, 0, 0},	{21, 5, 1, 6},	{21, 7, 0, 0},
775 	{21, 12, 1, 4},	{22, 5, 2, 3},	{22, 12, 0, 0},	{22, 15, 1, 1},
776 /*212 */{23, 1, 1, 1},	{23, 5, 1, 3},	{24, 5, 0, 0}
777 };
778 
779 
780 monster_type m_list[MAX_MALLOC];
781 int16 m_level[MAX_MONS_LEVEL+1];
782 
783 /* Blank monster values	*/
784 monster_type blank_monster = {0,0,0,0,0,0,0,FALSE,0,FALSE};
785 int16 mfptr;			/* Cur free monster ptr	*/
786 int16 mon_tot_mult;		/* # of repro's of creature	*/
787