Debian Codegraph @

lib/gamedata/class.txt

raw
1 # File: class.txt
2
3
4 # This file is used to initialize the "player class" information for Angband.
5
6 # Do not modify this file unless you know exactly what you are doing,
7 # unless you wish to risk possible system crashes and broken savefiles.
8
9 # === Understanding class.txt ===
10
11 # Format:
12 # name:class number:class name
13 # stats:str:int:wis:dex:con
14 # skill-disarm-phys:base:increment
15 # skill-disarm-magic:base:increment
16 # skill-device:base:increment
17 # skill-save:base:increment
18 # skill-stealth:base:increment
19 # skill-search:base:increment
20 # skill-melee:base:increment
21 # skill-shoot:base:increment
22 # skill-throw:base:increment
23 # skill-dig:base:increment
24 # hitdie:increment
25 # exp:percent
26 # max-attacks:count
27 # min-weight:weight in tenths of pounds
28 # strength-multiplier:multiplicative factor
29 # title:title
30 # equip:tval:sval:min:max:eopts
31 # obj-flags:object property flags
32 # player-flags:player property flags
33 # magic:spell_first:spell_weight:num_books
34 # book:tval:quality:name:spells:realm
35 # book-graphics:symbol:color
36 # book-properties:cost:commonness:min to max
37 # spell:name:level:mana:fail:exp
38 # effect:effect:subtype (if needed):radius (if needed):parameter (if needed)
39 # effect-yx:yrange:xrange
40 # dice:dice string
41 # expr:dice expression
42 # effect-msg:message
43 # desc: description
44
45
46 # 'name' indicates the beginning of an entry. The serial number must
47 # increase for each new class.
48
49 # 'stats' is for the stat modifiers - strength, intelligence, wisdom,
50 # dexterity, constitution.
51
52 # 'skill-<skill name>' is for skills - physical and magical disarming,
53 # magic devices, saving throws, stealth, to hit (normal), to hit (bows),
54 # to hit (throwing), digging. The base entry is what gets added to the
55 # character's skills at birth, the increments are added to the base skill
56 # every ten levels.
57
58 # 'hitdie' sets the class's contribution to the maximum hitpoints gained per
59 # level
60
61 # 'exp' sets the class's additive contribution, in percent, to the experience
62 # point penalty. The current classes don't set this and get the default of
63 # no experience point penalty.
64
65 # 'max-attacks' sets the maximum possible number of blows per round.
66
67 # 'min-weight' is the minimum, in tenths of pounds, imposed on a weapon's weight
68 # when computing the number of blows per round.
69
70 # 'strength-multiplier' is the multiplier for strength's contribution to the
71 # number of blows per round; a bigger value grants more blows.
72
73 # 'equip' is for starting equipment - tval of the item, sval of the item,
74 # minimum amount, maximum amount, names of birth options separated by spaces
75 # or | (or none for no exclusion rules) which will exclude the item if set
76 # (or, if the name of the option is preceded by NOT-, will exclude the item if
77 # not set).
78
79 # 'obj-flags' is for object properties (from object_property.txt) that the
80 # class has.
81
82 # 'player-flags' is for player properties (from player_property.txt) that the
83 # class has.
84
85 # 'title' is for class titles.
86
87 # 'magic' is for general magic info - level of the first spell, weight that
88 # hurts spells, number of books used.
89
90 # 'book' defines one of these books - object base, whether a town or a dungeon
91 # book, name, number of spells, book realm. A book needs to be defined for
92 # each class which uses it, as otherwise it is not recognised as one of that
93 # class's books.
94
95 # 'book-graphics' is for symbol and color as used in object.txt.
96 # 'book-graphics:' lines refer to the previous book line, and need not be
97 # included if a book of the same name has been defined earlier.
98
99 # 'book-properties' is for object properties of a book - cost, commonness,
100 # and minimum and maximum depths of occurrence.
101 # 'book-properties:' lines refer to the previous book line, and need not be
102 # included if a book of the same name has been defined earlier.
103
104 # 'spell' defines an individual spell - name, level, mana required,
105 # fail-rate, experience for first casting. 'spell:' lines always refer to
106 # spells in the previous 'book:' line. The lines below are all used in
107 # reference to the previous 'spell:' line.
108
109 # 'effect' defines the spell effect (as listed in src/list-effects.h),
110 # and optionally parameters for effect subtype, effect radius and
111 # an extra parameter for various things
112
113 # 'effect-yx' sets the y (i.e. vertical) range and x (i.e. horizontal) range
114 # about the effect's centre. Only some effects (often detections) use those
115 # ranges.
116
117 # 'dice' provides a random value to be used by an effect (for damage,
118 # healing, etc). As well as the normal random value fields described above,
119 # it can contain expressions like $B, which refer forward to an 'expr' line.
120
121 # 'expr' provides an expression for use in effect dice. It consists of a
122 # code letter (eg B) for the expression, a base function to use (for example
123 # PLAYER_LEVEL), and a sequence of operations to perform on that base.
124
125 # 'effect-msg' provides a message which can be used in whatever way the effect
126 # needs, typically to print during the effect, or as a death message.
127
128 # 'desc' is for description. As many desc: lines may be used as are needed
129 # to describe the spell. Note that lines will need spaces at their
130 # ends or the beginning of the next line to prevent words from running
131 # together.
132
133
134
135 ############### WARRIOR ###############
136 name:Warrior
137 stats:3:-2:-2:2:2
138 skill-disarm-phys:25:15
139 skill-disarm-magic:20:10
140 skill-device:18:7
141 skill-save:18:10
142 skill-stealth:0:0
143 skill-search:10:12
144 skill-melee:70:45
145 skill-shoot:55:45
146 skill-throw:55:45
147 skill-dig:0:0
148 hitdie:9
149 max-attacks:6
150 min-weight:30
151 strength-multiplier:5
152 equip:food:Ration of Food:1:3:none
153 equip:light:Wooden Torch:1:3:none
154 equip:potion:Berserk Strength:1:1:none
155 equip:sword:Dagger:1:1:none
156 equip:soft armour:Soft Leather Armour:1:1:none
157 equip:scroll:Word of Recall:1:1:birth_no_recall
158 player-flags:BRAVERY_30 | NO_MANA | SHIELD_BASH
159 title:Rookie
160 title:Soldier
161 title:Swordsman
162 title:Swashbuckler
163 title:Veteran
164 title:Myrmidon
165 title:Commando
166 title:Champion
167 title:Hero
168 title:Lord
169
170
171 ############### MAGE ###############
172 name:Mage
173 stats:-3:3:0:0:-2
174 skill-disarm-phys:30:10
175 skill-disarm-magic:35:12
176 skill-device:36:13
177 skill-save:30:9
178 skill-stealth:2:0
179 skill-search:10:12
180 skill-melee:35:15
181 skill-shoot:20:15
182 skill-throw:20:15
183 skill-dig:0:0
184 hitdie:0
185 max-attacks:4
186 min-weight:40
187 strength-multiplier:2
188 equip:food:Ration of Food:1:3:none
189 equip:light:Wooden Torch:1:3:none
190 equip:sword:Rapier:1:1:none
191 equip:scroll:Word of Recall:1:1:birth_no_recall
192 player-flags:ZERO_FAIL | BEAM | CHOOSE_SPELLS
193 title:Novice
194 title:Apprentice
195 title:Trickster
196 title:Illusionist
197 title:Spellbinder
198 title:Evoker
199 title:Conjurer
200 title:Warlock
201 title:Sorcerer
202 title:Arch-Mage
203
204 magic:1:300:5
205
206 book:magic book:town:[First Spells]:7:arcane
207 book-graphics:?:R
208 book-properties:25:40:1 to 100
209 equip:magic book:[First Spells]:1:1:none
210
211 spell:Magic Missile:1:1:22:4
212 effect:BOLT_OR_BEAM:MISSILE:0:-10
213 dice:$Dd4
214 expr:D:PLAYER_LEVEL:- 1 / 5 + 3
215 desc:Fires a magic missile that always hits its target and does
216 desc: unresistable damage.
217 desc: Sometimes a beam is fired instead that hurts each monster
218 desc: in its path.
219 desc: The chance to get a beam goes up with your character level.
220
221 spell:Light Room:1:2:26:4
222 effect:LIGHT_AREA
223 effect:SPOT:LIGHT_WEAK:2
224 dice:1
225 desc:Lights up all squares within 2 grids of the player, and hurts
226 desc: all light-sensitive monsters in the area of effect.
227 desc: If you are in a room, the entire room will be lit up as well.
228
229 spell:Find Traps, Doors & Stairs:1:1:20:2
230 effect:DETECT_TRAPS
231 effect-yx:22:40
232 effect:DETECT_DOORS
233 effect-yx:22:40
234 effect:DETECT_STAIRS
235 effect-yx:22:40
236 desc:Detects all traps, doors, and stairs in the immediate area.
237
238 spell:Phase Door:2:2:22:4
239 effect:TELEPORT
240 dice:10
241 desc:Teleports you randomly up to 10 squares away.
242
243 spell:Electric Arc:2:2:34:4
244 effect:SHORT_BEAM:ELEC:0:1
245 dice:$Dd6
246 expr:D:PLAYER_LEVEL:- 1 / 5 + 3
247 desc:Creates an electrical discharge that hurts monsters and destroys
248 desc: vulnerable items in its path. Length of the effect increases
249 desc: with player level.
250
251 spell:Detect Monsters:3:2:24:4
252 effect:DETECT_VISIBLE_MONSTERS
253 effect-yx:22:40
254 desc:Detects all non-invisible monsters in the immediate area,
255 desc: for one turn only.
256
257 spell:Fire Ball:6:5:33:5
258 effect:BALL:FIRE:2
259 dice:$B
260 expr:B:PLAYER_LEVEL:* 2
261 desc:Shoots a radius-2 fire ball.
262
263 book:magic book:town:[Attacks and Knowledge]:6:arcane
264 book-graphics:?:R
265 book-properties:400:40:10 to 100
266
267 spell:Recharging:5:5:28:6
268 effect:RECHARGE
269 dice:$B
270 expr:B:PLAYER_LEVEL:/ 8 + 6
271 desc:Adds charges to a stack of wands or staves.
272 desc: Chance of success and number of charges gained increase with your
273 desc: level and decrease with level of wand or staff and number of charges.
274 desc: A failed attempt to recharge destroys one wand or staff from the stack.
275
276 spell:Identify Rune:8:7:25:8
277 effect:IDENTIFY
278 desc:Reveals an unknown rune on an object.
279
280 spell:Treasure Detection:10:3:60:5
281 effect:DETECT_GOLD
282 effect-yx:22:40
283 effect:SENSE_OBJECTS
284 effect-yx:22:40
285 desc:Detects gold and senses objects in the immediate area.
286
287 spell:Frost Bolt:13:5:40:6
288 effect:BOLT_OR_BEAM:COLD
289 dice:$Dd8
290 expr:D:PLAYER_LEVEL:- 5 / 3 + 6
291 desc:Shoots a bolt of frost that always hits its target.
292 desc: Sometimes a beam is fired instead that hurts each monster
293 desc: in its path.
294 desc: The chance to get a beam goes up with your character level.
295
296 spell:Reveal Monsters:15:6:40:8
297 effect:DETECT_INVISIBLE_MONSTERS
298 effect-yx:22:40
299 effect:DETECT_VISIBLE_MONSTERS
300 effect-yx:22:40
301 desc:Detects all monsters in the immediate area, for one turn only.
302
303 spell:Acid Spray:20:5:30:12
304 effect:ARC:ACID:10:60
305 dice:$Dd8
306 expr:D:PLAYER_LEVEL:/ 2
307 desc:Sprays acid in a 60-degree cone, hitting all monsters up to 10 grids away.
308
309 book:magic book:town:[Magical Defences]:6:arcane
310 book-graphics:?:R
311 book-properties:1600:20:30 to 100
312
313 spell:Disable Traps, Destroy Doors:5:5:30:6
314 effect:TOUCH:KILL_DOOR
315 effect:TOUCH:KILL_TRAP
316 desc:Disables traps and destroys doors within a 1-square radius of you.
317
318 spell:Teleport Self:7:6:35:5
319 effect:TELEPORT
320 dice:M$M
321 expr:M:PLAYER_LEVEL:* 9 / 5
322 desc:Teleports you randomly within the current level.
323
324 spell:Teleport Other:15:10:30:12
325 effect:BOLT_STATUS:AWAY_ALL
326 dice:$B
327 expr:B:PLAYER_LEVEL:* 3
328 desc:Produces a bolt that teleports away the first monster in its path.
329 desc: Distance teleported increases with player level.
330
331 spell:Resistance:20:20:65:20
332 effect:SET_VALUE
333 dice:20+d20
334 effect:TIMED_INC:OPP_ACID
335 effect:TIMED_INC:OPP_ELEC
336 effect:TIMED_INC:OPP_COLD
337 effect:TIMED_INC:OPP_FIRE
338 effect:CLEAR_VALUE
339 desc:Grants you resistance to acid, cold, fire and lightning for 20+1d20 turns.
340
341 spell:Tap Magical Energy:22:2:30:12
342 effect:TAP_DEVICE
343 desc:Turns wand or staff energy into mana; tapping stuns the player briefly.
344
345 spell:Mana Channel:25:10:50:20
346 effect:TIMED_INC:FASTCAST
347 dice:5+1d5
348 desc:Increases spellcasting speed by 33% for 5+1d5 turns.
349
350 book:magic book:dungeon:[Arcane Control]:6:arcane
351 book-graphics:?:r
352 book-properties:30000:15:40 to 100
353
354 spell:Door Creation:13:9:40:12
355 effect:TOUCH:MAKE_DOOR
356 desc:A door is created on each empty floor space that is directly
357 desc: adjacent to you. These doors are closed, but not locked.
358
359 spell:Mana Bolt:25:8:60:30
360 effect:BOLT_OR_BEAM:MISSILE
361 dice:$Dd8
362 expr:D:PLAYER_LEVEL:- 10
363 desc:Fires a magic missile that always hits its target and does
364 desc: unresistable damage.
365 desc: Sometimes a beam is fired instead that hurts each monster
366 desc: in its path.
367 desc: The chance to get a beam goes up with your character level.
368
369 spell:Teleport Level:28:17:65:20
370 effect:TELEPORT_LEVEL
371 desc:Teleports you 1 level up or 1 level down (chosen at random).
372 desc: This spell may have no effect when the forced descent option is set.
373
374 spell:Detection:30:10:70:30
375 effect:DETECT_TRAPS
376 effect-yx:22:40
377 effect:DETECT_DOORS
378 effect-yx:22:40
379 effect:DETECT_STAIRS
380 effect-yx:22:40
381 effect:DETECT_GOLD
382 effect-yx:22:40
383 effect:SENSE_OBJECTS
384 effect-yx:22:40
385 effect:DETECT_INVISIBLE_MONSTERS
386 effect-yx:22:40
387 effect:DETECT_VISIBLE_MONSTERS
388 effect-yx:22:40
389 desc:Detects all traps, doors, stairs, treasure, objects and monsters in the
390 desc: immediate area.
391
392 spell:Dimension Door:35:30:80:40
393 effect:TELEPORT_TO
394 desc:Teleports you to (or near to) a square of your choice.
395
396 spell:Thrust Away:40:12:90:40
397 effect:SHORT_BEAM:FORCE:1:10
398 dice:$Dd8
399 expr:D:PLAYER_LEVEL:+ 0
400 desc:Fires a short range beam of force.
401
402 book:magic book:dungeon:[Wizard's Tome of Power]:5:arcane
403 book-graphics:?:r
404 book-properties:50000:10:60 to 100
405
406 spell:Shock Wave:20:5:40:16
407 effect:BALL:SOUND:2
408 dice:$B
409 expr:B:PLAYER_LEVEL:* 2
410 desc:Shoots a radius-2 sound ball.
411 desc: Apart from doing sound damage, this also has a chance to stun
412 desc: each monster in the area of effect.
413
414 spell:Explosion:30:10:50:20
415 effect:BALL:SHARD:2
416 dice:$B
417 expr:B:PLAYER_LEVEL:* 2
418 effect:BALL:FORCE:2
419 dice:$B
420 expr:B:PLAYER_LEVEL:/ 5
421 desc:Shoots a radius-2 shards ball and throws around anything in the area of
422 desc: effect.
423
424 spell:Banishment:35:45:95:25
425 effect:BANISH
426 desc:Removes all monsters represented by a chosen symbol from the level.
427 desc: Uniques are not affected.
428 desc: You take 1d4 points of damage for every monster removed.
429
430 spell:Mass Banishment:40:75:90:100
431 effect:MASS_BANISH
432 desc:Removes all monsters within 20 squares of you.
433 desc: Uniques are not affected.
434 desc: You take 1d3 points of damage for every monster removed.
435
436 spell:Mana Storm:45:16:85:200
437 effect:BALL:MANA:3
438 dice:$B
439 expr:B:PLAYER_LEVEL:* 2 + 300
440 desc:Shoots a radius-3 mana ball that does unresistable
441 desc: damage to each monster in its area of effect.
442
443
444 ############### DRUID ###############
445 name:Druid
446 stats:-2:0:3:-2:0
447 skill-disarm-phys:30:10
448 skill-disarm-magic:30:10
449 skill-device:24:10
450 skill-save:30:10
451 skill-stealth:3:0
452 skill-search:12:12
453 skill-melee:45:20
454 skill-shoot:40:30
455 skill-throw:40:30
456 skill-dig:0:0
457 hitdie:2
458 max-attacks:4
459 min-weight:35
460 strength-multiplier:3
461 equip:food:Ration of Food:1:3:none
462 equip:hafted:Whip:1:1:none
463 equip:light:Wooden Torch:1:3:none
464 equip:scroll:Word of Recall:1:1:birth_no_recall
465 player-flags:ZERO_FAIL | CHOOSE_SPELLS | CHARM
466 title:Wanderer
467 title:Tamer
468 title:Nurturer
469 title:Gardener
470 title:Forester
471 title:Creator
472 title:Earth Warder
473 title:Windrider
474 title:Stormwielder
475 title:High Mystic
476
477 magic:1:350:5
478
479 book:nature book:town:[Lesser Charms]:6:nature
480 book-graphics:?:y
481 book-properties:25:40:1 to 100
482 equip:nature book:[Lesser Charms]:1:1:none
483
484 spell:Detect Life:1:1:23:2
485 effect:DETECT_LIVING_MONSTERS
486 effect-yx:22:40
487 desc:Detects all living monsters in the immediate area, for one turn only.
488
489 spell:Fox Form:1:2:20:10
490 effect:SHAPECHANGE:fox
491 desc:Changes you into the shape of a quick and stealthy fox.
492 desc: While shapechanged you cannot use items.
493
494 spell:Remove Hunger:2:2:25:2
495 effect:NOURISH:INC_TO
496 dice:50
497 desc:Magically renders you comfortably fed (but not satiated).
498
499 spell:Stinking Cloud:3:2:27:4
500 effect:BALL:POIS:2
501 dice:$B
502 expr:B:PLAYER_LEVEL:/ 2 + 10
503 desc:Shoots a radius-2 poison ball.
504
505 spell:Confuse Monster:5:3:30:5
506 effect:BOLT_AWARE:MON_CONF
507 dice:5+d$S
508 expr:S:PLAYER_LEVEL:- 5
509 desc:Confuse a single monster; more effective against animals.
510
511 spell:Slow Monster:6:4:30:5
512 effect:BOLT_STATUS:MON_SLOW
513 dice:5+d$S
514 expr:S:PLAYER_LEVEL:- 5
515 desc:Slows down a monster; more effective against animals.
516
517 book:nature book:town:[Gifts of Nature]:6:nature
518 book-graphics:?:y
519 book-properties:400:40:10 to 100
520
521 spell:Cure Poison:4:4:30:4
522 effect:CURE:POISONED
523 desc:Neutralizes poison.
524
525 spell:Resist Poison:7:6:32:5
526 effect:TIMED_INC:OPP_POIS
527 dice:20+d20
528 desc:Grants you resistance to poison for 20+1d20 turns.
529
530 spell:Turn Stone to Mud:8:3:25:5
531 effect:LINE:KILL_WALL
532 dice:20+1d30
533 desc:Produces a beam that destroys the first section of wall it hits,
534 desc: unless it is a permanent wall. Each monster caught in the beam that
535 desc: is susceptible to rock remover takes 20+1d30 points of damage.
536
537 spell:Sense Surroundings:9:4:35:6
538 effect:MAP_AREA
539 dice:$Dd$S
540 expr:D:PLAYER_LEVEL:/ 30 + 1 * 22
541 expr:S:PLAYER_LEVEL:/ 30 + 1 * 44
542 desc:Maps the nearby area.
543
544 spell:Lightning Strike:12:6:35:8
545 effect:STRIKE:ELEC:0
546 dice:$Dd4
547 expr:D:PLAYER_LEVEL:/ 4
548 effect:STRIKE:SOUND:3
549 dice:$B
550 expr:B:PLAYER_LEVEL:+ 5
551 desc:Strikes a target from above with a lightning bolt, followed by a clap
552 desc: of thunder. Target grid must be targetable and known to the player;
553 desc: no target grid will mean the player grid is hit.
554
555 spell:Earth Rising:14:5:40:12
556 effect:SHORT_BEAM:SHARD:4:5
557 dice:$Dd6
558 expr:D:PLAYER_LEVEL:/ 3 + 2
559 desc:Causes shards to explode in a line out of the earth, striking objects and
560 desc: monsters. Length of the line increases with player level.
561
562 book:nature book:dungeon:[Creature Dominion]:5:nature
563 book-graphics:?:o
564 book-properties:10000:20:30 to 100
565
566 spell:Trance:20:10:45:15
567 effect:TOUCH_AWARE:MON_HOLD
568 dice:3+d$D
569 expr:D:PLAYER_LEVEL:/ 7
570 desc:Holds every adjacent, non-resistant monster for a level-dependent
571 desc: number of turns; animals are entranced for longer.
572
573 spell:Mass Sleep:25:15:50:15
574 effect:PROJECT_LOS:SLEEP_ALL
575 dice:$B
576 expr:B:PLAYER_LEVEL:* 10 + 500
577 desc:Attempts to put to sleep each monster within line of sight.
578 desc: Monsters that resist sleep are not affected.
579
580 spell:Become Pukel-man:30:20:75:50
581 effect:SHAPECHANGE:Pukel-man
582 desc:Gives you the form of a statue of the Drúedain, slow but hard to hurt.
583
584 spell:Eagle's Flight:35:20:80:80
585 effect:SHAPECHANGE:eagle
586 desc:Gives you the form of one of the great eagles of Manwë.
587
588 spell:Bear Form:40:20:85:100
589 effect:SHAPECHANGE:bear
590 desc:Allows you to take the form of a great bear of the mountains, sweeping
591 desc: aside your enemies with your mighty paws.
592
593 book:nature book:dungeon:[Nature Craft]:5:nature
594 book-graphics:?:o
595 book-properties:30000:15:40 to 100
596
597 spell:Tremor:20:20:60:16
598 effect:EARTHQUAKE:TARGETED:4
599 desc:Causes a targeted 4-square radius earthquake.
600 desc: Earthquakes may hurt the player, damage monsters and destroy items
601 desc: in some squares in the area of effect.
602 desc: Artifacts will not be destroyed by this spell.
603 desc: This spell has no effect when used in the town.
604
605 spell:Haste Self:25:12:65:15
606 effect:TIMED_INC:FAST:0:5
607 dice:$B+d20
608 expr:B:PLAYER_LEVEL:+ 0
609 desc:Hastes you (+10 to speed) for a level-dependent duration.
610
611 spell:Revitalize:35:70:90:90
612 effect:RESTORE_STAT:STR
613 effect:RESTORE_STAT:INT
614 effect:RESTORE_STAT:WIS
615 effect:RESTORE_STAT:DEX
616 effect:RESTORE_STAT:CON
617 effect:RESTORE_EXP
618 desc:Restores all stats and experience points to maximum.
619
620 spell:Rapid Regeneration:37:20:90:100
621 effect:TIMED_INC:HEAL
622 dice:5+1d3
623 desc:Speed up digestion to increase regeneration of hitpoints for
624 desc: the next 5+1d3 turns (or until hungry).
625
626 spell:Herbal Curing:40:20:90:100
627 effect:CURE:CUT
628 effect:CURE:POISONED
629 effect:CURE:STUN
630 effect:CURE:BLACKBREATH
631 effect:NOURISH:INC_TO
632 dice:80
633 desc:Cures all cuts, poison, stunning and black breath, and leaves you
634 desc: well-nourished.
635
636 book:nature book:dungeon:[Wild Forces]:5:nature
637 book-graphics:?:o
638 book-properties:50000:10:60 to 100
639
640 spell:Meteor Swarm:30:14:85:20
641 effect:SWARM:METEOR:1
642 dice:$B+m$M
643 expr:B:PLAYER_LEVEL:/ 2 + 30
644 expr:M:PLAYER_LEVEL:/ 20 + 2
645 desc:Shoots a swarm of 3 or 4 meteors.
646 desc: Meteors will travel until hitting a wall, a monster,
647 desc: or reaching the target location.
648 desc: Meteors will explode as a radius-1 ball that does unresistable
649 desc: damage to each monster in its area of effect.
650 desc: If this kills the monster that blocked the path to the target
651 desc: location, the next meteor may continue to find another target.
652
653 spell:Rift:35:20:60:25
654 effect:BEAM:GRAVITY
655 dice:40+$Dd7
656 expr:D:PLAYER_LEVEL:+ 0
657 desc:Fires a gravity beam that hurts each monster in its path
658 desc: and has a chance of teleporting it away.
659
660 spell:Ice Storm:37:25:75:24
661 effect:PROJECT_LOS:ICE
662 dice:3d$S
663 expr:S:PLAYER_LEVEL:* 3
664 desc:Strikes every monster in line of sight with sheets of ice from above.
665
666 spell:Volcanic Eruption:40:30:75:50
667 effect:SPHERE:FIRE:5:5
668 dice:$B+d$S
669 expr:B:PLAYER_LEVEL:* 3 / 2
670 expr:S:PLAYER_LEVEL:* 3
671 effect:EARTHQUAKE:NONE:5
672 desc:Creates a radius 5 ball of fire, followed by a radius 5 earthquake,
673 desc: around the player.
674
675 spell:River of Lightning:43:35:75:100
676 effect:ARC:PLASMA:0:20
677 dice:$Dd8
678 expr:D:PLAYER_LEVEL:+ 10
679 desc:Spews plasma in a long narrow cone from the player.
680
681
682 ############### PRIEST ###############
683 name:Priest
684 stats:-1:-3:3:-1:1
685 skill-disarm-phys:25:12
686 skill-disarm-magic:25:12
687 skill-device:30:10
688 skill-save:32:12
689 skill-stealth:2:0
690 skill-search:10:14
691 skill-melee:45:20
692 skill-shoot:35:20
693 skill-throw:35:20
694 skill-dig:0:0
695 hitdie:2
696 max-attacks:4
697 min-weight:35
698 strength-multiplier:3
699 equip:food:Ration of Food:1:3:none
700 equip:light:Wooden Torch:1:3:none
701 equip:hafted:Mace:1:1:none
702 equip:potion:Cure Serious Wounds:2:2:none
703 equip:scroll:Word of Recall:1:1:birth_no_recall
704 player-flags:BLESS_WEAPON | ZERO_FAIL
705 title:Believer
706 title:Acolyte
707 title:Devotee
708 title:Adept
709 title:Evangelist
710 title:Priest
711 title:Elder
712 title:Prophet
713 title:Patriarch
714 title:High Priest
715
716 magic:1:350:5
717
718 book:prayer book:town:[Novice's Handbook]:6:divine
719 book-graphics:?:G
720 book-properties:25:40:1 to 100
721 equip:prayer book:[Novice's Handbook]:1:1:none
722
723 spell:Call Light:1:1:10:2
724 effect:LIGHT_AREA
725 effect:SPOT:LIGHT_WEAK:1:10
726 dice:2d$S
727 expr:S:PLAYER_LEVEL:/ 2
728 desc:Lights up all squares in a level-dependent area, and hurts
729 desc: all light-sensitive monsters in the area of effect.
730 desc: If you are in a room, the entire room will be lit up as well.
731
732 spell:Detect Evil:1:1:10:4
733 effect:DETECT_EVIL
734 effect-yx:22:40
735 desc:Detects all evil monsters in the immediate area,
736 desc: for one turn only.
737
738 spell:Minor Healing:1:2:15:4
739 effect:HEAL_HP
740 dice:$B+m$M
741 expr:B:PLAYER_LEVEL:+ 10
742 expr:M:PLAYER_LEVEL:/ 4
743 effect:TIMED_DEC:CUT
744 dice:20
745 effect:TIMED_DEC:STUN
746 dice:20
747 desc:Heals a level-dependent amount or percentage of hitpoints, and
748 desc: cures 20 points worth of cuts and of stunning.
749
750 spell:Bless:1:2:20:4
751 effect:TIMED_INC:BLESSED
752 dice:$B+d$S
753 expr:B:PLAYER_LEVEL:+ 10
754 expr:S:PLAYER_LEVEL:+ 10
755 desc:Blesses you, giving a bonus of +5 to AC and +10 to-hit, for a
756 desc: level-dependent number of turns.
757
758 spell:Sense Invisible:3:4:25:4
759 effect:TIMED_INC:SINVIS
760 dice:24+d24
761 desc:Enables you to see invisible monsters for 24+1d24 turns.
762
763 spell:Heroism:5:2:30:5
764 effect:HEAL_HP
765 dice:10
766 effect:CURE:AFRAID
767 effect:TIMED_INC:HERO
768 dice:$B+d$S
769 expr:B:PLAYER_LEVEL:- 19
770 expr:S:PLAYER_LEVEL:- 19
771 desc:Cures 10 points of damage, removes fear and, from character level 20,
772 desc: grants you heroism (resistance to fear, and a bonus of +12 to-hit)
773 desc: for a level-dependent duration.
774
775 book:prayer book:town:[Cleansing Power]:6:divine
776 book-graphics:?:G
777 book-properties:100:40:5 to 100
778
779 spell:Orb of Draining:7:7:40:4
780 effect:BALL:HOLY_ORB:2:30
781 dice:$B+3d6
782 expr:B:PLAYER_LEVEL:* 3 / 2
783 desc:Shoots a radius-2 or radius-3 ball that does unresistable
784 desc: damage to each monster in its area of effect.
785 desc: Evil monsters take double damage.
786 desc: The bigger area of effect is attained at character level 30.
787
788 spell:Spear of Light:7:6:30:5
789 effect:LINE:LIGHT_WEAK
790 dice:6d8
791 desc:Fires a beam that lights up each square and hurts each
792 desc: light-sensitive monster in its path.
793
794 spell:Dispel Undead:10:14:55:6
795 effect:PROJECT_LOS_AWARE:DISP_UNDEAD
796 dice:d$S
797 expr:S:PLAYER_LEVEL:* 5
798 desc:Inflicts unresistable damage on each undead monster within line of sight.
799
800 spell:Dispel Evil:12:20:70:10
801 effect:PROJECT_LOS_AWARE:DISP_EVIL
802 dice:d$S
803 expr:S:PLAYER_LEVEL:* 5
804 desc:Inflicts unresistable damage on each evil monster within line of sight.
805
806 spell:Protection from Evil:14:8:42:5
807 effect:TIMED_INC:PROTEVIL
808 dice:$B+d25
809 expr:B:PLAYER_LEVEL:* 3
810 desc:Protects you from evil for a level-dependent duration:
811 desc: all melee attacks by evil monsters have a chance to be repelled,
812 desc: unless the monster's level is higher than your character level.
813
814 spell:Remove Curse:16:6:38:8
815 effect:REMOVE_CURSE
816 dice:$B+d$S
817 expr:B:PLAYER_LEVEL:+ 0
818 expr:S:PLAYER_LEVEL:+ 0
819 desc:Attempts to remove a curse from an item, more effective at higher
820 desc: character levels.
821
822 book:prayer book:dungeon:[Healing and Sanctuary]:6:divine
823 book-graphics:?:g
824 book-properties:10000:20:30 to 100
825
826 spell:Portal:10:4:30:8
827 effect:TELEPORT
828 dice:$B
829 expr:B:PLAYER_LEVEL:/ 2 + 30
830 desc:Teleports you randomly over a short distance.
831
832 spell:Remembrance:20:30:90:50
833 effect:RESTORE_EXP
834 desc:Restores experience points to maximum if it is currently below maximum.
835
836 spell:Word of Recall:25:30:75:10
837 effect:RECALL
838 desc:Teleports you from the dungeon to the town or from the town to the
839 desc: deepest level you have visited in the dungeon.
840 desc: The recall effect is not immediate; it is delayed by 14+1d20 turns.
841 desc: During that delay, the prayer can be canceled by invoking the prayer
842 desc: of recall again.
843 desc: This prayer has no effect when the option to restrict the use of
844 desc: stairs and recall is set, unless Morgoth is dead.
845
846 spell:Healing:30:50:80:100
847 effect:HEAL_HP
848 dice:2000
849 effect:CURE:CUT
850 effect:CURE:POISONED
851 effect:CURE:STUN
852 effect:CURE:AMNESIA
853 desc:Heals 2000 points of damage and cures all stunning, cuts, poison
854 desc: and amnesia.
855
856 spell:Restoration:35:70:90:130
857 effect:RESTORE_STAT:STR
858 effect:RESTORE_STAT:INT
859 effect:RESTORE_STAT:WIS
860 effect:RESTORE_STAT:DEX
861 effect:RESTORE_STAT:CON
862 desc:Restores to maximum all stats that are currently below maximum.
863
864 spell:Clairvoyance:37:50:80:150
865 effect:LIGHT_LEVEL
866 desc:Lights up, maps out, and senses all objects on the complete current
867 desc: dungeon level.
868
869 book:prayer book:dungeon:[Battle Blessings]:5:divine
870 book-graphics:?:g
871 book-properties:30000:15:40 to 100
872
873 spell:Enchant Weapon:35:50:80:230
874 effect:ENCHANT:TOBOTH
875 dice:1d4
876 desc:Attempts to improve the to-hit bonus and the to-dam bonus of a weapon.
877
878 spell:Enchant Armour:37:60:85:250
879 effect:ENCHANT:TOAC
880 dice:1+1d3
881 desc:Attempts to improve the armour class bonus of a piece of armour.
882
883 spell:Smite Evil:25:20:70:40
884 effect:TIMED_INC:ATT_EVIL:0:5
885 dice:20+d20
886 desc:Temporarily makes your melee attacks slay evil creatures.
887
888 spell:Glyph of Warding:20:40:90:35
889 effect:GLYPH:WARDING
890 desc:Inscribes a glyph of warding beneath you.
891 desc: Summoned monsters can't appear on the glyph.
892 desc: If a monster attempts to move onto the glyph or melee you while you
893 desc: are standing on the glyph, it must first succeed in breaking the glyph.
894 desc: Higher level monsters are more likely to break the glyph.
895 desc: The glyph will remain where it is, until a monster succeeds in
896 desc: breaking it, or until you leave the level.
897
898 spell:Demon Bane:42:40:80:300
899 effect:TIMED_INC:ATT_DEMON:0:5
900 dice:20+d20
901 desc:Temporarily makes your melee attacks powerfully slay demons.
902
903 book:prayer book:dungeon:[Wrath of the Valar]:5:divine
904 book-graphics:?:g
905 book-properties:50000:10:60 to 100
906
907 spell:Banish Evil:25:25:80:250
908 effect:PROJECT_LOS_AWARE:AWAY_EVIL
909 dice:100
910 desc:Teleports away each evil monster within line of sight.
911
912 spell:Word of Destruction:35:35:80:115
913 effect:DESTRUCTION:LIGHT:15
914 desc:Destroys everything in a 15-square radius circle around you.
915 desc: All monsters, objects, and terrain features in the area of
916 desc: effect are destroyed, except stairs and permanent walls.
917 desc: You will also be blinded for 10+1d10 turns, unless you
918 desc: have resistance to blindness or light.
919 desc: This prayer has no effect when used in the town.
920
921 spell:Holy Word:39:32:95:20
922 effect:PROJECT_LOS_AWARE:DISP_EVIL
923 dice:d$S
924 expr:S:PLAYER_LEVEL:* 4
925 effect:HEAL_HP
926 dice:1000
927 effect:CURE:AFRAID
928 effect:CURE:POISONED
929 effect:CURE:STUN
930 effect:CURE:CUT
931 desc:Inflicts unresistable damage on each evil monster within line of sight,
932 desc: cures 1000 points of damage, cures all stunning, heals all cut damage,
933 desc: neutralizes poison, and removes fear.
934
935 spell:Spear of Oromë:40:10:75:130
936 effect:BEAM:HOLY_ORB
937 dice:$Dd8
938 expr:D:PLAYER_LEVEL:/ 2
939 desc:Fires a beam of holy magic that does extra damage to evil creatures.
940
941 spell:Light of Manwë:42:40:85:200
942 effect:BALL:LIGHT:4
943 dice:$B
944 expr:B:PLAYER_LEVEL:* 5
945 effect:PROJECT_LOS:LIGHT_WEAK
946 dice:100
947 desc:Casts a radius 4 ball of strong light, and then bathes the entire area
948 desc: in light doing 100 damage to every light-sensitive creature.
949
950
951 ############### NECROMANCER ###############
952 name:Necromancer
953 stats:-3:3:0:0:-2
954 skill-disarm-phys:30:10
955 skill-disarm-magic:35:12
956 skill-device:36:13
957 skill-save:30:9
958 skill-stealth:2:0
959 skill-search:10:12
960 skill-melee:35:25
961 skill-shoot:20:15
962 skill-throw:20:15
963 skill-dig:0:0
964 hitdie:2
965 max-attacks:4
966 min-weight:35
967 strength-multiplier:3
968 equip:food:Ration of Food:1:3:none
969 equip:sword:Main Gauche:1:1:none
970 equip:scroll:Word of Recall:1:1:birth_no_recall
971 player-flags:ZERO_FAIL | CHOOSE_SPELLS | UNLIGHT | EVIL
972 title:Acolyte
973 title:Curser
974 title:Dark Student
975 title:Initiate
976 title:Slavemaster
977 title:Summoner
978 title:Controller
979 title:Commander
980 title:Dark Master
981 title:Night Lord
982
983 magic:1:300:5
984
985 book:shadow book:town:[Into the Shadows]:5:shadow
986 book-graphics:?:P
987 book-properties:25:40:1 to 100
988 equip:shadow book:[Into the Shadows]:1:1:none
989
990 spell:Nether Bolt:1:1:22:2
991 effect:BOLT:NETHER
992 dice:$Dd4
993 expr:D:PLAYER_LEVEL:/ 4 + 3
994 desc:Fires a bolt of nether magic.
995
996 spell:Sense Invisible:2:4:25:3
997 effect:TIMED_INC:SINVIS
998 dice:24+d24
999 desc:Enables you to see invisible monsters for 24+1d24 turns.
1000
1001 spell:Create Darkness:3:3:10:4
1002 effect:DARKEN_AREA
1003 effect:SPOT:DARK_WEAK:1:10
1004 dice:1
1005 desc:Darkens all squares in a level-dependent area. If you are in a room,
1006 desc: the entire room will be darkened as well.
1007
1008 spell:Bat Form:3:4:20:10
1009 effect:SHAPECHANGE:bat
1010 desc:Changes you into the shape of a bat, weak but with excellent senses.
1011 desc: While shapechanged you cannot use items.
1012
1013 spell:Read Minds:4:4:10:6
1014 effect:DETECT_SOUL
1015 effect-yx:22:40
1016 effect:READ_MINDS
1017 dice:$Dd$S
1018 expr:D:PLAYER_LEVEL:/ 10
1019 expr:S:PLAYER_LEVEL:/ 10 + 1
1020 desc:Detects all monsters which have a spirit in the immediate area,
1021 desc: and then maps in a region around them, increasing in size with
1022 desc: character level.
1023
1024 book:shadow book:town:[Dark Rituals]:5:shadow
1025 book-graphics:?:P
1026 book-properties:400:40:10 to 100
1027
1028 spell:Tap Unlife:7:0:50:3
1029 effect:TAP_UNLIFE
1030 dice:$Dd6
1031 expr:D:PLAYER_LEVEL:/ 4 + 2
1032 desc:Targets the nearest undead monster and damages it to gain player mana.
1033
1034 spell:Crush:10:6:40:5
1035 effect:PROJECT_LOS:MON_CRUSH
1036 dice:$B
1037 expr:B:PLAYER_LEVEL:* 4
1038 effect:DAMAGE
1039 dice:d$S
1040 expr:S:PLAYER_LEVEL:* 2
1041 desc:Instantly kill any monster in line-of-sight with less than four times the
1042 desc: player's level in hitpoints, also hurting the player. Other monsters are
1043 desc: unharmed.
1044
1045 spell:Sleep Evil:12:5:50:5
1046 effect:PROJECT_LOS:SLEEP_EVIL
1047 dice:$B
1048 expr:B:PLAYER_LEVEL:* 10 + 500
1049 desc:Attempts to put to sleep each evil monster within line of sight.
1050 desc: Monsters that resist confusion are not affected.
1051
1052 spell:Shadow Shift:15:10:50:10
1053 effect:TELEPORT
1054 dice:30
1055 effect:DAMAGE
1056 dice:2d5
1057 effect-msg:shadow shifting
1058 desc:Displaces your spirit a short distance, hurting your body as it is
1059 desc: dragged along.
1060
1061 spell:Disenchant:16:12:50:15
1062 effect:BOLT:DISEN
1063 dice:2d$S
1064 expr:S:PLAYER_LEVEL:* 2 + 10
1065 desc:Casts a bolt which wounds, and makes spellcasting monsters less successful
1066 desc: in casting spells.
1067
1068 book:shadow book:town:[Fear and Torment]:5:shadow
1069 book-graphics:?:P
1070 book-properties:1600:20:30 to 100
1071
1072 spell:Frighten:17:4:40:12
1073 effect:BOLT_AWARE:TURN_ALL
1074 dice:$B
1075 expr:B:PLAYER_LEVEL:+ 0
1076 desc:Attempts to scare a single monster for a level-dependent duration.
1077 desc: Monsters that resist fear are not affected.
1078
1079 spell:Vampire Strike:20:5:50:10
1080 effect:JUMP_AND_BITE
1081 dice:$B
1082 expr:B:PLAYER_LEVEL:* 2
1083 desc:Teleports you to the nearest living monster and drains a level-dependent
1084 desc: number of hitpoints, healing and nourishing the player.
1085
1086 spell:Dispel Life:22:20:50:10
1087 effect:PROJECT_LOS_AWARE:MON_DRAIN
1088 dice:d$S
1089 expr:S:PLAYER_LEVEL:* 3
1090 desc:Inflicts unresistable damage on each living monster within line of sight.
1091
1092 spell:Dark Spear:25:10:60:12
1093 effect:LINE:DARK
1094 dice:2d$S
1095 expr:S:PLAYER_LEVEL:* 2
1096 desc:Fires a beam of darkness.
1097
1098 spell:Warg Form:28:20:60:80
1099 effect:SHAPECHANGE:warg
1100 desc:Changes you into the form of a warg, and gives you temporary berserk
1101 desc: strength, at the cost of some hitpoints.
1102
1103
1104 book:shadow book:dungeon:[Deadly Powers]:6:shadow
1105 book-graphics:?:p
1106 book-properties:30000:15:40 to 100
1107
1108 spell:Banish Spirits:25:25:80:25
1109 effect:PROJECT_LOS_AWARE:AWAY_SPIRIT
1110 dice:100
1111 desc:Teleports away each monster with a spirit within line of sight.
1112
1113 spell:Annihilate:30:20:75:25
1114 effect:BOLT:MON_DRAIN
1115 dice:$B
1116 expr:B:PLAYER_LEVEL:* 4
1117 desc:Inflicts damage equal to four times player level on a single monster that
1118 desc: is not undead, an elemental, a golem, or a vortex.
1119
1120 spell:Grond's Blow:35:35:80:115
1121 effect:DESTRUCTION:DARK:15
1122 desc:Destroys everything in a 15-square radius circle around you.
1123 desc: All monsters, objects, and terrain features in the area of
1124 desc: effect are destroyed, except stairs and permanent walls.
1125 desc: You will also be blinded for 10+1d10 turns, unless you
1126 desc: have resistance to blindness or dark.
1127 desc: This ritual has no effect when used in the town.
1128
1129 spell:Unleash Chaos:38:15:90:100
1130 effect:RANDOM
1131 dice:3
1132 effect:BEAM:CHAOS
1133 dice:8d$S
1134 expr:S:PLAYER_LEVEL:+ 0
1135 effect:ARC:CHAOS:0:10
1136 dice:8d$S
1137 expr:S:PLAYER_LEVEL:+ 0
1138 effect:BALL:CHAOS:3
1139 dice:8d$S
1140 expr:S:PLAYER_LEVEL:+ 0
1141 effect:WAKE
1142 effect:PROJECT_LOS:TURN_ALL
1143 dice:$B
1144 expr:B:PLAYER_LEVEL:+ 0
1145 desc:Fires a chaos beam, arc or ball in the chosen direction, wakes everything
1146 desc: in the area, and attempts to frighten everything in line of sight.
1147
1148 spell:Fume of Mordor:40:50:80:150
1149 effect:DARKEN_LEVEL
1150 dice:1
1151 desc:Darkens, maps out, and detects all objects on the complete current
1152 desc: dungeon level.
1153
1154 spell:Storm of Darkness:43:16:80:200
1155 effect:BALL:DARK:4
1156 dice:4d$S
1157 expr:S:PLAYER_LEVEL:* 2
1158 desc:Invokes a radius-4 darkness ball.
1159
1160
1161 book:shadow book:dungeon:[Corruption of Spirit]:5:shadow
1162 book-graphics:?:p
1163 book-properties:50000:10:60 to 100
1164
1165 spell:Power Sacrifice:27:0:20:20
1166 effect:DAMAGE
1167 dice:50
1168 effect-msg:self sacrifice
1169 effect:RESTORE_MANA
1170 dice:50
1171 desc:Exchanges 50 hitpoints for 50 mana.
1172
1173 spell:Zone of Unmagic:32:16:60:110
1174 effect:SPOT:DISEN:4
1175 dice:$B
1176 expr:B:PLAYER_LEVEL:* 3
1177 desc:Produces a zone of disenchantment affecting the player and monsters
1178 desc: within radius 4.
1179
1180 spell:Vampire Form:37:20:60:140
1181 effect:SHAPECHANGE:vampire
1182 effect:JUMP_AND_BITE
1183 dice:$B
1184 expr:B:PLAYER_LEVEL:+ 0
1185 desc:Allows you to assume the form of a vampire at the cost of half your
1186 desc: current hitpoints, than teleports you to the nearest living monster
1187 desc: and drains a level-dependent number of hitpoints, healing and nourishing
1188 desc: you. When first transformed you will temporarily be able
1189 desc: to take hitpoints from living monsters with your bite attack.
1190
1191 spell:Curse:40:50:60:180
1192 effect:DAMAGE
1193 dice:100
1194 effect-msg:performing a curse
1195 effect:CURSE
1196 dice:$Dd$S
1197 expr:D:PLAYER_LEVEL:/ 12 + 1
1198 expr:S:MONSTER_PERCENT_HP_GONE:+ 50
1199 desc:Deals direct damage to a single monster, more the more damaged the monster
1200 desc: is already, at the cost of 100 hitpoints.
1201
1202 spell:Command:45:40:60:250
1203 effect:COMMAND
1204 dice:5+1d10
1205 desc:Allows you to take control of a monster, and move it instead of yourself.
1206 desc: Possible actions are move, stand still, 'd'rop, 'm'agic, or 'r'elease.
1207
1208 ############### PALADIN ###############
1209 name:Paladin
1210 stats:1:-3:1:-1:2
1211 skill-disarm-phys:20:15
1212 skill-disarm-magic:20:10
1213 skill-device:24:10
1214 skill-save:25:11
1215 skill-stealth:0:0
1216 skill-search:10:12
1217 skill-melee:65:40
1218 skill-shoot:50:30
1219 skill-throw:50:30
1220 skill-dig:0:0
1221 hitdie:6
1222 max-attacks:5
1223 min-weight:30
1224 strength-multiplier:5
1225 equip:food:Ration of Food:1:3:none
1226 equip:light:Wooden Torch:1:3:none
1227 equip:sword:Main Gauche:1:1:none
1228 equip:scroll:Protection from Evil:1:1:none
1229 equip:scroll:Word of Recall:1:1:birth_no_recall
1230 equip:prayer book:[Novice's Handbook]:1:1:none
1231 player-flags:BLESS_WEAPON | SHIELD_BASH
1232 title:Gallant
1233 title:Keeper
1234 title:Protector
1235 title:Defender
1236 title:Warder
1237 title:Knight
1238 title:Guardian
1239 title:Chevalier
1240 title:Paladin
1241 title:Paladin Lord
1242
1243 magic:1:400:3
1244
1245 book:prayer book:town:[Novice's Handbook]:6:divine
1246
1247 spell:Bless:1:2:20:4
1248 effect:TIMED_INC:BLESSED
1249 dice:$B+d$S
1250 expr:B:PLAYER_LEVEL:+ 10
1251 expr:S:PLAYER_LEVEL:+ 10
1252 desc:Blesses you, giving a bonus of +5 to AC and +10 to-hit, for a
1253 desc: level-dependent number of turns.
1254
1255 spell:Detect Evil:3:2:10:4
1256 effect:DETECT_EVIL
1257 effect-yx:22:40
1258 desc:Detects all evil monsters in the immediate area,
1259 desc: for one turn only.
1260
1261 spell:Call Light:5:3:10:2
1262 effect:LIGHT_AREA
1263 effect:SPOT:LIGHT_WEAK:1:10
1264 dice:2d$S
1265 expr:S:PLAYER_LEVEL:/ 2
1266 desc:Lights up all squares in a level-dependent area, and hurts
1267 desc: all light-sensitive monsters in the area of effect.
1268 desc: If you are in a room, the entire room will be lit up as well.
1269
1270 spell:Minor Healing:7:3:15:4
1271 effect:HEAL_HP
1272 dice:$B+m$M
1273 expr:B:PLAYER_LEVEL:+ 10
1274 expr:M:PLAYER_LEVEL:/ 4
1275 effect:TIMED_DEC:CUT
1276 dice:20
1277 effect:TIMED_DEC:STUN
1278 dice:20
1279 desc:Heals a level-dependent amount or percentage of hitpoints, and
1280 desc: cures 20 points worth of cuts and of stunning.
1281
1282 spell:Sense Invisible:8:4:25:4
1283 effect:TIMED_INC:SINVIS
1284 dice:24+d24
1285 desc:Enables you to see invisible monsters for 24+1d24 turns.
1286
1287 spell:Heroism:12:5:30:5
1288 effect:HEAL_HP
1289 dice:10
1290 effect:CURE:AFRAID
1291 effect:TIMED_INC:HERO
1292 dice:$B+d$S
1293 expr:B:PLAYER_LEVEL:- 14
1294 expr:S:PLAYER_LEVEL:- 14
1295 desc:Cures 10 points of damage, removes fear and, from character level 15,
1296 desc: grants you heroism (resistance to fear, and a bonus of +12 to-hit)
1297 desc: for a level-dependent duration.
1298
1299 book:prayer book:dungeon:[Healing and Sanctuary]:5:divine
1300
1301 spell:Protection from Evil:15:8:42:5
1302 effect:TIMED_INC:PROTEVIL
1303 dice:$B+d25
1304 expr:B:PLAYER_LEVEL:* 3
1305 desc:Protects you from evil for a level-dependent duration:
1306 desc: all melee attacks by evil monsters have a chance to be repelled,
1307 desc: unless the monster's level is higher than your character level.
1308
1309 spell:Remove Curse:20:12:38:8
1310 effect:REMOVE_CURSE
1311 dice:$B+d$S
1312 expr:B:PLAYER_LEVEL:+ 0
1313 expr:S:PLAYER_LEVEL:+ 0
1314 desc:Attempts to remove a curse from an item, more effective at higher
1315 desc: character levels.
1316
1317 spell:Word of Recall:25:30:75:10
1318 effect:RECALL
1319 desc:Teleports you from the dungeon to the town or from the town to the
1320 desc: deepest level you have visited in the dungeon.
1321 desc: The recall effect is not immediate; it is delayed by 14+1d20 turns.
1322 desc: During that delay, the prayer can be canceled by invoking the prayer
1323 desc: of recall again.
1324 desc: This prayer has no effect when the option to restrict the use of
1325 desc: stairs and recall is set, unless Morgoth is dead.
1326
1327 spell:Healing:30:50:80:100
1328 effect:HEAL_HP
1329 dice:2000
1330 effect:CURE:CUT
1331 effect:CURE:POISONED
1332 effect:CURE:STUN
1333 effect:CURE:AMNESIA
1334 desc:Heals 2000 points of damage and cures all stunning, cuts, poison
1335 desc: and amnesia.
1336
1337 spell:Clairvoyance:37:50:80:150
1338 effect:LIGHT_LEVEL
1339 desc:Lights up, maps out, and senses all objects on the complete current
1340 desc: dungeon level.
1341
1342 book:prayer book:dungeon:[Battle Blessings]:5:divine
1343
1344 spell:Smite Evil:25:20:70:40
1345 effect:TIMED_INC:ATT_EVIL:0:5
1346 dice:20+d20
1347 desc:Temporarily makes your melee attacks slay evil creatures.
1348
1349 spell:Demon Bane:30:40:80:150
1350 effect:TIMED_INC:ATT_DEMON:0:5
1351 dice:20+d20
1352 desc:Temporarily makes your melee attacks powerfully slay demons.
1353
1354 spell:Enchant Weapon:35:50:80:230
1355 effect:ENCHANT:TOBOTH
1356 dice:1d4
1357 desc:Attempts to improve the to-hit bonus and the to-dam bonus of a weapon.
1358
1359 spell:Enchant Armour:37:60:85:250
1360 effect:ENCHANT:TOAC
1361 dice:1+1d3
1362 desc:Attempts to improve the armour class bonus of a piece of armour.
1363
1364 spell:Single Combat:40:50:30:300
1365 effect:SINGLE_COMBAT
1366 desc:Encases you and the targeted monster in a stone cell from which only the
1367 desc: winner can emerge.
1368
1369
1370 ############### ROGUE ###############
1371 name:Rogue
1372 stats:0:1:-3:3:-1
1373 skill-disarm-phys:45:20
1374 skill-disarm-magic:45:20
1375 skill-device:32:10
1376 skill-save:28:10
1377 skill-stealth:3:1
1378 skill-search:20:16
1379 skill-melee:35:45
1380 skill-shoot:66:30
1381 skill-throw:72:45
1382 skill-dig:0:0
1383 hitdie:4
1384 max-attacks:5
1385 min-weight:20
1386 strength-multiplier:4
1387 equip:food:Ration of Food:1:3:none
1388 equip:light:Wooden Torch:1:3:none
1389 equip:sword:Dagger:1:1:none
1390 equip:soft armour:Soft Leather Armour:1:1:none
1391 equip:scroll:Word of Recall:1:1:birth_no_recall
1392 equip:magic book:[First Spells]:1:1:none
1393 player-flags:CHOOSE_SPELLS | STEAL
1394 title:Vagabond
1395 title:Cutpurse
1396 title:Footpad
1397 title:Robber
1398 title:Burglar
1399 title:Filcher
1400 title:Sharper
1401 title:Rogue
1402 title:Thief
1403 title:Master Thief
1404
1405 magic:5:350:2
1406
1407 book:magic book:town:[First Spells]:7:arcane
1408
1409 spell:Detect Monsters:5:1:50:4
1410 effect:DETECT_VISIBLE_MONSTERS
1411 effect-yx:22:40
1412 desc:Detects all non-invisible monsters in the immediate area,
1413 desc: for one turn only.
1414
1415 spell:Phase Door:7:2:55:4
1416 effect:TELEPORT
1417 dice:10
1418 desc:Teleports you randomly up to 10 squares away.
1419
1420 spell:Object Detection:10:3:60:5
1421 effect:DETECT_GOLD
1422 effect-yx:22:40
1423 effect:DETECT_OBJECTS
1424 effect-yx:22:40
1425 desc:Detects all objects in the immediate area.
1426
1427 spell:Detect Stairs:12:3:50:5
1428 effect:DETECT_STAIRS
1429 effect-yx:44:60
1430 desc:Detects all stairs in a wide area.
1431
1432 spell:Recharging:20:10:50:6
1433 effect:RECHARGE
1434 dice:$B
1435 expr:B:PLAYER_LEVEL:/ 10 + 4
1436 desc:Adds charges to a stack of wands or staves.
1437 desc: Chance of success and number of charges gained increase with your
1438 desc: level and decrease with level of wand or staff and number of charges.
1439 desc: A failed attempt to recharge destroys one wand or staff from the stack.
1440
1441 spell:Reveal Monsters:25:3:40:8
1442 effect:DETECT_INVISIBLE_MONSTERS
1443 effect-yx:22:40
1444 effect:DETECT_VISIBLE_MONSTERS
1445 effect-yx:22:40
1446 desc:Detects all monsters in the immediate area, for one turn only.
1447
1448 book:magic book:dungeon:[Arcane Control]:4:arcane
1449
1450 spell:Teleport Self:17:6:35:5
1451 effect:TELEPORT
1452 dice:M$M
1453 expr:M:PLAYER_LEVEL:* 9 / 5
1454 desc:Teleports you randomly within the current level.
1455
1456 spell:Hit and Run:23:20:40:20
1457 effect:TIMED_INC:ATT_RUN
1458 dice:10
1459 desc:Prepares you to teleport a short distance after stealing from a monster.
1460
1461 spell:Teleport Other:30:10:30:50
1462 effect:BOLT_STATUS:AWAY_ALL
1463 dice:$B
1464 expr:B:PLAYER_LEVEL:* 3
1465 desc:Produces a bolt that teleports away the first monster in its path.
1466 desc: Distance teleported increases with player level.
1467
1468 spell:Teleport Level:35:17:65:80
1469 effect:TELEPORT_LEVEL
1470 desc:Teleports you 1 level up or 1 level down (chosen at random).
1471 desc: This spell may have no effect when the forced descent option is set.
1472
1473
1474 ############### RANGER ###############
1475 name:Ranger
1476 stats:0:0:2:1:-1
1477 skill-disarm-phys:40:15
1478 skill-disarm-magic:30:10
1479 skill-device:28:10
1480 skill-save:32:10
1481 skill-stealth:3:0
1482 skill-search:15:15
1483 skill-melee:60:40
1484 skill-shoot:72:45
1485 skill-throw:66:30
1486 skill-dig:0:0
1487 hitdie:5
1488 max-attacks:5
1489 min-weight:35
1490 strength-multiplier:4
1491 equip:food:Ration of Food:1:3:none
1492 equip:light:Wooden Torch:1:3:none
1493 equip:sword:Main Gauche:1:1:none
1494 equip:bow:Short Bow:1:1:none
1495 equip:arrow:Arrow:15:20:none
1496 equip:scroll:Word of Recall:1:1:birth_no_recall
1497 equip:nature book:[Lesser Charms]:1:1:none
1498 player-flags:FAST_SHOT | CHOOSE_SPELLS
1499 title:Runner
1500 title:Strider
1501 title:Scout
1502 title:Courser
1503 title:Tracker
1504 title:Guide
1505 title:Explorer
1506 title:Pathfinder
1507 title:Ranger
1508 title:Ranger Lord
1509
1510 magic:3:400:2
1511
1512 book:nature book:town:[Lesser Charms]:6:nature
1513
1514 spell:Remove Hunger:3:1:25:2
1515 effect:NOURISH:INC_TO
1516 dice:50
1517 desc:Magically renders you comfortably fed (but not satiated).
1518
1519 spell:Detect Life:5:2:23:2
1520 effect:DETECT_LIVING_MONSTERS
1521 effect-yx:22:40
1522 desc:Detects all living monsters in the immediate area, for one turn only.
1523
1524 spell:Herbal Curing:9:6:30:4
1525 effect:CURE:CUT
1526 effect:CURE:POISONED
1527 effect:CURE:STUN
1528 effect:CURE:BLACKBREATH
1529 desc:Cures all cuts, poison, stunning and black breath.
1530
1531 spell:Resist Poison:12:10:32:5
1532 effect:TIMED_INC:OPP_POIS
1533 dice:20+d20
1534 desc:Grants you resistance to poison for 20+1d20 turns.
1535
1536 spell:Turn Stone to Mud:15:5:25:5
1537 effect:LINE:KILL_WALL
1538 dice:20+1d30
1539 desc:Produces a beam that destroys the first section of wall it hits,
1540 desc: unless it is a permanent wall. Each monster caught in the beam that
1541 desc: is susceptible to rock remover takes 20+1d30 points of damage.
1542
1543 spell:Sense Surroundings:20:8:35:8
1544 effect:MAP_AREA
1545 dice:$Dd$S
1546 expr:D:PLAYER_LEVEL:/ 30 + 1 * 22
1547 expr:S:PLAYER_LEVEL:/ 30 + 1 * 44
1548 desc:Maps the nearby area.
1549
1550
1551 book:nature book:dungeon:[Nature Craft]:5:nature
1552
1553 spell:Cover Tracks:20:20:40:40
1554 effect:TIMED_INC:COVERTRACKS:0:5
1555 dice:$B+d20
1556 expr:B:PLAYER_LEVEL:* 2
1557 desc:Prevents you from leaving scent for monsters to track you by for a
1558 desc: level-dependent duration.
1559
1560 spell:Create Arrows:22:20:40:40
1561 effect:CREATE_ARROWS
1562 desc:Allows the player to turn a staff into a stack of arrows, with quality
1563 desc: depending on staff level and player level.
1564
1565 spell:Haste Self:25:12:65:15
1566 effect:TIMED_INC:FAST:0:5
1567 dice:$B+d20
1568 expr:B:PLAYER_LEVEL:+ 0
1569 desc:Hastes you (+10 to speed) for a level-dependent duration.
1570
1571 spell:Decoy:30:30:40:60
1572 effect:GLYPH:DECOY
1573 desc:Leaves a magical decoy that looks and sounds like the player.
1574
1575 spell:Brand Ammunition:40:60:95:120
1576 effect:BRAND_AMMO
1577 desc:Brands one stack of ammunition with fire, cold, or poison
1578 desc: (selected at random) and at the same time attempts to improve
1579 desc: the to-hit bonus and the to-dam bonus of the same ammunition.
1580 desc: The spell has no effect if the ammunition is already branded, has a
1581 desc: slay, is broken, or is cursed.
1582
1583
1584 ############### BLACKGUARD ###############
1585 name:Blackguard
1586 stats:2:0:-3:0:2
1587 skill-disarm-phys:20:15
1588 skill-disarm-magic:20:10
1589 skill-device:24:10
1590 skill-save:18:10
1591 skill-stealth:-1:-1
1592 skill-search:8:10
1593 skill-melee:65:40
1594 skill-shoot:35:15
1595 skill-throw:40:30
1596 skill-dig:0:0
1597 hitdie:8
1598 max-attacks:5
1599 min-weight:100
1600 strength-multiplier:5
1601 equip:shadow book:[Into the Shadows]:1:1:none
1602 equip:food:Ration of Food:1:3:none
1603 equip:light:Wooden Torch:1:3:none
1604 equip:sword:Tulwar:1:1:none
1605 equip:shield:Leather Shield:1:1:none
1606 equip:scroll:Word of Recall:1:1:birth_no_recall
1607 equip:potion:Cure Light Wounds:1:1:none
1608 obj-flags:IMPAIR_HP
1609 player-flags:CHOOSE_SPELLS | SHIELD_BASH | COMBAT_REGEN
1610 title:Rat
1611 title:Bully
1612 title:Thug
1613 title:Ruffian
1614 title:Brigand
1615 title:Raider
1616 title:Tormentor
1617 title:Marauder
1618 title:Destroyer
1619 title:Tyrant
1620
1621 magic:1:600:3
1622
1623 book:shadow book:town:[Into the Shadows]:6:shadow
1624
1625 spell:Seek Battle:1:1:15:2
1626 effect:DETECT_FEARFUL_MONSTERS
1627 effect-yx:22:40
1628 desc:Detects all monsters susceptible to fear in the immediate area,
1629 desc: for one turn only.
1630
1631 spell:Berserk Strength:3:2:20:4
1632 effect:CURE:AFRAID
1633 effect:TIMED_INC:SHERO:0:5
1634 dice:$B+d$S
1635 expr:B:PLAYER_LEVEL:+ 5
1636 expr:S:PLAYER_LEVEL:+ 5
1637 desc:Removes fear and grants you berserk strength (resistance to fear,
1638 desc: +75 melee skill, -10 to AC, and prevents healing
1639 desc: over time) for a level-dependent duration.
1640
1641 spell:Whirlwind Attack:5:4:25:6
1642 effect:SWEEP
1643 dice:$S
1644 expr:S:PLAYER_LEVEL:+ 10 / 15
1645 desc:Deals a level-dependent number of melee blows to each adjacent enemy.
1646 desc: At level 5 you do one blow and gain an additional blow every 15
1647 desc: levels (2 at 20, 3 at 35, and 4 at 50).
1648
1649 spell:Shatter Stone:7:3:20:8
1650 effect:SHORT_BEAM:KILL_WALL:1
1651 dice:20+1d30
1652 desc:Destroys an adjacent section of wall or rubble, unless it is a permanent
1653 desc: wall. Deals 20+1d30 damage to monsters vulnerable to rock remover.
1654
1655 spell:Leap into Battle:10:5:30:10
1656 effect:MOVE_ATTACK
1657 dice:$B
1658 expr:B:PLAYER_LEVEL:+ 5 / 15
1659 desc:You run up to 4 spaces towards targeted enemy, then perform a
1660 desc: melee blow. You gain an additional blow at levels 25 and 40. If you
1661 desc: moved, the number of blows is reduced by 25% for each space, then rounded.
1662
1663 spell:Grim Purpose:13:8:30:12
1664 effect:SET_VALUE
1665 dice:12+d12
1666 effect:TIMED_INC:OPP_CONF
1667 effect:TIMED_INC:FREE_ACT
1668 effect:CLEAR_VALUE
1669 desc:Your mind becomes too focused to be slowed, paralyzed or confused
1670 desc: for 12+d12 turns.
1671
1672 book:shadow book:town:[Fear and Torment]:5:shadow
1673
1674 spell:Maim Foe:15:6:35:14
1675 effect:MELEE_BLOWS:MON_STUN:6
1676 dice:$S
1677 expr:S:PLAYER_LEVEL:/ 15
1678 desc:Attempts a level-dependent number of melee blows against the targeted
1679 desc: enemy. You get 1 blow for every 15 levels. If any of these blows
1680 desc: damage the enemy, it will be stunned for 6 turns.
1681
1682 spell:Howl of the Damned:18:8:30:16
1683 effect:PROJECT_LOS:TURN_ALL
1684 dice:$B
1685 expr:B:PLAYER_LEVEL:+ 0
1686 desc:Attempts to scare every monster in line of sight for a duration dependent
1687 desc: on player level and monster depth. Monsters that resist fear are not
1688 desc: affected.
1689
1690 spell:Relentless Taunting:24:10:32:20
1691 effect:TIMED_INC:TAUNT
1692 dice:12+d12
1693 desc:Makes any monster that can move more inclined to run toward you, and less
1694 desc: likely to use a ranged attack (including spells and innate abilities).
1695
1696 spell:Venom:28:18:35:30
1697 effect:TIMED_INC:ATT_POIS:0:5
1698 dice:18+d18
1699 desc:Coats all your melee weapons with poison for 18+d18 turns.
1700
1701 spell:Werewolf Form:32:30:40:100
1702 effect:SHAPECHANGE:werewolf
1703 desc:With a blood-curdling cry you change into a half-man half-wolf!
1704 desc: In this form you move, attack, and heal faster.
1705
1706 book:shadow book:dungeon:[Deadly Powers]:4:shadow
1707
1708 spell:Bloodlust:30:25:37:80
1709 effect:TIMED_INC:BLOODLUST:0:-1
1710 dice:10
1711 desc:Gives you a powerful desire to kill, increased every time you satisfy it.
1712 desc: Gives you extra melee damage and extra blows, but comes
1713 desc: with dangerous side-effects.
1714
1715 spell:Unholy Reprieve:34:45:60:120
1716 effect:RESTORE_STAT:STR
1717 effect:RESTORE_STAT:INT
1718 effect:RESTORE_STAT:CON
1719 effect:RESTORE_EXP
1720 effect:DAMAGE
1721 dice:66
1722 desc:Restores STR, INT, CON, and experience at the cost of 66 HP.
1723
1724 spell:Forceful Blow:38:16:50:150
1725 effect:MELEE_BLOWS:FORCE:200
1726 dice:1
1727 desc:Attempts a melee blow that deals additional force damage when it hits,
1728 desc: knocking the target back with a chance to stun it.
1729
1730 spell:Quake:44:39:55:175
1731 effect:EARTHQUAKE:NONE:13
1732 desc:Causes a radius 13 earthquake centered around the player.