1 | /* |
1 | /* |
2 | * static char *rcsid_spellist_h = |
2 | * CrossFire, A Multiplayer game for X-windows |
3 | * "$Id: spellist.h,v 1.2 2006/02/07 14:55:32 pippijn Exp $"; |
3 | * |
|
|
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
|
|
5 | * Copyright (C) 1994 Mark Wedel |
|
|
6 | * |
|
|
7 | * This program is free software; you can redistribute it and/or modify |
|
|
8 | * it under the terms of the GNU General Public License as published by |
|
|
9 | * the Free Software Foundation; either version 2 of the License, or |
|
|
10 | * (at your option) any later version. |
|
|
11 | * |
|
|
12 | * This program is distributed in the hope that it will be useful, |
|
|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
15 | * GNU General Public License for more details. |
|
|
16 | * |
|
|
17 | * You should have received a copy of the GNU General Public License |
|
|
18 | * along with this program; if not, write to the Free Software |
|
|
19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
20 | * |
|
|
21 | * The author can be reached via e-mail to mark@pyramid.com |
4 | */ |
22 | */ |
5 | |
23 | |
6 | /* |
|
|
7 | CrossFire, A Multiplayer game for X-windows |
|
|
8 | |
|
|
9 | Copyright (C) 1994 Mark Wedel |
|
|
10 | |
|
|
11 | This program is free software; you can redistribute it and/or modify |
|
|
12 | it under the terms of the GNU General Public License as published by |
|
|
13 | the Free Software Foundation; either version 2 of the License, or |
|
|
14 | (at your option) any later version. |
|
|
15 | |
|
|
16 | This program is distributed in the hope that it will be useful, |
|
|
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
19 | GNU General Public License for more details. |
|
|
20 | |
|
|
21 | You should have received a copy of the GNU General Public License |
|
|
22 | along with this program; if not, write to the Free Software |
|
|
23 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
24 | |
|
|
25 | The author can be reached via e-mail to mark@pyramid.com |
|
|
26 | */ |
|
|
27 | |
|
|
28 | #include "spells.h" |
24 | #include "spells.h" |
29 | |
25 | |
30 | spell spells[NROFREALSPELLS]={ |
26 | const char *const spellpathnames[NRSPELLPATHS] = |
31 | /* name,lvl,sp,charges,time,scrolls[nr,chance],book-chance,rng,defensive,cleric,self |
|
|
32 | path, other arch*/ |
|
|
33 | {"magic bullet", 1, 1, 99, 2, 0, 0, 10, 1, 0, 0, 0, |
|
|
34 | PATH_MISSILE, "bullet",}, /* 0 */ |
|
|
35 | {"small fireball", 1, 6, 40, 5, 0, 0, 8, 1, 0, 0, 0, |
|
|
36 | PATH_FIRE, "firebullet_s",}, |
|
|
37 | {"medium fireball", 3,10, 20, 10, 0, 0, 6, 1, 0, 0, 0, |
|
|
38 | PATH_FIRE, "firebullet_m",}, |
|
|
39 | {"large fireball", 5,16, 10, 15, 0, 0, 2, 1, 0, 0, 0, |
|
|
40 | PATH_FIRE, "firebullet_l",}, |
|
|
41 | {"burning hands", 1, 5, 20, 5, 0, 0, 8, 1, 0, 0, 0, |
|
|
42 | PATH_FIRE, "firebreath",}, |
|
|
43 | {"small lightning", 1, 6, 40, 5, 0, 0, 8, 1, 0, 0, 0, |
|
|
44 | PATH_ELEC, "lightning_s",}, |
|
|
45 | {"large lightning", 4, 13, 20, 12, 0, 0, 3, 1, 0, 0, 0, |
|
|
46 | PATH_ELEC, "lightning_l",}, |
|
|
47 | {"magic missile", 1, 1, 75, 3, 0, 0, 8, 1, 0, 0, 0, |
|
|
48 | PATH_MISSILE, "magic_missile",}, |
|
|
49 | {"create bomb", 6,10, 5, 20, 1, 1, 3, 1, 1, 0, 0, |
|
|
50 | PATH_DETONATE, "bomb",}, |
|
|
51 | {"summon golem", 2, 5, 10, 30, 1, 1, 8, 1, 1, 0, 0, |
|
|
52 | PATH_SUMMON, "golem",}, |
|
|
53 | {"summon fire elemental", 7,25, 4, 40, 1, 1, 2, 1, 1, 0, 0, |
|
|
54 | PATH_SUMMON, "fire_elemental",}, /* 10 */ |
|
|
55 | {"summon earth elemental", 4,15, 10, 40, 1, 1, 3, 1, 1, 0, 0, |
|
|
56 | PATH_SUMMON, "earth_elemental",}, |
|
|
57 | {"summon water elemental", 5,15, 8, 40, 1, 1, 4, 1, 1, 0, 0, |
|
|
58 | PATH_SUMMON, "water_elemental",}, |
|
|
59 | {"summon air elemental", 6,20, 6, 40, 1, 1, 5, 1, 1, 0, 0, |
|
|
60 | PATH_SUMMON, "air_elemental",}, |
|
|
61 | {"dimension door", 10,25, 8, 1, 0, 0, 1, 1, 0, 0, 0, |
|
|
62 | PATH_TELE, "enchantment",}, |
|
|
63 | {"create earth wall", 4, 6, 12, 30, 0, 0, 6, 1, 1, 0, 0, |
|
|
64 | PATH_CREATE, "earthwall",}, |
|
|
65 | {"paralyze", 2, 5, 40, 8, 0, 0, 8, 1, 0, 0, 0, |
|
|
66 | PATH_NULL, "paralyze",}, |
|
|
67 | {"icestorm", 1, 5, 15, 8, 0, 0, 4, 1, 0, 0, 0, |
|
|
68 | PATH_FROST, "icestorm",}, |
|
|
69 | {"magic mapping", 5,15, 20, 1, 2, 8, 5, 0, 0, 0, 1, |
|
|
70 | PATH_INFO, "enchantment",}, |
|
|
71 | {"turn undead", 1, 2, 40, 5, 0, 0, 8, 1, 0, 1, 0, |
|
|
72 | PATH_TURNING, "turn_undead",}, |
|
|
73 | {"fear", 4, 6, 25, 5, 0, 0, 5, 1, 0, 0, 0, |
|
|
74 | PATH_MIND, "fear",}, /* 20 */ |
|
|
75 | {"poison cloud", 2, 5, 30, 10, 0, 0, 6, 1, 0, 0, 0, |
|
|
76 | PATH_MISSILE, "spellball",}, |
|
|
77 | {"wonder", 3,10, 20, 0, 0, 0, 0, 1, 0, 0, 0, |
|
|
78 | PATH_TRANSMUTE, "flowers",}, |
|
|
79 | {"destruction", 18,30, 0, 20, 3, 10, 1, 1, 0, 0, 1, |
|
|
80 | PATH_NULL, "destruction",}, |
|
|
81 | {"perceive self", 2, 5, 20, 0, 2, 2, 0, 0, 0, 1, 1, |
|
|
82 | PATH_INFO, "enchantment",}, |
|
|
83 | {"word of recall", 10,40, 3, 50, 1, 2, 1, 0, 0, 1, 1, |
|
|
84 | PATH_TELE, "enchantment",}, |
|
|
85 | {"invisible", 6,15, 0, 5, 3, 2, 4, 1, 1, 0, 1, |
|
|
86 | PATH_NULL, "enchantment",}, |
|
|
87 | {"invisible to undead", 6,25, 0, 5, 1, 2, 2, 1, 1, 1, 1, |
|
|
88 | PATH_NULL, "enchantment",}, |
|
|
89 | {"probe", 1, 3, 40, 2, 0, 0, 6, 1, 0, 0, 0, |
|
|
90 | PATH_INFO, NULL,}, |
|
|
91 | {"large bullet", 4, 3, 33, 6, 0, 0, 4, 1, 0, 0, 0, |
|
|
92 | PATH_MISSILE, "lbullet",}, |
|
|
93 | {"improved invisibility", 8,25, 0, 10, 1, 1, 1, 1, 1, 0, 1, |
|
|
94 | PATH_NULL, "enchantment",}, /* 30 */ |
|
|
95 | {"holy word", 1, 4, 0, 1, 0, 0, 4, 1, 0, 1, 0, |
|
|
96 | PATH_TURNING, "holy_word",}, |
|
|
97 | {"minor healing", 1, 4, 40, 3, 0, 0, 9, 1, 1, 1, 1, |
|
|
98 | PATH_RESTORE, "healing",}, |
|
|
99 | {"medium healing", 4, 7, 20, 6, 0, 0, 5, 1, 1, 1, 1, |
|
|
100 | PATH_RESTORE, "healing",}, |
|
|
101 | {"major healing", 8,10, 12, 9, 0, 0, 3, 1, 1, 1, 1, |
|
|
102 | PATH_RESTORE, "healing",}, |
|
|
103 | {"heal", 10,50, 5, 12, 0, 0, 1, 1, 1, 1, 1, |
|
|
104 | PATH_RESTORE, "healing",}, |
|
|
105 | {"create food", 6, 10, 0, 20, 0, 0, 4, 1, 1, 1, 0, |
|
|
106 | PATH_CREATE, "food",}, |
|
|
107 | {"earth to dust", 2, 5, 0, 30, 0, 0, 2, 1, 1, 0, 0, |
|
|
108 | PATH_NULL, "destruction",}, |
|
|
109 | {"armour", 1, 8, 0, 20, 3, 2, 8, 1, 1, 0, 1, |
|
|
110 | PATH_SELF, "enchantment",}, |
|
|
111 | {"strength", 2,10, 0, 20, 3, 2, 6, 1, 0, 0, 1, |
|
|
112 | PATH_SELF, "enchantment",}, |
|
|
113 | {"dexterity", 3,12, 0, 20, 3, 2, 4, 1, 0, 0, 1, |
|
|
114 | PATH_SELF, "enchantment",}, /* 40 */ |
|
|
115 | {"constitution", 4,15, 0, 20, 3, 2, 4, 1, 1, 0, 1, |
|
|
116 | PATH_SELF, "enchantment",}, |
|
|
117 | {"charisma", 3,12, 0, 20, 0, 0, 4, 1, 0, 0, 1, |
|
|
118 | PATH_SELF, "enchantment",}, |
|
|
119 | {"create fire wall", 6, 5, 0, 10, 0, 0, 3, 1, 1, 0, 0, |
|
|
120 | PATH_CREATE, "firebreath",}, |
|
|
121 | {"create frost wall", 8, 8, 0, 10, 0, 0, 2, 1, 1, 0, 0, |
|
|
122 | PATH_CREATE, "icestorm",}, |
|
|
123 | {"protection from cold", 3,15, 0, 10, 1, 1, 3, 1, 1, 1, 1, |
|
|
124 | PATH_PROT, "protection",}, |
|
|
125 | {"protection from electricity", 4,15, 0, 10, 1, 1, 3, 1, 1, 1, 1, |
|
|
126 | PATH_PROT, "protection",}, |
|
|
127 | {"protection from fire", 5,20, 0, 10, 1, 1, 2, 1, 1, 1, 1, |
|
|
128 | PATH_PROT, "protection",}, |
|
|
129 | {"protection from poison", 6,20, 0, 10, 1, 1, 2, 1, 1, 1, 1, |
|
|
130 | PATH_PROT, "protection",}, |
|
|
131 | {"protection from slow", 7,20, 0, 10, 1, 1, 2, 1, 1, 1, 1, |
|
|
132 | PATH_PROT, "protection",}, |
|
|
133 | {"protection from paralysis", 8,20, 0, 10, 1, 1, 2, 1, 1, 1, 1, |
|
|
134 | PATH_PROT, "protection",}, /* 50 */ |
|
|
135 | {"protection from draining", 9,25, 0, 30, 1, 1, 2, 1, 1, 1, 1, |
|
|
136 | PATH_PROT, "protection",}, |
|
|
137 | {"protection from magic", 10,30, 0, 30, 1, 1, 1, 1, 1, 1, 1, |
|
|
138 | PATH_PROT, "protection",}, |
|
|
139 | {"protection from attack", 13,50, 0, 50, 1, 1, 1, 1, 1, 1, 1, |
|
|
140 | PATH_PROT, "protection",}, |
|
|
141 | {"levitate", 6,10, 0, 10, 1, 1, 2, 0, 0, 0, 1, |
|
|
142 | PATH_NULL, "enchantment",}, |
|
|
143 | {"small speedball", 3, 3, 0, 20, 0, 0, 0, 1, 0, 0, 0, |
|
|
144 | PATH_MISSILE, "speedball",}, |
|
|
145 | {"large speedball", 6, 6, 0, 40, 0, 0, 0, 1, 0, 0, 0, |
|
|
146 | PATH_MISSILE, "speedball",}, |
|
|
147 | {"hellfire", 8,13, 0, 30, 0, 0, 0, 1, 0, 0, 0, |
|
|
148 | PATH_FIRE, "hellfire",}, |
|
|
149 | {"dragonbreath", 12, 13, 0, 30, 0, 0, 0, 1, 0, 0, 0, |
|
|
150 | PATH_FIRE, "firebreath",}, |
|
|
151 | {"large icestorm", 12,13, 0, 40, 0, 0, 0, 1, 0, 0, 0, |
|
|
152 | PATH_FROST, "icestorm",}, |
|
|
153 | {"charging", 10,200, 0, 75, 1, 1, 0, 0, 0, 0, 1, |
|
|
154 | PATH_TRANSFER, "enchantment",}, /* 60 */ |
|
|
155 | #ifdef NO_POLYMORPH |
|
|
156 | /* Disable it from appearing in wands/rods */ |
|
|
157 | {"polymorph", 6,20, 0, 30, 0, 0, 0, 1, 0, 0, 0, |
|
|
158 | PATH_TRANSMUTE, "polymorph",}, |
|
|
159 | #else |
|
|
160 | {"polymorph", 6,20, 10, 30, 0, 0, 0, 1, 0, 0, 0, |
|
|
161 | PATH_TRANSMUTE, "polymorph",}, |
|
|
162 | #endif |
|
|
163 | {"cancellation", 10,30, 10, 10, 0, 0, 1, 1, 0, 0, 0, |
|
|
164 | PATH_ABJURE, "cancellation",}, |
|
|
165 | {"confusion", 2,10, 0, 10, 3, 2, 7, 0, 0, 0, 0, |
|
|
166 | PATH_MIND, "confuse",}, |
|
|
167 | {"mass confusion", 7,20, 15, 20, 0, 0, 3, 1, 0, 0, 0, |
|
|
168 | PATH_MIND, "confuse",}, |
|
|
169 | {"summon pet monster", 2, 5, 15, 40, 3, 1, 8, 1, 0, 0, 0, |
|
|
170 | PATH_SUMMON, NULL,}, |
|
|
171 | {"slow", 1, 5, 30, 5, 0, 0, 7, 1, 0, 0, 0, |
|
|
172 | PATH_NULL, "slow",}, |
|
|
173 | {"regenerate spellpoints", 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, |
|
|
174 | PATH_RESTORE, NULL,}, |
|
|
175 | {"cure poison", 4, 7, 0, 10, 0, 0, 5, 1, 1, 1, 1, |
|
|
176 | PATH_RESTORE, "healing",}, |
|
|
177 | {"protection from confusion", 7,20, 0, 10, 1, 1, 2, 1, 1, 1, 1, |
|
|
178 | PATH_PROT, "protection",}, |
|
|
179 | {"protection from cancellation",11,30, 0, 10, 1, 1, 2, 1, 1, 1, 1, |
|
|
180 | PATH_PROT, "protection",}, /* 70 */ |
|
|
181 | {"protection from depletion", 7,20, 0, 10, 1, 1, 2, 1, 1, 1, 1, |
|
|
182 | PATH_PROT, "protection",}, |
|
|
183 | {"alchemy", 3, 5, 0, 15, 3, 2, 7, 1, 0, 0, 1, |
|
|
184 | PATH_TRANSMUTE, "enchantment",}, |
|
|
185 | {"remove curse", 8,80, 0,100, 1, 3, 1, 1, 0, 1, 1, |
|
|
186 | PATH_RESTORE, "protection",}, |
|
|
187 | {"remove damnation", 15,200, 0,200, 1, 1, 0, 1, 0, 1, 1, |
|
|
188 | PATH_RESTORE, "protection",}, |
|
|
189 | {"identify", 8,60, 0,200, 9,10, 5, 1, 0, 0, 1, |
|
|
190 | PATH_INFO, "enchantment",}, |
|
|
191 | {"detect magic", 1, 1, 50, 13, 3, 8, 10, 1, 0, 0, 1, |
|
|
192 | PATH_INFO, "detect_magic",}, |
|
|
193 | {"detect monster", 2, 2, 0, 15, 3, 6, 8, 1, 1, 0, 1, |
|
|
194 | PATH_INFO, "detect_magic",}, |
|
|
195 | {"detect evil", 3, 3, 0, 15, 3, 5, 8, 1, 1, 1, 1, |
|
|
196 | PATH_INFO, "detect_magic",}, |
|
|
197 | {"detect curse", 5,10, 0, 20, 3, 5, 1, 1, 0, 1, 1, |
|
|
198 | PATH_INFO, "detect_magic",}, |
|
|
199 | {"heroism", 10,50, 0, 10, 0, 0, 0, 1, 0, 0, 1, |
|
|
200 | PATH_SELF, "enchantment",}, /* 80 */ |
|
|
201 | {"aggravation", 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, |
|
|
202 | PATH_NULL, NULL,}, |
|
|
203 | {"firebolt", 2, 9, 35, 10, 0, 0, 4, 1, 0, 0, 0, |
|
|
204 | PATH_FIRE, "firebolt",}, |
|
|
205 | {"frostbolt", 3,12, 30, 10, 0, 0, 3, 1, 0, 0, 0, |
|
|
206 | PATH_FROST, "frostbolt",}, |
|
|
207 | {"shockwave", 14,26, 0, 20, 0, 0, 0, 1, 0, 0, 0, |
|
|
208 | PATH_NULL, "shockwave",}, |
|
|
209 | {"color spray", 13,35, 0, 15, 0, 0, 0, 1, 0, 0, 0, |
|
|
210 | PATH_NULL, "color_spray",}, |
|
|
211 | {"haste", 12,50, 0, 10, 0, 0, 0, 1, 0, 0, 1, |
|
|
212 | PATH_SELF, "enchantment",}, |
|
|
213 | {"face of death", 22, 80, 0, 15, 0, 0, 0, 1, 0, 1, 0, |
|
|
214 | PATH_DEATH, "face_of_death",}, |
|
|
215 | {"ball lightning", 9,10, 30, 30, 1, 9, 0, 1, 0, 0, 0, |
|
|
216 | PATH_ELEC, "ball_lightning",}, |
|
|
217 | {"meteor swarm", 12,30, 0, 30, 0, 0, 0, 1, 0, 0, 0, |
|
|
218 | PATH_MISSILE, "meteor",}, |
|
|
219 | {"comet", 8,15, 0, 20, 0, 0, 0, 1, 0, 0, 0, |
|
|
220 | PATH_MISSILE, NULL,}, /* 90 */ |
|
|
221 | {"mystic fist", 5,10, 0, 15, 0, 0, 1, 1, 0, 0, 0, |
|
|
222 | PATH_SUMMON, "mystic_fist",}, |
|
|
223 | {"raise dead", 10,150, 0, 60, 0, 0, 0, 1, 0, 1, 0, |
|
|
224 | PATH_RESTORE, "enchantment",}, |
|
|
225 | {"resurrection", 20,250, 0, 180, 0, 0, 0, 0, 0, 1, 0, |
|
|
226 | PATH_RESTORE, "enchantment",}, |
|
|
227 | {"reincarnation", 25,350, 0,100, 0, 0, 0, 0, 0, 1, 0, |
|
|
228 | PATH_RESTORE, "enchantment",}, |
|
|
229 | /* mlee - Keep these spells 0 book chance, as they are low level quest items.*/ |
|
|
230 | /* raised the grace value on some immuntity spells -b.t. */ |
|
|
231 | /* keep them path_null, that prevents them being given out by praying*/ |
|
|
232 | {"immunity to cold", 6, 60, 0, 10, 0, 0, 0, 1, 1, 1, 1, |
|
|
233 | PATH_NULL, "protection",}, |
|
|
234 | {"immunity to electricity", 8, 65, 0, 10, 0, 0, 0, 1, 1, 1, 1, |
|
|
235 | PATH_NULL, "protection",}, |
|
|
236 | {"immunity to fire", 10,70, 0, 10, 0, 0, 0, 1, 1, 1, 1, |
|
|
237 | PATH_NULL, "protection",}, |
|
|
238 | {"immunity to poison", 12,60, 0, 10, 0, 0, 0, 1, 1, 1, 1, |
|
|
239 | PATH_NULL, "protection",}, |
|
|
240 | {"immunity to slow", 14,60, 0, 10, 0, 0, 0, 1, 1, 1, 1, |
|
|
241 | PATH_NULL, "protection",}, |
|
|
242 | {"immunity to paralysis", 16,60, 0, 10, 0, 0, 0, 1, 1, 1, 1, |
|
|
243 | PATH_NULL, "protection",}, /*100*/ |
|
|
244 | {"immunity to draining", 18,75, 0, 10, 0, 0, 0, 1, 1, 1, 1, |
|
|
245 | PATH_NULL, "protection",}, |
|
|
246 | {"immunity to magic", 20,150, 0, 30, 0, 0, 0, 1, 1, 1, 1, |
|
|
247 | PATH_NULL, "protection",}, |
|
|
248 | {"immunity to attack", 26,170, 0, 50, 0, 0, 0, 1, 1, 1, 1, |
|
|
249 | PATH_NULL, "protection",}, |
|
|
250 | /* set the path to PATH_NULL so god_intervention wont hand out this spell */ |
|
|
251 | {"invulnerability", 80,225, 0, 30, 0, 0, 0, 1, 1, 1, 1, |
|
|
252 | PATH_NULL, "protection",}, |
|
|
253 | {"defense", 40,75, 0, 30, 0, 0, 0, 1, 1, 1, 1, |
|
|
254 | PATH_PROT, "protection",}, |
|
|
255 | {"rune of fire", 4,10, 0, 30, 0, 0, 5, 1, 0, 0, 0, |
|
|
256 | PATH_FIRE, "rune_fire",}, |
|
|
257 | {"rune of frost", 6,12, 0, 30, 0, 0, 4, 1, 0, 0, 0, |
|
|
258 | PATH_FROST, "rune_frost",}, |
|
|
259 | {"rune of shocking", 8,14, 0, 30, 0, 0, 3, 1, 0, 0, 0, |
|
|
260 | PATH_ELEC, "rune_shock",}, |
|
|
261 | {"rune of blasting", 10,18, 0, 30, 0, 0, 2, 1, 0, 0, 0, |
|
|
262 | PATH_DETONATE, "rune_blast",}, |
|
|
263 | {"rune of death", 17,20, 0, 40, 0, 0, 1, 1, 0, 0, 0, |
|
|
264 | PATH_DEATH, "rune_death",}, /*110*/ |
|
|
265 | {"marking rune", 1,2, 0, 10, 0, 0, 5, 0, 0, 0, 0, |
|
|
266 | PATH_NULL, "rune_mark",}, |
|
|
267 | {"build director", 10,30, 0, 30, 0, 0, 1, 1, 0, 0, 0, |
|
|
268 | PATH_CREATE, NULL,}, |
|
|
269 | {"create pool of chaos", 10,10, 10, 15, 0, 0, 1, 1, 0, 0, 0, |
|
|
270 | PATH_CREATE, "color_spray",}, |
|
|
271 | {"build bullet wall", 12,35, 0, 35, 0, 0, 1, 1, 0, 0, 0, |
|
|
272 | PATH_CREATE, NULL,}, |
|
|
273 | {"build lightning wall", 14,40, 0, 40, 0, 0, 1, 1, 0, 0, 0, |
|
|
274 | PATH_CREATE, NULL,}, |
|
|
275 | {"build fireball wall", 16,45, 0, 45, 0, 0, 1, 1, 0, 0, 0, |
|
|
276 | PATH_CREATE, NULL,}, |
|
|
277 | {"magic rune", 12,5, 0, 30, 0, 0, 1, 0, 0, 0, 0, |
|
|
278 | PATH_CREATE, "generic_rune",}, |
|
|
279 | {"rune of magic drain", 14,30, 0, 30, 0, 0, 0, 1, 0, 0, 0, |
|
|
280 | PATH_TRANSFER, "rune_drain_magic",}, |
|
|
281 | {"antimagic rune", 7,5, 0, 20, 0, 0, 1, 1, 0, 0, 0, |
|
|
282 | PATH_ABJURE, "rune_antimagic",}, |
|
|
283 | {"rune of transferrence", 6,12, 0, 40, 0, 0, 1, 1, 0, 0, 0, |
|
|
284 | PATH_TRANSFER, "rune_transferrence",}, /*120*/ |
|
|
285 | {"transferrence", 5,10, 0, 20, 0, 0, 1, 1, 0, 0, 0, |
|
|
286 | PATH_TRANSFER, "enchantment",}, |
|
|
287 | {"magic drain", 12,20, 0, 1, 0, 0, 1, 1, 0, 0, 0, |
|
|
288 | PATH_TRANSFER, "enchantment",}, |
|
|
289 | {"counterspell", 3,10, 20, 0, 0, 0, 1, 1, 0, 0, 0, |
|
|
290 | PATH_ABJURE, "counterspell",}, |
|
|
291 | {"disarm", 4,7, 0, 30, 0, 0, 1, 1, 0, 0, 0, |
|
|
292 | PATH_ABJURE, "enchantment",}, |
|
|
293 | {"cure confusion", 7,8, 0, 15, 1, 4, 1, 1, 0, 1, 1, |
|
|
294 | PATH_RESTORE, "healing",}, |
|
|
295 | {"restoration", 13,80, 0, 30, 1, 1, 1, 1, 0, 1, 1, |
|
|
296 | PATH_RESTORE, "healing",}, |
|
|
297 | {"summon evil monster", 8,8, 0, 30, 0, 0, 0, 0, 0, 0, 0, |
|
|
298 | PATH_SUMMON, NULL,}, |
|
|
299 | {"counterwall", 8, 8, 30, 30, 0, 0, 1, 1, 0, 0, 0, |
|
|
300 | PATH_RESTORE, "counterspell",}, |
|
|
301 | {"cause light wounds", 1, 4, 0, 5, 0, 0, 2, 1, 0, 1, 0, |
|
|
302 | PATH_WOUNDING,"cause_wounds",}, |
|
|
303 | {"cause medium wounds", 3, 8, 0, 5, 0, 0, 2, 1, 0, 1, 0, |
|
|
304 | PATH_WOUNDING,"cause_wounds",}, /* 130 */ |
|
|
305 | {"cause serious wounds", 5, 16, 0, 5, 0, 0, 2, 1, 0, 1, 0, |
|
|
306 | PATH_WOUNDING,"cause_wounds",}, |
|
|
307 | {"charm monsters", 5, 20, 0, 10, 0, 0, 1, 1, 0, 0, 0, |
|
|
308 | PATH_MIND,"enchantment",}, |
|
|
309 | {"banishment", 5, 10, 3, 10, 1, 1, 1, 1, 0, 1, 0, |
|
|
310 | PATH_TURNING,"banishment",}, |
|
|
311 | {"create missile", 1,5, 0, 20, 1, 1, 1, 1, 0, 0, 0, |
|
|
312 | PATH_CREATE,"enchantment",}, |
|
|
313 | {"show invisible", 7,10, 4, 20, 1, 1, 1, 1, 1, 1, 0, |
|
|
314 | PATH_INFO,"enchantment",}, |
|
|
315 | {"xray", 10,20, 0, 20, 1, 1, 1, 1, 0, 0, 0, |
|
|
316 | PATH_INFO,"enchantment",}, |
|
|
317 | {"pacify", 4, 10, 1, 2, 0, 0, 3, 1, 0, 1, 0, |
|
|
318 | PATH_MIND,"enchantment",}, |
|
|
319 | {"summon fog", 2, 5, 10, 10, 0, 0, 2, 1, 0, 0, 0, |
|
|
320 | PATH_CREATE,"fog",}, |
|
|
321 | {"steambolt", 5, 10, 10, 10, 0, 0, 1, 1, 0, 0, 0, |
|
|
322 | PATH_FIRE, "steambolt",}, |
|
|
323 | {"command undead", 4, 12, 0, 10, 0, 0, 3, 1, 0, 1, 0, |
|
|
324 | PATH_MIND,"enchantment",}, /* 140 */ |
|
|
325 | {"holy orb", 7, 12, 0, 5, 0, 0, 3, 1, 0, 1, 0, |
|
|
326 | PATH_TURNING,"holy_orb",}, |
|
|
327 | /* most of the next 13 spells work best if MULTIPLE_GODS is defined. -b.t. */ |
|
|
328 | {"summon avatar", 10, 60, 0, 15, 0, 0, 1, 1, 0, 1, 0, |
|
|
329 | PATH_SUMMON, "avatar",}, |
|
|
330 | {"holy possession", 9, 30, 0, 10, 0, 0, 1, 1, 0, 1, 0, |
|
|
331 | PATH_ABJURE, "enchantment",}, |
|
|
332 | {"bless", 2, 8, 0, 5, 0, 0, 3, 1, 0, 1, 0, |
|
|
333 | PATH_ABJURE, "enchantment",}, |
|
|
334 | {"curse", 2, 8, 0, 5, 0, 0, 2, 1, 0, 1, 0, |
|
|
335 | PATH_ABJURE, "enchantment",}, |
|
|
336 | {"regeneration", 7, 15, 0, 10, 0, 0, 1, 1, 0, 1, 0, |
|
|
337 | PATH_ABJURE, "enchantment",}, |
|
|
338 | /* consecrate spell has no use w/o MULTIPLE_GODS defined. We make book=0 |
|
|
339 | * in that case -b.t. */ |
|
|
340 | {"consecrate", 4, 35, 0, 50, 0, 0, 1, 1, 0, 1, 0, |
|
|
341 | PATH_ABJURE, "enchantment",}, |
|
|
342 | {"summon cult monsters", 3, 12, 0, 10, 0, 0, 2, 1, 0, 1, 0, |
|
|
343 | PATH_SUMMON, NULL,}, |
|
|
344 | {"cause critical wounds", 7, 25, 0, 5, 0, 0, 0, 1, 0, 1, 0, |
|
|
345 | PATH_WOUNDING,"cause_wounds",}, |
|
|
346 | {"holy wrath", 14, 40, 0, 5, 0, 0, 1, 1, 0, 1, 0, |
|
|
347 | PATH_TURNING,"holy_wrath",}, /* 150 */ |
|
|
348 | {"retributive strike", 26, 150, 0, 15, 0, 0, 0, 1, 0, 1, 0, |
|
|
349 | PATH_WOUNDING,"god_power",}, |
|
|
350 | {"finger of death", 15, 50, 0, 5, 0, 0, 0, 1, 0, 1, 0, |
|
|
351 | PATH_DEATH, NULL,}, |
|
|
352 | {"insect plague", 12, 40, 0, 5, 0, 0, 0, 1, 0, 1, 0, |
|
|
353 | PATH_SUMMON,"insect_plague",}, |
|
|
354 | {"call holy servant", 5, 30, 0, 5, 0, 0, 3, 1, 0, 1, 0, |
|
|
355 | PATH_SUMMON, "holy_servant",}, |
|
|
356 | {"wall of thorns", 6, 20, 0, 5, 0, 0, 0, 0, 0, 1, 0, |
|
|
357 | PATH_CREATE, "thorns"}, |
|
|
358 | {"staff to snake", 2, 8, 0, 5, 0, 0, 1, 1, 0, 1, 0, |
|
|
359 | PATH_CREATE, "snake_golem"}, |
|
|
360 | {"light", 1, 8, 20, 5, 0, 0, 3, 1, 0, 1, 0, |
|
|
361 | PATH_LIGHT, "light"}, |
|
|
362 | {"darkness", 5, 15, 10, 5, 0, 0, 1, 1, 0, 1, 0, |
|
|
363 | PATH_LIGHT, "darkness"}, |
|
|
364 | {"nightfall", 16, 120, 0, 15, 0, 0, 0, 1, 0, 1, 0, |
|
|
365 | PATH_LIGHT, NULL}, |
|
|
366 | {"daylight", 18, 120, 0, 15, 0, 0, 0, 1, 0, 1, 0, |
|
|
367 | PATH_LIGHT, NULL}, /* 160 */ |
|
|
368 | {"sunspear", 6, 8, 35, 8, 0, 0, 0, 1, 0, 1, 0, |
|
|
369 | PATH_LIGHT, "sunspear"}, |
|
|
370 | {"faery fire", 4, 10, 0, 15, 3, 2, 2, 1, 0, 0, 0, |
|
|
371 | PATH_LIGHT, NULL}, |
|
|
372 | {"cure blindness", 9, 30, 0, 10, 1, 1, 2, 1, 1, 1, 1, |
|
|
373 | PATH_RESTORE, "healing",}, |
|
|
374 | {"dark vision", 5, 10, 0, 12, 3, 2, 2, 1, 0, 0, 0, |
|
|
375 | PATH_INFO, NULL}, |
|
|
376 | {"bullet swarm", 7, 6, 0, 5, 0, 0, 1, 1, 0, 0, 0, |
|
|
377 | PATH_MISSILE,"bullet"}, |
|
|
378 | {"bullet storm", 10, 8, 0, 5, 0, 0, 1, 1, 0, 0, 0, |
|
|
379 | PATH_MISSILE,"lbullet"}, |
|
|
380 | {"cause many wounds", 12, 30, 0, 5, 0, 0, 0, 1, 0, 1, 0, |
|
|
381 | PATH_WOUNDING,"cause_wounds"}, |
|
|
382 | {"small snowstorm", 1, 6, 40, 5, 0, 0, 8, 1, 0, 0, 0, |
|
|
383 | PATH_FROST, "snowball_s",}, |
|
|
384 | {"medium snowstorm", 3,10, 20, 10, 0, 0, 6, 1, 0, 0, 0, |
|
|
385 | PATH_FROST, "snowball_m",}, |
|
|
386 | {"large snowstorm", 5,16, 10, 15, 0, 0, 2, 1, 0, 0, 0, |
|
|
387 | PATH_FROST, "snowball_l",}, /* 170 */ |
|
|
388 | {"cure disease", 5,30, 0, 10, 3, 5, 1, 0, 0, 1, 1, |
|
|
389 | PATH_RESTORE,NULL}, |
|
|
390 | {"cause red death", 12,100, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
391 | PATH_WOUNDING,"ebola"}, |
|
|
392 | {"cause flu", 2, 10, 5, 10, 3, 2, 5, 1, 0, 1, 0, |
|
|
393 | PATH_WOUNDING,"flu"}, |
|
|
394 | {"cause black death", 15, 120, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
395 | PATH_NULL,"bubonic_plague"}, |
|
|
396 | {"cause leprosy", 5, 20, 0, 10, 1, 1, 5, 1, 0, 1, 0, |
|
|
397 | PATH_WOUNDING,"leprosy"}, |
|
|
398 | {"cause smallpox", 10, 85, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
399 | PATH_WOUNDING,"smallpox"}, |
|
|
400 | {"cause white death", 85,350, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
401 | PATH_WOUNDING,"pneumonic_plague"}, |
|
|
402 | {"cause anthrax", 12, 50, 0, 10, 1, 1, 1, 1, 0, 1, 0, |
|
|
403 | PATH_WOUNDING,"anthrax"}, |
|
|
404 | {"cause typhoid", 8, 60, 0, 10, 1, 1, 1, 1, 0, 1, 0, |
|
|
405 | PATH_WOUNDING,"typhoid"}, |
|
|
406 | {"mana blast", 8, 10, 0, 15, 0, 0, 2, 1, 0, 0, 0, |
|
|
407 | PATH_TRANSFER, "manablast", }, /* 180 */ |
|
|
408 | {"small manaball", 4, 12, 0, 9, 0, 0, 3, 1, 0, 0, 0, |
|
|
409 | PATH_TRANSFER, "manabullet_s", }, |
|
|
410 | {"medium manaball", 7, 20, 0, 18, 0, 0, 2, 1, 0, 0, 0, |
|
|
411 | PATH_TRANSFER, "manabullet_m", }, |
|
|
412 | {"large manaball", 10, 32, 0, 27, 0, 0, 1, 1, 0, 0, 0, |
|
|
413 | PATH_TRANSFER, "manabullet_l", }, |
|
|
414 | {"mana bolt", 5, 18, 0, 9, 0, 0, 2, 1, 0, 0, 0, |
|
|
415 | PATH_TRANSFER, "manabolt", }, |
|
|
416 | {"dancing sword", 11, 25, 0, 10, 0, 0, 1, 0, 0, 0, 0, /* 185 */ |
|
|
417 | PATH_CREATE, "dancingsword", }, |
|
|
418 | {"animate weapon", 7, 25, 0, 10, 0, 0, 4, 0, 0, 0, 0, |
|
|
419 | PATH_TELE, "dancingsword", }, |
|
|
420 | {"cause cold", 2, 10, 5, 10, 3, 2, 5, 1, 0, 1, 0, /* 187 */ |
|
|
421 | PATH_WOUNDING,"disease_cold"}, |
|
|
422 | {"divine shock", 1, 3, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
423 | PATH_WOUNDING,"divine_shock"}, |
|
|
424 | {"windstorm", 3,3, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
425 | PATH_NULL, "windstorm",}, |
|
|
426 | {"sanctuary", 7, 30, 0, 10, 0, 0, 0, 0, 1, 1, 1, /* 190 */ |
|
|
427 | PATH_PROT,"sanctuary"}, |
|
|
428 | {"peace", 20, 80, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
429 | PATH_PROT,"peace"}, |
|
|
430 | {"spiderweb", 4, 10, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
431 | PATH_CREATE,"spiderweb_spell"}, |
|
|
432 | {"conflict", 10, 50, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
433 | PATH_MIND, "enchantment"}, |
|
|
434 | {"rage", 1, 5, 0, 10, 0, 0, 0, 1, 0, 1, 1, |
|
|
435 | PATH_WOUNDING, "enchantment"}, |
|
|
436 | {"forked lightning", 5, 15, 0, 10, 0, 0, 0, 1, 0, 1, 0, /* 195 */ |
|
|
437 | PATH_ELEC, "forked_lightning"}, |
|
|
438 | {"poison fog", 5, 15, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
439 | PATH_WOUNDING, "poison_fog"}, |
|
|
440 | {"flaming aura", 1, 5, 0, 10, 0, 0, 0, 0, 1, 1, 1, |
|
|
441 | PATH_FIRE, "flaming_aura"}, |
|
|
442 | {"vitriol", 5, 15, 0, 10, 0, 0, 0, 0, 1, 1, 1, |
|
|
443 | PATH_DETONATE, "vitriol"}, /* not for people to cast. */ |
|
|
444 | {"vitriol splash", 5, 15, 0, 10, 0, 0, 0, 0, 1, 1, 1, |
|
|
445 | PATH_DETONATE, "vitriol_splash"}, /* not for people to cast. */ |
|
|
446 | {"ironwood skin", 1, 8, 0, 20, 0, 0, 0, 1, 1, 1, 1, /* 200 */ |
|
|
447 | PATH_SELF, "enchantment",}, |
|
|
448 | {"wrathful eye", 5, 30, 0, 20, 0, 0, 0, 1, 0, 1, 0, |
|
|
449 | PATH_SELF, "wrathful_eye",}, |
|
|
450 | {"town portal", 8, 30, 0, 10, 0, 0, 1, 0, 0, 0, 1, |
|
|
451 | PATH_TELE, "perm_magic_portal",}, |
|
|
452 | {"missile swarm", 7, 6, 0, 3, 0, 0, 1, 1, 0, 0, 0, |
|
|
453 | PATH_MISSILE,"magic_missile"}, |
|
|
454 | {"cause rabies", 12, 120, 0, 10, 0, 0, 0, 1, 0, 1, 0, |
|
|
455 | PATH_WOUNDING,"rabies"}, |
|
|
456 | {"glyph", 12, 5, 0, 30, 0, 0, 1, 0, 0, 1, 0, |
|
|
457 | PATH_CREATE, "generic_rune",}, |
|
|
458 | {"asteroid", 8,15, 0, 20, 0, 0, 0, 1, 0, 0, 0, |
|
|
459 | PATH_MISSILE, NULL,}, |
|
|
460 | {"frost nova", 12,30, 0, 30, 0, 0, 0, 1, 0, 0, 0, |
|
|
461 | PATH_MISSILE, "asteroid",}, |
|
|
462 | }; |
|
|
463 | /* name,lvl,sp,charges,time,scrolls[nr,chance],book-chance,rng,defensive,cleric,self |
|
|
464 | path, other arch*/ |
|
|
465 | |
|
|
466 | /* peterm: the following defines the parameters for all the |
|
|
467 | spells. |
|
|
468 | bdam: base damage or hp of spell or summoned monster |
|
|
469 | bdur: base duration of spell or base range |
|
|
470 | ldam: levels you need over the min for the spell to gain one dam |
|
|
471 | ldur: levels you need over the min for the spell to gain one dur |
|
|
472 | spl: number of levels beyond minimum for spell point cost to |
|
|
473 | increase by amount equal to base cost. i.e. if base cost |
|
|
474 | is 10 at level 2 and spl is 5, cost will increase by 2 per |
|
|
475 | level. if base cost is 5 and spl is 10, cost increases by |
|
|
476 | 1 every 2 levels. |
|
|
477 | the information here is default only. It is over-ridden by |
|
|
478 | entries in LIBDIR/spell_params of the form. Please |
|
|
479 | see spell_params.doc |
|
|
480 | |
|
|
481 | */ |
|
|
482 | |
|
|
483 | spell_parameters SP_PARAMETERS[NROFREALSPELLS] = |
|
|
484 | { |
27 | { |
485 | /* bdam bdur ldam ldur spl spell */ |
|
|
486 | { 10, 0, 1, 0, 6}, /*magic bullet*/ /* 0 */ |
|
|
487 | { 8, 6, 3, 0, 24}, /*small fireball*/ |
|
|
488 | { 8, 10, 3, 0, 24}, /*medium fireball*/ |
|
|
489 | { 8, 14, 4, 0, 32}, /*large fireball*/ |
|
|
490 | { 4, 5, 4, 4, 9}, /*burning hands*/ |
|
|
491 | { 8, 8, 3, 0, 24}, /*small lightning*/ |
|
|
492 | { 8, 16, 3, 0, 24}, /*large lightning*/ |
|
|
493 | { 9, 0, 1, 0, 10}, /*magic missile*/ |
|
|
494 | { 12, 8, 6, 0, 72}, /*create bomb*/ |
|
|
495 | { 8, 75, 1, 1, 15}, /*summon golem*/ |
|
|
496 | { 20, 200, 1, 1, 15}, /*summon fire elemental*/ /* 10 */ |
|
|
497 | { 50, 280, 1, 1, 15}, /*summon earth elemental*/ |
|
|
498 | { 40, 140, 1, 1, 15}, /*summon water elemental*/ |
|
|
499 | { 10, 160, 1, 1, 15}, /*summon air elemental*/ |
|
|
500 | { 0, 10, 0, 1, 0}, /*dimension door*/ |
|
|
501 | { 0, 32, 0, 1, 0}, /*create earth wall*/ |
|
|
502 | { 25, 5, 3, 3, 0}, /*paralyze*/ |
|
|
503 | { 4, 6, 3, 5, 9}, /*icestorm*/ |
|
|
504 | { 0, 0, 0, 0, 0}, /*magic mapping*/ |
|
|
505 | { 0, 3, 0, 4, 12}, /*turn undead*/ /* wis bonus on bdur*/ |
|
|
506 | { 5, 4, 0, 3, 12}, /*fear*/ /*cha bonus on bdur */ /*20*/ |
|
|
507 | { 0, 0, 3, 0, 8}, /*poison cloud*/ |
|
|
508 | { 0, 0, 0, 0, 0}, /*wonder*/ |
|
|
509 | { 10, 5, 3, 6, 15}, /*destruction*/ /* dam=10+int */ |
|
|
510 | { 0, 0, 0, 0, 0}, /*perceive self*/ |
|
|
511 | { 0, 5, 0, 1, 40}, /*word of recall*/ |
|
|
512 | { 0, 300, 20, 1, 15}, /*invisible*/ |
|
|
513 | { 0, 300, 20, 1, 15}, /*invisible to undead*/ |
|
|
514 | { 0, 0, 0, 0, 0}, /*probe*/ |
|
|
515 | { 25, 0, 1, 0, 25}, /*large bullet*/ |
|
|
516 | { 0, 200, 20, 1, 10}, /*improved invisibility*/ /*30*/ |
|
|
517 | { 6, 2, 3, 5, 7}, /*holy word*/ /* bdur+=turn bonus */ |
|
|
518 | { 0, 0, 0, 0, 0}, /*minor healing*/ |
|
|
519 | { 0, 0, 0, 0, 0}, /*medium healing*/ |
|
|
520 | { 0, 0, 0, 0, 0}, /*major healing*/ |
|
|
521 | { 0, 0, 0, 0, 0}, /*heal*/ |
|
|
522 | { 100, 0, 1, 0, 10}, /*create food*/ |
|
|
523 | { 0, 1, 0, 3, 3}, /*earth to dust*/ |
|
|
524 | { 0, 0, 5, 4, 8}, /*armour*/ |
|
|
525 | { 0, 0, 0, 4, 0}, /*strength*/ |
|
|
526 | { 0, 0, 0, 4, 0}, /*dexterity*/ /*40*/ |
|
|
527 | { 0, 0, 0, 4, 0}, /*constitution*/ |
|
|
528 | { 0, 0, 0, 4, 0}, /*charisma*/ |
|
|
529 | { 4, 260, 3, 1, 8}, /*create fire wall*/ |
|
|
530 | { 0, 240, 3, 1, 8}, /*create frost wall*/ |
|
|
531 | { 0, 0, 0, 4, 40}, /*protection from cold*/ |
|
|
532 | { 0, 0, 0, 4, 40}, /*protection from electricity*/ |
|
|
533 | { 0, 0, 0, 4, 40}, /*protection from fire*/ |
|
|
534 | { 0, 0, 0, 4, 40}, /*protection from poison*/ |
|
|
535 | { 0, 0, 0, 4, 40}, /*protection from slow*/ |
|
|
536 | { 0, 0, 0, 4, 40}, /*protection from paralysis*//*50*/ |
|
|
537 | { 0, 0, 0, 4, 40}, /*protection from draining*/ |
|
|
538 | { 0, 0, 0, 4, 40}, /*protection from magic*/ |
|
|
539 | { 0, 0, 0, 4, 40}, /*protection from attack*/ |
|
|
540 | { 0, 0, 0, 4, 40}, /*levitate*/ |
|
|
541 | { 0, 0, 0, 0, 0}, /*small speedball*/ |
|
|
542 | { 0, 0, 0, 0, 0}, /*large speedball*/ |
|
|
543 | { 8, 12, 4, 0, 24}, /*hellfire*/ |
|
|
544 | { 4, 14, 3, 5, 11}, /*dragonbreath*/ |
|
|
545 | { 4, 14, 3, 5, 11}, /*large icestorm*/ |
|
|
546 | { 0, 0, 0, 0, 0}, /*charging*/ /* 60 */ |
|
|
547 | { 0, 0, 0, 0, 0}, /*polymorph*/ |
|
|
548 | { 0, 0, 0, 0, 0}, /*cancellation*/ |
|
|
549 | { 0, 0, 0, 0, 0}, /*confusion*/ |
|
|
550 | { 0, 5, 0, 5, 25}, /*mass confusion*/ |
|
|
551 | { 0, 0, 0, 0, 0}, /*summon pet monster*/ |
|
|
552 | { 5, 5, 0, 4, 20}, /*slow*/ |
|
|
553 | { 0, 0, 0, 0, 0}, /*regenerate spellpoints*/ |
|
|
554 | { 0, 0, 0, 0, 0}, /*cure poison*/ |
|
|
555 | { 0, 0, 0, 4, 40}, /*protection from confusion*/ |
|
|
556 | { 0, 0, 0, 4, 40}, /*protection from cancellation*/ /*70*/ |
|
|
557 | { 0, 0, 0, 4, 40}, /*protection from depletion*/ |
|
|
558 | { 0, 0, 0, 0, 0}, /*alchemy*/ |
|
|
559 | { 0, 0, 0, 0, 16}, /*remove curse*/ |
|
|
560 | { 0, 0, 0, 0, 30}, /*remove damnation*/ |
|
|
561 | { 0, 0, 0, 0, 0}, /*identify*/ |
|
|
562 | { 0, 0, 0, 0, 0}, /*detect magic*/ |
|
|
563 | { 0, 0, 0, 0, 0}, /*detect monster*/ |
|
|
564 | { 0, 0, 0, 0, 0}, /*detect evil*/ |
|
|
565 | { 0, 0, 0, 0, 0}, /*detect curse*/ |
|
|
566 | { 0, 0, 0, 0, 0}, /*heroism */ /*80*/ |
|
|
567 | { 0, 0, 0, 0, 0}, /*aggravation*/ |
|
|
568 | { 10, 9, 3, 0, 30}, /*firebolt*/ |
|
|
569 | { 12, 11, 4, 0, 48}, /*frostbolt*/ |
|
|
570 | { 10, 18, 3, 5, 25}, /*shockwave*/ |
|
|
571 | { 8, 10, 3, 5, 16}, /*color spray*/ |
|
|
572 | { 0, 0, 5, 2, 0}, /*haste*/ |
|
|
573 | { 0, 4, 0, 9, 36}, /*face of death*/ |
|
|
574 | { 8, 40, 3, 1, 15}, /*ball lightning*/ |
|
|
575 | { 0, 0, 0, 4, 12}, /*meteor swarm*/ |
|
|
576 | { 75, 0, 1, 0, 18}, /*comet*/ /*90*/ |
|
|
577 | { 8, 50, 1, 1, 15}, /*mystic fist*/ |
|
|
578 | { 0, 0, 0, 0, 0}, /*raise dead*/ |
|
|
579 | { 0, 0, 0, 0, 0}, /*resurrection*/ |
|
|
580 | { 0, 0, 0, 0, 0}, /*reincarnation*/ |
|
|
581 | { 0, 0, 0, 5, 50}, /*immunity to cold*/ |
|
|
582 | { 0, 0, 0, 5, 50}, /*immunity to electricity*/ |
|
|
583 | { 0, 0, 0, 5, 50}, /*immunity to fire*/ |
|
|
584 | { 0, 0, 0, 5, 50}, /*immunity to poison*/ |
|
|
585 | { 0, 0, 0, 5, 50}, /*immunity to slow*/ |
|
|
586 | { 0, 0, 0, 5, 50}, /*immunity to paralysis*/ /*100*/ |
|
|
587 | { 0, 0, 0, 5, 50}, /*immunity to draining*/ |
|
|
588 | { 0, 0, 0, 5, 50}, /*immunity to magic*/ |
|
|
589 | { 0, 0, 0, 5, 50}, /*immunity to attack*/ |
|
|
590 | { 0, 0, 0, 5, 50}, /*invulnerability*/ |
|
|
591 | { 0, 0, 0, 5, 50}, /*protection*/ |
|
|
592 | { 0, 0, 0, 0, 0}, /* fire rune */ |
|
|
593 | { 0, 0, 0, 0, 0}, /* frost rune */ |
|
|
594 | { 0, 0, 0, 0, 0}, /* shocking rune */ |
|
|
595 | { 0, 0, 0, 0, 0}, /* blasting rune */ |
|
|
596 | { 0, 0, 0, 0, 0}, /* death rune */ /*110*/ |
|
|
597 | { 0, 0, 0, 0, 0}, /* marking rune */ |
|
|
598 | { 80, 200, 1, 1, 10}, /* build director */ |
|
|
599 | { 4, 240, 3, 1, 0}, /* chaos pool */ |
|
|
600 | { 80, 100, 1, 1, 10}, /* build bullet wall */ |
|
|
601 | { 80, 100, 1, 1, 10}, /* build lightning wall */ |
|
|
602 | { 80, 100, 1, 1, 10}, /* build fireball wall */ |
|
|
603 | { 0, 0, 0, 0, 0}, /* magic rune */ |
|
|
604 | { 0, 0, 0, 0, 0}, /* rune of magic drain */ |
|
|
605 | { 0, 0, 0, 0, 0}, /* rune of barring magic */ |
|
|
606 | { 8, 0, 2, 0, 24}, /* rune of transferrence */ /*120*/ |
|
|
607 | { 8, 0, 2, 0, 20}, /* transferrence */ |
|
|
608 | { 75, 30, 2, 1, 10}, /* magic drain */ |
|
|
609 | { 0, 6, 0, 3, 18}, /* counter-spell */ |
|
|
610 | { 0, 0, 0, 0, 0}, /* dispel rune */ |
|
|
611 | { 0, 0, 0, 0, 0}, /* cure madness */ |
|
|
612 | { 0, 0, 0, 0, 0}, /* restoration */ |
|
|
613 | { 0, 0, 0, 0, 0}, /* summon hostile monsters */ |
|
|
614 | { 0, 100, 0, 1, 20}, /* counterwall */ |
|
|
615 | { 6, 0, 1, 0, 6}, /* cause light wounds */ |
|
|
616 | { 24, 0, 1, 0, 24}, /* cause medium wounds */ /* 130 */ |
|
|
617 | { 50, 0, 1, 0, 50}, /* cause serious wounds */ |
|
|
618 | { 0, 0, 0, 3 , 27}, /* Charm monster */ |
|
|
619 | { 0, 4, 0, 9, 36}, /* Banishment */ |
|
|
620 | { 0, 5, 6, 2, 5}, /* create missile */ |
|
|
621 | { 0, 4, 0, 0, 30}, /* show invisible */ |
|
|
622 | { 0, 4, 0, 9, 36}, /* xray vision */ |
|
|
623 | { 0, 0, 0, 10, 10}, /* pacify */ |
|
|
624 | { 0, 0, 0, 10, 0}, /* summon fog */ |
|
|
625 | { 20, 8, 2, 5, 40}, /* steambolt*/ |
|
|
626 | { 0, 0, 0, 3 , 27}, /* command undead */ /* 140 */ |
|
|
627 | { 25, 8, 4, 0, 10}, /* holy orb */ |
|
|
628 | { 50, 300, 1, 1, 15}, /* summon avatar */ |
|
|
629 | { 1, 0, 4, 4, 10}, /* holy possesion */ |
|
|
630 | { 1, 0, 8, 6, 10}, /* bless */ |
|
|
631 | { 1, 0, 8, 6, 10}, /* curse */ |
|
|
632 | { 1, 0, 5, 6, 10}, /* regeneration */ |
|
|
633 | { 0, 0, 0, 0, 0}, /* consecrate */ |
|
|
634 | { 0, 0, 0, 0, 0}, /* summon cult monster*/ |
|
|
635 | { 100, 0, 1, 0, 50}, /* cause critical wounds */ |
|
|
636 | { 0, 0, 1, 0, 30}, /* holy wrath */ /* 150 */ |
|
|
637 | { 0, 0, 1, 0, 30}, /* finger of retribution */ |
|
|
638 | { 0, 0, 1, 0, 20}, /* finger of death */ |
|
|
639 | { 0, 0, 1, 0, 30}, /* insect plague */ |
|
|
640 | { 10, 50, 2, 2, 50}, /* holy servant */ |
|
|
641 | { 4, 300, 3, 1, 50}, /* wall of thorns */ |
|
|
642 | { 8, 30, 3, 3, 40}, /* staff to snake */ |
|
|
643 | { 2, 1000, 20, 1, 10}, /* light */ |
|
|
644 | { 10, 50, 2, 2, 50}, /* darkness */ |
|
|
645 | { 10, 50, 2, 2, 50}, /* nightfall */ |
|
|
646 | { 10, 50, 2, 2, 50}, /* daylight */ /* 160 */ |
|
|
647 | { 6, 8, 3, 9, 35}, /* sunspear */ |
|
|
648 | { 1, 5, 9, 6, 15}, /* faery fire */ |
|
|
649 | { 0, 0, 0, 0, 0}, /* cure blindness */ |
|
|
650 | { 0, 4, 0, 5, 30}, /* dark vision */ |
|
|
651 | { 0, 0, 0, 4, 12}, /* bullet swarm */ |
|
|
652 | { 0, 0, 0, 4, 12}, /* bullet storm */ |
|
|
653 | { 0, 0, 0, 4, 12}, /* cause many wounds */ |
|
|
654 | { 8, 6, 3, 0, 24}, /*small snowstorm*/ |
|
|
655 | { 8, 10, 3, 0, 24}, /*medium snowstorm*/ |
|
|
656 | { 8, 14, 4, 0, 32}, /*large snowstorm*/ /* 170 */ |
|
|
657 | { 0, 0, 0, 0, 0}, /*cure disease*/ |
|
|
658 | { 0, 0, 1, 1, 24}, /*cause red death*/ |
|
|
659 | { 0, 0, 3, 5, 10}, /*cause flu*/ |
|
|
660 | { 0, 0, 3, 10, 20}, /*cause black death*/ |
|
|
661 | { 0, 0, 1, 1, 10}, /*cause leprosy*/ |
|
|
662 | { 0, 0, 1, 4, 10}, /*cause smallpox*/ |
|
|
663 | { 0, 0, 1, 5, 24}, /*cause plague*/ |
|
|
664 | { 0, 0, 1, 10, 10}, /*cause anthrax*/ |
|
|
665 | { 0, 0, 1, 10, 24}, /*cause typhoid*/ |
|
|
666 | { 4, 5, 4, 4, 9}, /* mana blast */ /* 180 */ |
|
|
667 | { 8, 6, 3, 0, 24}, /* small manaball */ |
|
|
668 | { 8, 10, 3, 0, 24}, /* medium manaball */ |
|
|
669 | { 8, 14, 4, 0, 32}, /* large manaball */ |
|
|
670 | { 10, 9, 3, 0, 30}, /* mana bolt */ |
|
|
671 | { 2, 20, 2, 1, 10}, /* dancing sword */ /* 185 */ |
|
|
672 | { 2, 20, 2, 1, 20}, /* animate weapon */ |
|
|
673 | { 0, 0, 3, 5, 10}, /*cause cold*/ |
|
|
674 | { 1, 1, 12, 5, 10}, /*divine shock*/ |
|
|
675 | { 0, 20, 25, 4, 8}, /*windstorm*/ |
|
|
676 | { 0, 100, 0, 1, 20}, /*sanctuary*/ /* 190 */ |
|
|
677 | { 0, 4, 0, 9, 36}, /*peace*/ |
|
|
678 | { 0, 10, 0, 5, 50}, /*spiderweb*/ |
|
|
679 | { 0, 5, 0, 10, 10}, /*conflict*/ |
|
|
680 | { 0, 0, 5, 4, 4}, /*rage*/ |
|
|
681 | { 10, 16, 3, 0, 24}, /*forked lightning*/ /* 195*/ |
|
|
682 | { 10, 5, 5, 4, 10}, /*poison fog*/ |
|
|
683 | { 6, 100, 25, 4, 20}, /*flame aura*/ |
|
|
684 | { 100, 20, 25, 4, 6}, /*vitriol*/ |
|
|
685 | { 40, 5, 4, 40, 10}, /*vitriol splash*/ |
|
|
686 | { 0, 0, 5, 4, 6}, /*ironwood skin*/ |
|
|
687 | { 20, 5, 3, 5, 7}, /*wrathful eye*/ |
|
|
688 | { 0, 5, 3, 5, 0}, /*town portal*/ |
|
|
689 | { 0, 0, 0, 4, 12}, /*missile swarm*/ |
|
|
690 | { 0, 0, 1, 1, 12}, /*cause rabies*/ |
|
|
691 | { 75, 0, 1, 0, 18}, /*asteroid*/ |
|
|
692 | { 0, 0, 0, 4, 12}, /*frost nova*/ |
|
|
693 | }; |
|
|
694 | |
|
|
695 | char *spellpathnames[NRSPELLPATHS] = { |
|
|
696 | "Protection", |
28 | "Protection", |
697 | "Fire", |
29 | "Fire", |
698 | "Frost", |
30 | "Frost", |
699 | "Electricity", |
31 | "Electricity", |
700 | "Missiles", |
32 | "Missiles", |