PageRenderTime 46ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/src/list-effects.h

https://github.com/NickMcConnell/Beleriand
C Header | 362 lines | 349 code | 2 blank | 11 comment | 0 complexity | 5dbe2a589f2108319232516c748c8943 MD5 | raw file
  1. /*
  2. * File: list-effects.h
  3. * Purpose: List of effect types
  4. */
  5. /*
  6. * "rating" is the power rating for an item activation, as a damage-per-blow
  7. * equivalent (x2). These ratings are used in the calculation of the power (and
  8. * therefore cost) of an item which has the effect as an activation, but NOT
  9. * for other items (e.g. potions, scrolls). Hence the use of INIHIBIT_POWER.
  10. */
  11. /* name aim? rating short description */
  12. EFFECT(XXX, FALSE, 0, NULL, 0, 0)
  13. EFFECT(POISON1, FALSE, 0, "poisons you for 12-20 turns", 0, 0)
  14. EFFECT(POISON2, FALSE, 0, "poisons you for 20-30 turns", 0, 0)
  15. EFFECT(BLIND1, FALSE, 0, "blinds you for 1d200+200 turns", 0, 0)
  16. EFFECT(BLIND2, FALSE, 0, "blinds you for 1d100+100 turns", 0, 0)
  17. EFFECT(SCARE, FALSE, 0, "induces fear in you for 1d10+10 turns", 0, 0)
  18. EFFECT(CONFUSE1, FALSE, 0, "confuses you for 1d10+10 turns", 0, 0)
  19. EFFECT(CONFUSE2, FALSE, 0, "confuses you for 1d20+15 turns", 0, 0)
  20. EFFECT(HALLUC, FALSE, 0, "causes you to hallucinate for 1d250 + 250 turns", 0, 0)
  21. EFFECT(PARALYSE, FALSE, 0, "induces paralysis for 1d10+10 turns", 0, 0)
  22. EFFECT(WEAKNESS, FALSE, 0, "reduces your strength with damage 6d6", 0, 0)
  23. EFFECT(SICKNESS, FALSE, 0, "reduces your constitution with damage 6d6", 0, 0)
  24. EFFECT(STUPIDITY, FALSE, 0, "reduces your intelligence with damage 8d8", 0, 0)
  25. EFFECT(NAIVETY, FALSE, 0, "reduces your wisdom with damage 8d8", 0, 0)
  26. EFFECT(UNHEALTH, FALSE, 0, "reduces your constitution with damage 10d10", 0, 0)
  27. EFFECT(DISEASE, FALSE, 0, "reduces your strength with damage 10d10", 0, 0)
  28. EFFECT(DETONATIONS, FALSE, 0, "inflicts 50d20 points of damage, severe cuts, and stunning", 0, 0)
  29. EFFECT(DEATH, FALSE, 0, "reduces your hitpoints to zero", 0, 0)
  30. EFFECT(SLOWNESS1, FALSE, 0, "slows you for 1d25+15 turns", 0, 0)
  31. EFFECT(SALT_WATER, FALSE, 0, "induces vomiting and paralysis for 4 turns, resulting in severe hunger but also curing poison", 0, 0)
  32. EFFECT(SLEEP, FALSE, 0, "induces paralysis for 1d4+4 turns", 0, 0)
  33. EFFECT(LOSE_MEMORIES, FALSE, 0, "drains a quarter of your experience", 0, 0)
  34. EFFECT(RUINATION, FALSE, 0, "inflicts 5d10 points of damage and decreases all your stats", 0, 0)
  35. EFFECT(DEC_STR, FALSE, 0, "reduces your strength", 0, 0)
  36. EFFECT(DEC_INT, FALSE, 0, "reduces your intelligence", 0, 0)
  37. EFFECT(DEC_WIS, FALSE, 0, "reduces your wisdom", 0, 0)
  38. EFFECT(DEC_DEX, FALSE, 0, "reduces your dexterity", 0, 0)
  39. EFFECT(DEC_CON, FALSE, 0, "reduces your constitution", 0, 0)
  40. EFFECT(DEC_CHR, FALSE, 0, "reduces your charisma", 0, 0)
  41. EFFECT(AGGRAVATE, FALSE, 0, "awakens all nearby sleeping monsters", 0, 0)
  42. EFFECT(CURSE_ARMOR, FALSE, 0, "curses your currently worn body armor", 0, 0)
  43. EFFECT(CURSE_WEAPON, FALSE, 0, "curses your currently wielded melee weapon", 0, 0)
  44. EFFECT(SUMMON3, FALSE, 0, "summons monsters at the current dungeon level", 0, 0)
  45. EFFECT(SUMMON_UNDEAD, FALSE, 0, "summons undead monsters at the current dungeon level", 0, 0)
  46. EFFECT(TRAP_CREATION, FALSE, 0, "creates traps surrounding you", 0, 0)
  47. EFFECT(DARKNESS, FALSE, 0, "darkens the nearby area and blinds you for 1d5+3 turns", 0, 0)
  48. EFFECT(SLOWNESS2, FALSE, 0, "slows you for 1d30+15 turns", 0, 0)
  49. EFFECT(HASTE_MONSTERS, FALSE, 0, "hastes all monsters within line of sight", 0, 0)
  50. EFFECT(SUMMON4, FALSE, 0, "summons monsters at the current dungeon level", 0, 0)
  51. EFFECT(HEAL_MONSTER, TRUE, 0, "heals a single monster 4d6 hit points", 0, 0)
  52. EFFECT(HASTE_MONSTER, TRUE, 0, "hastes a single monster", 0, 0)
  53. EFFECT(CLONE_MONSTER, TRUE, 0, "hastes, heals, and magically duplicates a single monster", 0, 0)
  54. EFFECT(ROUSE_LEVEL, FALSE, 0, "awakens and hastes every monster on the level", 0, 0)
  55. EFFECT(CURE_POISON, FALSE, 1, "neutralizes poison", 0, 0)
  56. EFFECT(CURE_BLINDNESS, FALSE, 4, "cures blindness", 0, 0)
  57. EFFECT(CURE_PARANOIA, FALSE, 2, "removes your fear", 0, 0)
  58. EFFECT(CURE_CONFUSION, FALSE, 4, "cures confusion", 0, 0)
  59. EFFECT(CURE_SMALL, FALSE, 3, "restores 4d8 hitpoints", 0, 0)
  60. EFFECT(RES_STR, FALSE, 10, "restores your strength", 0, 0)
  61. EFFECT(RES_INT, FALSE, 8, "restores your intelligence", 0, 0)
  62. EFFECT(RES_WIS, FALSE, 8, "restores your wisdom", 0, 0)
  63. EFFECT(RES_DEX, FALSE, 9, "restores your dexterity", 0, 0)
  64. EFFECT(RES_CON, FALSE, 10, "restores your constitution", 0, 0)
  65. EFFECT(RES_CHR, FALSE, 4, "restores your charisma", 0, 0)
  66. EFFECT(RESTORING, FALSE, 15, "restores all your stats", 0, 0)
  67. EFFECT(FOOD_ATHELAS, FALSE, 15, "heals you of poison, stunning, cuts and the Black Breath", 0, 0)
  68. EFFECT(FOOD_BEORNING, FALSE, 3, "restores 5d8 hitpoints", 0, 0)
  69. EFFECT(FOOD_GOOD, FALSE, 0, NULL, 0, 0)
  70. EFFECT(FOOD_WAYBREAD, FALSE, 5, "restores 5d10 hit points and halves poison", 0, 0)
  71. EFFECT(DRINK_GOOD, FALSE, 0, NULL, 0, 0)
  72. EFFECT(CURE_LIGHT, FALSE, 3, "restores 2d10 hitpoints, heals a little cut damage and cures blindness", 0, 0)
  73. EFFECT(CURE_SERIOUS, FALSE, 6, "restores 4d10 hitpoints, heals some cut damage, and cures blindness and confusion", 0, 0)
  74. EFFECT(CURE_CRITICAL, FALSE, 10, "restores 6d10 hitpoints, heals considerable cut damage, reduces poisoning by over a half, and cures stunning, blindness, and confusion", 0, 0)
  75. EFFECT(HEALING1, FALSE, 11, "restores 300 hitpoints and cures cuts and stunning", 0, 0)
  76. EFFECT(HEALING2, FALSE, 12, "restores 500 hitpoints and cures cuts and stunning", 0, 0)
  77. EFFECT(HEALING3, FALSE, 12, "restores 300 hitpoints, considerably reduces poison and heals cut damage, stunning, blindness, and confusion", 0, 0)
  78. EFFECT(HEALING4, FALSE, 18, "restores 600 hit points, heals cut damage, and cures stunning, poisoning, blindness, confusion and the Black Breath", 0, 0)
  79. EFFECT(LIFE, FALSE, 22, "restores 2000 hit points, restores experience and stats, heals cut damage, and cures stunning, poison, blindness, confusion, hallucination and the Black Breath", 0, 0)
  80. EFFECT(INFRAVISION, FALSE, 4, "extends your infravision by 50 feet for 1d100+100 turns", 0, 0)
  81. EFFECT(SEE_INVIS, FALSE, 5, "allows you to see invisible things for 1d12+12 turns", 0, 0)
  82. EFFECT(SLOW_POISON, FALSE, 1, "halves poisoning", 0, 0)
  83. EFFECT(SPEED1, FALSE, 9, "hastens you for 1d20+15 turns", 0, 0)
  84. EFFECT(RES_HEAT_COLD, FALSE, 7, "grants temporary resistance to fire and cold for 1d30+20 turns", 0, 0)
  85. EFFECT(RES_ACID_ELEC, FALSE, 7, "grants temporary resistance to acid and electricity for 1d30+20 turns", 0, 0)
  86. EFFECT(RESIST_ALL, FALSE, 10, "grants temporary resistance to acid, electricity, fire, cold and poison for 1d25+15 turns", 0, 0)
  87. EFFECT(HEROISM, FALSE, 7, "restores 10 hit points, removes fear and grants you resistance to fear, +10 to-skill and +5 to-deadliness for 1d25+25 turns", 0, 0)
  88. EFFECT(BERSERK_STR, FALSE, 9, "puts you in a berserker rage for d25+25 turns", 0, 0)
  89. EFFECT(RESTORE_MANA, FALSE, 20, "restores your mana points to maximum", 0, 0)
  90. EFFECT(RESTORE_EXP, FALSE, 8, "restores your experience", 0, 0)
  91. EFFECT(INC_STR, FALSE, INHIBIT_POWER, "restores and increases your strength up to a point", 0, 0)
  92. EFFECT(INC_INT, FALSE, INHIBIT_POWER, "restores and increases your intelligence up to a point", 0, 0)
  93. EFFECT(INC_WIS, FALSE, INHIBIT_POWER, "restores and increases your wisdom up to a point", 0, 0)
  94. EFFECT(INC_DEX, FALSE, INHIBIT_POWER, "restores and increases your dexterity up to a point", 0, 0)
  95. EFFECT(INC_CON, FALSE, INHIBIT_POWER, "restores and increases your constitution up to a point", 0, 0)
  96. EFFECT(INC_CHR, FALSE, INHIBIT_POWER, "restores and increases your charisma up to a point", 0, 0)
  97. EFFECT(STAR_INC_STR, FALSE, INHIBIT_POWER, "restores and increases your strength", 0, 0)
  98. EFFECT(STAR_INC_INT, FALSE, INHIBIT_POWER, "restores and increases your intelligence", 0, 0)
  99. EFFECT(STAR_INC_WIS, FALSE, INHIBIT_POWER, "restores and increases your wisdom", 0, 0)
  100. EFFECT(STAR_INC_DEX, FALSE, INHIBIT_POWER, "restores and increases your dexterity", 0, 0)
  101. EFFECT(STAR_INC_CON, FALSE, INHIBIT_POWER, "restores and increases your constitution", 0, 0)
  102. EFFECT(STAR_INC_CHR, FALSE, INHIBIT_POWER, "restores and increases your charisma", 0, 0)
  103. EFFECT(AUGMENTATION, FALSE, INHIBIT_POWER, "restores and increases all your stats", 0, 0)
  104. EFFECT(ENLIGHTENMENT1, FALSE, 22, "completely lights up and magically maps the level", 0, 0)
  105. EFFECT(ENLIGHTENMENT2, FALSE, INHIBIT_POWER, "increases your intelligence and wisdom, detects and maps everything in the surrounding area, and identifies all items in your pack", 0, 0)
  106. EFFECT(EXPERIENCE, FALSE, INHIBIT_POWER, "grants half your current experience points, to a maximum of 100,000", 0, 0)
  107. EFFECT(VAMPIRE, FALSE, 5, "changes you into a vampire, dealing 3d6 damage; holy and natural casters do not change and take 10d6 damage", 0, 0)
  108. EFFECT(PHASE_DOOR, FALSE, 5, "teleports you randomly up to 10 squares away", 0, 0)
  109. EFFECT(TELEPORT100, FALSE, 6, "teleports you randomly up to 100 squares away", 0, 0)
  110. EFFECT(TELEPORT_LEVEL, FALSE, 15, "teleports you one level up or down", 0, 0)
  111. EFFECT(RECALL, FALSE, 15, "returns you to a recall point or takes you to a recall point after a short delay", 0, 0)
  112. EFFECT(IDENTIFY, FALSE, 9, "reveals to you the extent of an item's magical powers", 0, 0)
  113. EFFECT(REVEAL_CURSES, FALSE, 15, "reveals to you the extent of an item's magical powers and curses", 0, 0)
  114. EFFECT(BRANDING, FALSE, 20, "brands a stack of missiles", 0, 0)
  115. EFFECT(FRIGHTENING, TRUE, 3, "attempts to induce magical fear in a single monster", 0, 0)
  116. EFFECT(REMOVE_CURSE, FALSE, 10, "attempts to remove curses from an item", 0, 0)
  117. EFFECT(REM_CURSE_GOOD, FALSE, 15, "makes multiple attempts to remove curses from an item", 0, 0)
  118. EFFECT(ENCHANT_ARMOR1, FALSE, 12, "attempts to magically enhance a piece of armour", 0, 0)
  119. EFFECT(ENCHANT_ARMOR2, FALSE, 15, "attempts to magically enhance a piece of armour with high chance of success", 0, 0)
  120. EFFECT(ENCHANT_TO_HIT, FALSE, 20, "attempts to magically enhance a weapon's to-skill bonus", 0, 0)
  121. EFFECT(ENCHANT_TO_DAM, FALSE, 20, "attempts to magically enhance a weapon's to-deadliness bonus", 0, 0)
  122. EFFECT(ENCHANT_WEAPON, FALSE, 25, "attempts to magically enhance a weapon both to-skill and to-deadliness", 0, 0)
  123. EFFECT(RECHARGING1, FALSE, 12, "tries to recharge a wand or staff, destroying the wand or staff on failure", 0, 0)
  124. EFFECT(RECHARGING2, FALSE, 15, "tries to recharge a wand or staff, destroying the wand or staff on failure", 0, 0)
  125. EFFECT(LIGHT, FALSE, 4, "lights up an area and inflicts 2d8 damage on light-sensitive creatures", 0, 0)
  126. EFFECT(MAPPING, FALSE, 10, "maps the area around you", 0, 0)
  127. EFFECT(DETECT_GOLD, FALSE, 3, "detects gold and precious minerals nearby", 0, 0)
  128. EFFECT(DETECT_ITEM, FALSE, 6, "detects objects nearby", 0, 0)
  129. EFFECT(DETECT_TRAP, FALSE, 6, "detects traps nearby", 0, 0)
  130. EFFECT(DETECT_DOOR, FALSE, 6, "detects doors and stairs nearby", 0, 0)
  131. EFFECT(DETECT_INVIS, FALSE, 6, "detects invisible creatures nearby", 0, 0)
  132. EFFECT(SATISFY_HUNGER, FALSE, 7, "magically renders you well-fed", 0, 0)
  133. EFFECT(BLESSING1, FALSE, 6, "increases your AC and to-hit bonus for 1d12+6 turns", 0, 0)
  134. EFFECT(BLESSING2, FALSE, 7, "increases your AC and to-hit bonus for 1d24+12 turns", 0, 0)
  135. EFFECT(BLESSING3, FALSE, 8, "increases your AC and to-hit bonus for 1d48+24 turns", 0, 0)
  136. EFFECT(MONSTER_CONFU, FALSE, 8, "causes your next attack upon a monster to confuse it", 0, 0)
  137. EFFECT(PROT_FROM_EVIL, FALSE, 6, "grants you protection from evil for 1d25 plus 3 times your character level turns", 0, 0)
  138. EFFECT(RUNE_PROTECT, FALSE, 20, "inscribes a glyph of warding beneath you, which monsters cannot move onto", 0, 0)
  139. EFFECT(DOOR_DESTRUCT, FALSE, 4, "destroys adjacent doors", 0, 0)
  140. EFFECT(DESTRUCTION, FALSE, 20, "destroys an area around you in the shape of a circle radius 15, and blinds you for 1d10+10 turns", 0, 0)
  141. EFFECT(DISPEL_UNDEAD, FALSE, 4, "deals 60 damage to all undead creatures that you can see", 0, 0)
  142. EFFECT(GENOCIDE, FALSE, 20, "removes all non-unique monsters represented by a chosen symbol from the level, dealing you damage in the process", 0, 0)
  143. EFFECT(MASS_GENOCIDE, FALSE, 25, "removes all non-unique monsters within 20 squares, dealing you damage in the process", 0, 0)
  144. EFFECT(ACQUIREMENT1, FALSE, INHIBIT_POWER, "creates a good object nearby", 0, 0)
  145. EFFECT(ACQUIREMENT2, FALSE, INHIBIT_POWER, "creates a few good items nearby", 0, 0)
  146. EFFECT(ELE_ATTACKS, FALSE, 20, "temporarily brands your weapon", 0, 0)
  147. EFFECT(ACID_PROOF, FALSE, 20, "renders an item invulnerable to acid", 0, 0)
  148. EFFECT(ELEC_PROOF, FALSE, 20, "renders an item invulnerable to electricity", 0, 0)
  149. EFFECT(FIRE_PROOF, FALSE, 20, "renders an item invulnerable to fire", 0, 0)
  150. EFFECT(COLD_PROOF, FALSE, 20, "renders an item invulnerable to cold", 0, 0)
  151. EFFECT(STARLIGHT, FALSE, 6, "fires a line of light in all directions, each one hurting light-sensitive creatures (damage: 20 - 60+)", 0, 0)
  152. EFFECT(DETECT_EVIL, FALSE, 6, "detects evil creatures nearby", 0, 0)
  153. EFFECT(CURE_MEDIUM, FALSE, 5, "restores 10 - 30 hitpoints", 0, 0)
  154. EFFECT(CURING, FALSE, 9, "heals cut damage, and cures all stunning, poison, blindness and confusion", 0, 0)
  155. EFFECT(BANISHMENT, FALSE, 20, "teleports all evil monsters in your line of sight 80+ squares", 0, 0)
  156. EFFECT(SLEEP_MONSTERS, FALSE, 8, "tries to sleep all creatures within line of sight", 0, 0)
  157. EFFECT(SLOW_MONSTERS, FALSE, 7, "tries to slow all monsters within line of sight", 0, 0)
  158. EFFECT(SPEED2, FALSE, 12, "hastens you for 1d30+15 turns", 0, 0)
  159. EFFECT(PROBING, FALSE, 8, "gives you information on the health and abilities of monsters you can see", 0, 0)
  160. EFFECT(DISPEL_EVIL, FALSE, 6, "deals 60 damage to all evil creatures that you can see", 0, 0)
  161. EFFECT(POWER, FALSE, 10, "deals 100 damage to all creatures that you can see", 0, 0)
  162. EFFECT(HOLINESS, FALSE, 12, "inflicts damage on evil creatures you can see, cures 50 hit points, heals all temporary effects and grants you protection from evil (damage: 120)", 0, 0)
  163. EFFECT(EARTHQUAKES, FALSE, 5, "causes an earthquake around you", 0, 0)
  164. EFFECT(DETECTION, FALSE, 8, "detects treasure, traps, doors, stairs, and all creatures nearby", 0, 0)
  165. EFFECT(MSTORM, FALSE, 15, "unleashes a blast of pure damage (125 - 200) around you", 0, 0)
  166. EFFECT(STARBURST, FALSE, 13, "unleashes a blast of light (damage: 100 - 167) around you", 0, 0)
  167. EFFECT(MASS_CONFU, FALSE, 12, "powerfully attempts to confuse all creatures within line of sight", 0, 0)
  168. EFFECT(STARFIRE, FALSE, INHIBIT_POWER, "fires several balls of confusing light (damage 30 - 90+ each) nearby", 0, 0)
  169. EFFECT(WINDS, FALSE, INHIBIT_POWER, "catches all nearby monsters in a whirlwind (damage: 100 - 200)", 0, 0)
  170. EFFECT(HOLDING, FALSE, INHIBIT_POWER, "attempts to put all undead in line of sight into stasis", 0, 0)
  171. EFFECT(KELVAR, FALSE, INHIBIT_POWER, "if any natural creatures are on the level, maps around them and detects all traps", 0, 0)
  172. EFFECT(TELEPORT_AWAY2, TRUE, 12, "teleports a target monster away (distance: 55-80)", 0, 0)
  173. EFFECT(DISARMING, TRUE, 6, "destroys an adjacent trap, failure sets off the trap (success chance: 95%); adjacent doors are found and unlocked", 0, 0)
  174. EFFECT(DOOR_DEST, TRUE, 4, "destroys an adjacent door", 0, 0)
  175. EFFECT(STONE_TO_MUD, TRUE, 6, "turns rock into mud", 0, 0)
  176. EFFECT(LIGHT_LINE, TRUE, 6, "lights up part of the dungeon in a straight line (damage: 4 - 20)", 0, 0)
  177. EFFECT(SLEEP_MONSTER2, TRUE, 3, "attempts to induce magical sleep in a single monster", 0, 0)
  178. EFFECT(SLOW_MONSTER2, TRUE, 3, "attempts to magically slow a single monster", 0, 0)
  179. EFFECT(CONFUSE_MONSTER, TRUE, 3, "confuses a target monster", 0, 0)
  180. EFFECT(FEAR_MONSTER, TRUE, 3, "attempts to induce magical fear in a single monster", 0, 0)
  181. EFFECT(DRAIN_LIFE1, TRUE, 10, "drains life from a target creature (damage: 50 - 100)", 0, 0)
  182. EFFECT(POLYMORPH, TRUE, 7, "polymorphs a monster into another kind of creature", 0, 0)
  183. EFFECT(STINKING_CLOUD, TRUE, 3, "fires a stinking cloud (damage: 12)", 0, 0)
  184. EFFECT(MAGIC_MISSILE, TRUE, 3, "fires a magic missile (damage: 2 - 12)", 0, 0)
  185. EFFECT(ACID_BOLT1, TRUE, 4, "creates an acid bolt (damage: 5 - 80)", 0, 0)
  186. EFFECT(ELEC_BOLT1, TRUE, 4, "creates a lightning bolt (damage: 3 - 48)", 0, 0)
  187. EFFECT(FIRE_BOLT1, TRUE, 4, "creates a fire bolt (damage: 6 - 98)", 0, 0)
  188. EFFECT(COLD_BOLT1, TRUE, 4, "creates a frost bolt (damage: 4 - 64)", 0, 0)
  189. EFFECT(ACID_BALL1, TRUE, 9, "creates an acid ball (damage: 60 - 90)", 0, 0)
  190. EFFECT(ELEC_BALL1, TRUE, 9, "creates a lightning ball (damage: 40 - 70)", 0, 0)
  191. EFFECT(FIRE_BALL1, TRUE, 9, "creates a fire ball (damage: 70 - 100)", 0, 0)
  192. EFFECT(COLD_BALL1, TRUE, 9, "creates a frost ball (damage: 50 - 80)", 0, 0)
  193. EFFECT(WONDER, TRUE, 9, "creates random and unpredictable effects", 0, 0)
  194. EFFECT(DRAGON_FIRE, TRUE, 15, "creates an arc of fire (damage: 160)", 0, 0)
  195. EFFECT(DRAGON_COLD, TRUE, 15, "creates an arc of cold (damage: 160)", 0, 0)
  196. EFFECT(DRAGON_BREATH, TRUE, 20, "creates an arc of a random basic element or poison (damage: 180 - 210)", 0, 0)
  197. EFFECT(ANNIHILATION, TRUE, 12, "drains life from a target creature (damage: 100 - 300)", 0, 0)
  198. EFFECT(STRIKING, TRUE, 15, "fires a meteor (damage: 10 - 234)", 0, 0)
  199. EFFECT(STORMS, TRUE, 13, "fires a bolt of storm lightning (damage: 35 - 140)", 0, 0)
  200. EFFECT(SHARD_BOLT, TRUE, 8, "fires a bolt of shards (damage: 4 - 56)", 0, 0)
  201. EFFECT(ILKORIN, TRUE, INHIBIT_POWER, "fires a bolt of poison and then produces a large cloud of poison (damage ~30 - 310. hurt 30.)", 0, 0)
  202. EFFECT(BEGUILING, TRUE, INHIBIT_POWER, "powerfully attempts to slow, confuse and sleep a target creature", 0, 0)
  203. EFFECT(UNMAKING, TRUE, INHIBIT_POWER, "creates various chaotic effects, some of them dangerous to the player", 0, 0)
  204. EFFECT(OSSE, TRUE, INHIBIT_POWER, "creates a massive tidal wave (damage: 3 * plev + d100)", 0, 0)
  205. EFFECT(RESTORATION, FALSE, 18, "restores all your stats and your experience points", 0, 0)
  206. EFFECT(TELEPORT_AWAY1, TRUE, 10, "teleports a target monster away (distance: 45-60+)", 0, 0)
  207. EFFECT(SLEEP_MONSTER1, TRUE, 3, "attempts to induce magical sleep in a single monster", 0, 0)
  208. EFFECT(SLOW_MONSTER1, TRUE, 3, "attempts to magically slow a single monster", 0, 0)
  209. EFFECT(DRAIN_LIFE2, TRUE, 8, "drains life from a target creature (damage: 45 - 120)", 0, 0)
  210. EFFECT(ACID_BOLT2, TRUE, 5, "creates an acid bolt (damage: 6 - 88)", 0, 0)
  211. EFFECT(ELEC_BOLT2, TRUE, 5, "creates a lightning bolt (damage: 4 - 56)", 0, 0)
  212. EFFECT(FIRE_BOLT2, TRUE, 5, "creates a fire bolt (damage: 7 - 104)", 0, 0)
  213. EFFECT(COLD_BOLT2, TRUE, 5, "creates a frost bolt (damage: 5 - 72)", 0, 0)
  214. EFFECT(ACID_BALL2, TRUE, 10, "creates an acid ball (damage: 60 - 100)", 0, 0)
  215. EFFECT(ELEC_BALL2, TRUE, 10, "creates a lightning ball (damage: 40 - 80)", 0, 0)
  216. EFFECT(FIRE_BALL2, TRUE, 10, "creates a fire ball (damage: 70 - 110)", 0, 0)
  217. EFFECT(COLD_BALL2, TRUE, 10, "creates a frost ball (damage: 50 - 90)", 0, 0)
  218. EFFECT(LIGHTINGSTRIKE, TRUE, 20, "fires a powerful lightning bolt (damage: 18 - 272)", 0, 0)
  219. EFFECT(NORTHWINDS, TRUE, 20, "creates a breath of cold north wind (damage: 21 - 296)", 0, 0)
  220. EFFECT(DRAGONFIRE, TRUE, 20, "creates a powerful fire bolt (damage: 24 - 320)", 0, 0)
  221. EFFECT(GLAURUNGS, TRUE, 20, "creates a sizzling bolt of acid (damage: 27 - 344)", 0, 0)
  222. EFFECT(DELVING, TRUE, INHIBIT_POWER, "creates a room if fired straight down, or else powerful stone to mud (damage 160 - 400)", 0, 0)
  223. EFFECT(SHADOW, FALSE, INHIBIT_POWER, "allows you to slip into the shadows", 0, 0)
  224. EFFECT(AIR, FALSE, INHIBIT_POWER, "bombards the area with multiple light, gravity and lightning balls", 0, 0)
  225. EFFECT(PORTALS, FALSE, INHIBIT_POWER, "allows directed teleportation", 0, 0)
  226. EFFECT(GWINDOR, FALSE, 0, "illuminates the surrounding area, dealing 2d15 damage to light-sensitive monsters", 0, 0)
  227. EFFECT(DWARVES, FALSE, 0, "maps and illuminates the entire level", 0, 0)
  228. EFFECT(ELESSAR, FALSE, 0, "heals 500HP and restores your life levels", 0, 0)
  229. EFFECT(RAZORBACK, FALSE, 0, "transforms you into a dragon; Activation in Dragonform: star ball (150)", 0, 0)
  230. EFFECT(BLADETURNER, FALSE, 0, "transforms you into a dragon; Activation in Dragonform: heroism, bless, and resistance", 0, 0)
  231. EFFECT(SOULKEEPER, FALSE, 0, "heals 1000HP", 0, 0)
  232. EFFECT(ELEMENTS, FALSE, 0, "gives resistance to the elements for 20 + d20 turns", 0, 0)
  233. EFFECT(GIL_GALAD, FALSE, 0, "emits blinding light (75 damage)", 0, 0)
  234. EFFECT(NARGOTHROND, FALSE, 0, "heals 500HP", 0, 0)
  235. EFFECT(VALINOR, FALSE, 0, "gives resistance to the elements and poison for 20 + d20 turns", 0, 0)
  236. EFFECT(HOLCOLLETH, FALSE, 0, "sleeps adjacent monsters", 0, 0)
  237. EFFECT(THINGOL, FALSE, 0, "recharges a magical device", 0, 0)
  238. EFFECT(MAEGLIN, TRUE, 0, "fires a mana bolt for 9d8 damage", 0, 0)
  239. EFFECT(PAURNIMMEN, FALSE, 0, "adds cold damage to your melee attacks for 50 turns", 0, 0)
  240. EFFECT(PAURNEN, FALSE, 0, "adds acid damage to your melee attacks for 30 turns", 0, 0)
  241. EFFECT(DAL, FALSE, 0, "removes fear and cures poison", 0, 0)
  242. EFFECT(NARTHANC, TRUE, 0, "fires a fire bolt for 6d8 damage", 0, 0)
  243. EFFECT(NIMTHANC, TRUE, 0, "fires a frost bolt for 5d8 damage", 0, 0)
  244. EFFECT(DETHANC, TRUE, 0, "fires a lightning bolt for 4d8 damage", 0, 0)
  245. EFFECT(RILIA, TRUE, 0, "fires a stinking cloud for 12 damage", 0, 0)
  246. EFFECT(BELANGIL, TRUE, 0, "fires a frost ball (3 * level / 2)", 0, 0)
  247. EFFECT(ARANRUTH, TRUE, 0, "fires a frost bolt for 12d8 damage", 0, 0)
  248. EFFECT(RINGIL, TRUE, 0, "fires a frost cone for 250 damage", 0, 0)
  249. EFFECT(NARSIL, TRUE, 0, "fires a fire ball for 150 damage", 0, 0)
  250. EFFECT(MANWE, TRUE, 0, "fires a wide arc of force for 300 damage", 0, 0)
  251. EFFECT(AEGLOS, TRUE, 0, "fires a frost ball for 100 damage", 0, 0)
  252. EFFECT(LOTHARANG, FALSE, 0, "cure wounds for 4d12 damage", 0, 0)
  253. EFFECT(ULMO, TRUE, 0, "teleport away (distance: 45-60+)", 0, 0)
  254. EFFECT(AVAVIR, FALSE, 0, "returns you to a recall point or takes you to a recall point after a short delay", 0, 0)
  255. EFFECT(TOTILA, TRUE, 0, "confuses a monster", 0, 0)
  256. EFFECT(FIRESTAR, TRUE, 0, "fires a large fire ball for 125 damage", 0, 0)
  257. EFFECT(TURMIL, TRUE, 0, "drains life for 90 damage", 0, 0)
  258. EFFECT(DRAGON_BLACK, FALSE, 9, "transforms you into a dragon; Activation in dragon form: breathe acid for 45-270 damage", 0, 0)
  259. EFFECT(DRAGON_BLUE, FALSE, 20, "transforms you into a dragon; Activation in dragon form: breathe lightning for 40-260 damage", 0, 0)
  260. EFFECT(DRAGON_WHITE, FALSE, 20, "transforms you into a dragon; Activation in dragon form: breathe frost for 45-270 damage", 0, 0)
  261. EFFECT(DRAGON_RED, FALSE, 20, "transforms you into a dragon; Activation in dragon form: breathe fire for 50-300 damage", 0, 0)
  262. EFFECT(DRAGON_GREEN, FALSE, 20, "transforms you into a dragon; Activation in dragon form: breathe poison gas for 45-270 damage", 0, 0)
  263. EFFECT(DRAGON_MULTIHUED, FALSE, 20, "transforms you into a dragon; Activation in dragon form: breathe an element or poison for 60-360 damage", 0, 0)
  264. EFFECT(DRAGON_SHINING, FALSE, 22, "transforms you into a dragon; Activation in dragon form: breathe light/darkness for 50-300 damage", 0, 0)
  265. EFFECT(DRAGON_LAW, FALSE, 22, "transforms you into a dragon; Activation in dragon form: breathe sound or shards for 60-360 damage", 0, 0)
  266. EFFECT(DRAGON_BRONZE, FALSE, 20, "transforms you into a dragon; Activation in dragon form: breathe confusionfor 40-260 damage", 0, 0)
  267. EFFECT(DRAGON_GOLD, FALSE, 20, "transforms you into a dragon; Activation in dragon form: breathe sound for 40-260 damage", 0, 0)
  268. EFFECT(DRAGON_CHAOS, FALSE, 22, "transforms you into a dragon; Activation in dragon form: breathe chaos or disenchantment for 55-330 damage", 0, 0)
  269. EFFECT(DRAGON_BALANCE, FALSE, 23, "transforms you into a dragon; Activation in dragon form: breathe sound, shards, chaos, or disenchantment for 60-360 damage", 0, 0)
  270. EFFECT(DRAGON_POWER, FALSE, 25, "transforms you into a dragon; Activation in dragon form: breathe the elements for 75-450 damage", 0, 0)
  271. EFFECT(RING_ACID, TRUE, 11, "cast an acid ball for 80 damage and opposes acid", 0, 0)
  272. EFFECT(RING_ELEC, TRUE, 11, "cast a cold ball for 80 damage and opposes cold", 0, 0)
  273. EFFECT(RING_FIRE, TRUE, 11, "cast a fire ball for 80 damage and opposes fire", 0, 0)
  274. EFFECT(RING_COLD, TRUE, 11, "cast an electricity ball for 80 damage and opposes electricity", 0, 0)
  275. EFFECT(RING_POIS, TRUE, 11, "cast a poison ball for 80 damage and opposes poison", 0, 0)
  276. EFFECT(AMULET_ESCAPING, FALSE, 10, "teleports you about 40 grids", 0, 0)
  277. EFFECT(AMULET_LION, FALSE, 15, "become lion", 0, 0)
  278. EFFECT(AMULET_METAMORPH, FALSE, 15, "makes a random shapechange", 0, 0)
  279. EFFECT(RAND_FIRE1, TRUE, 4, "fires a fire bolt for (3 + level / 8)d8 damage", 7, 7)
  280. EFFECT(RAND_FIRE2, TRUE, 5, "fires a sphere of fire for 90 damage", 250, 0)
  281. EFFECT(RAND_FIRE3, FALSE, 6, "produces a fire storm for 150 damage", 600, 0)
  282. EFFECT(RAND_COLD1, TRUE, 4, "fires a frost bolt for (3 + level / 8)d8 damage", 7, 7)
  283. EFFECT(RAND_COLD2, TRUE, 5, "fires a sphere of frost for 90 damage", 250, 0)
  284. EFFECT(RAND_COLD3, FALSE, 6, "produces a frost storm for 150 damage", 600, 0)
  285. EFFECT(RAND_ACID1, TRUE, 4, "fires an acid bolt for (3 + level / 8)d8 damage", 7, 7)
  286. EFFECT(RAND_ACID2, TRUE, 5, "fires a sphere of acid for 90 damage", 250, 0)
  287. EFFECT(RAND_ACID3, FALSE, 6, "produces an acid storm for 160 damage", 600, 0)
  288. EFFECT(RAND_ELEC1, TRUE, 4, "fires an electricity bolt for (3 + level / 8)d8 damage", 7, 7)
  289. EFFECT(RAND_ELEC2, TRUE, 5, "produces ball lightning for 100 damage", 250, 0)
  290. EFFECT(RAND_ELEC3, FALSE, 6, "produces a thunderbolt for 130 lightning and 25 sound damage", 600, 0)
  291. EFFECT(RAND_POIS1, TRUE, 4, "fires a poison dart for (3 + level / 10)d8 damage", 22, 22)
  292. EFFECT(RAND_POIS2, TRUE, 5, "fires a poison cloud for 110 damage", 300, 0)
  293. EFFECT(RAND_LIGHT1, TRUE, 6, "produces a blinding ball of light for 50 light damage and 10 confusion damage", 250, 0)
  294. EFFECT(RAND_LIGHT2, FALSE, 6, "dispels light-hating monsters for 175 damage", 600, 0)
  295. EFFECT(RAND_DISPEL_UNDEAD, FALSE, 6, "dispels undead for 100 damage", 300, 0)
  296. EFFECT(RAND_DISPEL_EVIL, FALSE, 9, "dispels evil for 100 damage", 400, 0)
  297. EFFECT(RAND_SMITE_UNDEAD, TRUE, 8, "dispels an undead for (level / 4)d33 damage", 200, 0)
  298. EFFECT(RAND_SMITE_DEMON, TRUE, 8, "dispels a demon for (level / 4)d33 damage", 200, 0)
  299. EFFECT(RAND_SMITE_DRAGON, TRUE, 8, "dispels a dragon for (level / 4)d33 damage", 200, 0)
  300. EFFECT(RAND_HOLY_ORB, TRUE, 5, "fires a holy orb for 60 damage", 175, 0)
  301. EFFECT(RAND_BLESS, FALSE, 4, "blesses you for 24+d24 turns", 200, 0)
  302. EFFECT(RAND_FRIGHTEN_ALL, FALSE, 5, "frightens adversaries", 120, 120)
  303. EFFECT(RAND_HEAL1, FALSE, 5, "heals 5d20HP", 85, 0)
  304. EFFECT(RAND_HEAL2, FALSE, 8, "heals 7d40HP", 225, 0)
  305. EFFECT(RAND_HEAL3, FALSE, 10, "heals 10d60HP", 500, 0)
  306. EFFECT(RAND_CURE, FALSE, 8, "cures ailments", 500, 0)
  307. EFFECT(RAND_PROT_FROM_EVIL, FALSE, 6, "grants protection from evil for 24+d24 turns", 250, 0)
  308. EFFECT(RAND_CHAOS, TRUE, 9, "fires a chaos ball for d300 damage", 600, 0)
  309. EFFECT(RAND_SHARD_SOUND, TRUE, 9, "fires a shard or sound ball for 150 damage", 600, 0)
  310. EFFECT(RAND_NETHR, TRUE, 8, "fires a nether orb for 100 damage", 400, 0)
  311. EFFECT(RAND_LINE_LIGHT, TRUE, 4, "fires a ray of light for 4d5 damage", 6, 6)
  312. EFFECT(RAND_STARLIGHT, FALSE, 5, "produces starlight for 4d5 damage", 8, 8)
  313. EFFECT(RAND_EARTHQUAKE, FALSE, 5, "makes an earthquake (radius 10)", 40, 40)
  314. EFFECT(RAND_IDENTIFY, FALSE, 6, "identifies an item", 30, 30)
  315. EFFECT(RAND_SPEED, FALSE, 10, "hastes you for 20+d20 turns", 120, 120)
  316. EFFECT(RAND_TELEPORT_AWAY, TRUE, 9, "teleports a monster away 45-60 grids", 110, 0)
  317. EFFECT(RAND_HEROISM, FALSE, 6, "grant heroism", 200, 0)
  318. EFFECT(RAND_STORM_DANCE, FALSE, 11, "makes you dance a storm of sound, shards and confusion", 300, 0)
  319. EFFECT(RAND_RESIST_ELEMENTS, FALSE, 8, "gives resistance to the elements", 400, 0)
  320. EFFECT(RAND_RESIST_ALL, FALSE, 10, "gives resistance", 400, 0)
  321. EFFECT(RAND_TELEPORT1, FALSE, 6, "teleports you about 30 grids", 10, 10)
  322. EFFECT(RAND_TELEPORT2, FALSE, 9, "teleports you about 200 grids", 80, 0)
  323. EFFECT(RAND_RECALL, FALSE, 10, "returns you to a recall point or takes you to a recall point after a short delay", 350, 0)
  324. EFFECT(RAND_REGAIN, FALSE, 8, "restores your life levels", 800, 0)
  325. EFFECT(RAND_RESTORE, FALSE, 10, "restores any drained stats", 800, 0)
  326. EFFECT(RAND_SHIELD, FALSE, 8, "produces a magical shield", 400, 0)
  327. EFFECT(RAND_BRAND_MISSILE, FALSE, 20, "brands missiles", 1750, 0)
  328. EFFECT(RAND_SUPER_SHOOTING, FALSE, 10, "gives you an especially deadly shot", 200, 200)
  329. EFFECT(RAND_DETECT_MONSTERS, FALSE, 4, "detects monsters", 4, 4)
  330. EFFECT(RAND_DETECT_EVIL, FALSE, 3, "detects evil", 4, 4)
  331. EFFECT(RAND_DETECT_ALL, FALSE, 8, "detects monsters, traps, doors and stairs", 30, 30)
  332. EFFECT(RAND_MAGIC_MAP, FALSE, 8, "maps the surrounding area", 30, 30)
  333. EFFECT(RAND_DETECT_D_S_T, FALSE, 5, "detects traps, doors, and stairs", 10, 10)
  334. EFFECT(RAND_CONFU_FOE, TRUE, 4, "strongly attempts to confuse a monster", 250, 0)
  335. EFFECT(RAND_SLEEP_FOE, TRUE, 4, "strongly attempts to sleep a monster", 250, 0)
  336. EFFECT(RAND_TURN_FOE, TRUE, 4, "strongly attempts to frighten a monster", 250, 0)
  337. EFFECT(RAND_SLOW_FOE, TRUE, 4, "strongly attempts to slow a monster", 250, 0)
  338. EFFECT(RAND_BANISH_EVIL, FALSE, 6, "banishes evil", 400, 0)
  339. EFFECT(RAND_DISARM, TRUE, 4, "disarms traps", 7, 7)
  340. EFFECT(RAND_CONFU_FOES, FALSE, 5, "confuses monsters", 300, 0)
  341. EFFECT(RAND_SLEEP_FOES, FALSE, 5, "sleeps monsters", 300, 0)
  342. EFFECT(RAND_TURN_FOES, FALSE, 5, "frightens monsters", 300, 0)
  343. EFFECT(RAND_SLOW_FOES, FALSE, 5, "slows monsters", 300, 0)
  344. EFFECT(ACID_BLAST, FALSE, 18, "produces a powerful acid blast", 1500, 0)
  345. EFFECT(CHAIN_LIGHTNING, FALSE, 19, "produces chain lightning between monsters", 2000, 0)
  346. EFFECT(LAVA_POOL, FALSE, 22, "creates a lava pool", 2000, 0)
  347. EFFECT(ICE_WHIRLPOOL, FALSE, 22, "conjures forth a whirlpool of ice", 1000, 0)
  348. EFFECT(GROW_FOREST, FALSE, 22, "grows a forest", 2000, 0)
  349. EFFECT(RESTORE_AND_ENHANCE, FALSE, 23, "restores and enhances you", 3000, 0)
  350. EFFECT(ZONE_OF_CHAOS, FALSE, 23, "creates a zone of chaos", 3000, 0)
  351. EFFECT(PRESSURE_WAVE, FALSE, 21, "creates a pressure wave", 1500, 0)
  352. EFFECT(ENERGY_DRAIN, FALSE, 25, "drains energy from your foes", 3000, 0)
  353. EFFECT(MASS_STASIS, FALSE, 20, "invokes mass stasis", 1000, 0)
  354. EFFECT(LIGHT_FROM_ABOVE, FALSE, 22, "calls forth light from above", 1500, 0)
  355. EFFECT(MASS_POLYMORPH, FALSE, 18, "polymorphs everything in sight", 2500, 0)
  356. EFFECT(GRAVITY_WAVE, FALSE, 25, "creates a gravity wave", 2000, 0)
  357. EFFECT(ENLIST_EARTH, TRUE, 20, "summons allies from the Earth", 3000, 0)
  358. EFFECT(TELEPORT_ALL, FALSE, 25, "teleports everything in sight", 2000, 0)
  359. EFFECT(BALROG_WHIP, TRUE, 0, "lashes out at at range 2 for base weapon damage (unless target resists fire)", 0, 0)
  360. EFFECT(MAGESTAFF, FALSE, 0, "restores 10 spell points (mages and necromancers only)", 15, 10)