Difference between revisions of "Module:Table of spells"

From CrawlWiki
Jump to: navigation, search
(Added Maxwell's)
(I have written my own script to generate this file - now up to date to 0.33 - revert if this breaks everything)
 
(118 intermediate revisions by 13 users not shown)
Line 1: Line 1:
-- Table of spells (0.25.0)
+
-- Table of spells (last generated in 0.33)
 
return {
 
return {
   ["Absolute Zero"] = {
+
   ["Cause Fear"] = {
 
     books = {
 
     books = {
       ["book of Annihilations"] = true
+
       ["book of Hexes"] = true,
 +
      ["book of the Dragon"] = true,
 
     },
 
     },
     description = "Entirely removes the heat from the enemy nearest the caster, instantly freezing it into a block of solid ice.",
+
     description = "Causes fear in those near to the caster, causing those affected to be unable to approach the caster, and to sometimes fail to attack them in melee. Leaving the caster's line of sight will end the effect.",
 
     flags = {
 
     flags = {
       NO_GHOST = true
+
       area = true,
    },
+
       WL_check = true,
    level = 9,
 
    name = "Absolute Zero",
 
    noise = {
 
       casting = 9,
 
      effect = 40
 
 
     },
 
     },
 +
    level = 4,
 +
    name = "Cause Fear",
 +
    noise = { casting = 4, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 8, min = 8 },
      max = 5,
+
    schools = {
       min = 5
+
       Hexes = true,
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Ice = true
 
    }
 
 
   },
 
   },
   Agony = {
+
   ["Magic Dart"] = {
 
     books = {
 
     books = {
       ["book of Death"] = true
+
       ["book of Minor Magic"] = true,
 +
      ["book of Conjurations"] = true,
 
     },
 
     },
     description = "Cuts the resilience of an adjacent creature in half. This damage is never directly lethal.",
+
     description = "Fires a small bolt of magical energy which never misses.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       dir_or_target = true,
       WILL_CHECK = true,
+
       needs_tracer = true,
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 5,
+
     level = 1,
     name = "Agony",
+
     name = "Magic Dart",
     noise = {
+
     noise = { casting = 1, effect = 0 },
      casting = 4,
+
     ["power cap"] = 25,
      effect = 2
+
     range = { max = 8, min = 8 },
    },
+
     schools = {
     ["power cap"] = 200,
+
       Conjuration = true,
     quote = "“Unbearable, isn't it? The suffering of strangers, the agony of friends. There is a secret song at the center of the world, Joey, and its sound is like razors through flesh.”\n    -Pinhead, _Hellraiser 3: Hell on Earth_. 1992.",
 
     range = {
 
       max = 1,
 
      min = 1
 
 
     },
 
     },
    rarity = 11,
 
    schools = {
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   Airstrike = {
+
   ["Fireball"] = {
 
     books = {
 
     books = {
       ["book of the Sky"] = true
+
       ["book of the Dragon"] = true,
 +
      ["book of the Spheres"] = true,
 
     },
 
     },
     description = "Causes the air around a creature to twist itself into a whirling vortex of meteorological fury. It does more damage to targets surrounded by empty space. It is especially effective against flying enemies.",
+
     description = "Hurls an explosive ball of fire.",
 
     flags = {
 
     flags = {
       NOT_SELF = true,
+
       dir_or_target = true,
       TARGET = true
+
       needs_tracer = true,
    },
 
    level = 4,
 
    name = "Airstrike",
 
    noise = {
 
      casting = 2,
 
      effect = 4
 
 
     },
 
     },
 +
    level = 5,
 +
    name = "Fireball",
 +
    noise = { casting = 5, effect = 15 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 5, min = 5 },
      max = 7,
 
      min = 7
 
    },
 
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Air = true
+
       Conjuration = true,
    }
+
       Fire = true,
  },
 
  ["Alistair's Intoxication"] = {
 
    books = {
 
       ["book of Alchemy"] = true,
 
      ["book of Party Tricks"] = true
 
    },
 
    description = "Converts a small portion of the brain matter of those around you into alcohol, confusing all intelligent humanoids within view (although poison-resistant creatures may resist the effects). The caster may experience vertigo briefly as a result of making contact with other minds. It is frequently used as an icebreaker at wizard parties.",
 
    flags = {},
 
    level = 5,
 
    name = "Alistair's Intoxication",
 
    noise = {
 
      casting = 3,
 
      effect = 0
 
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 5,
 
    schools = {
 
      Poison = true,
 
      Transmutation = true
 
    }
 
 
   },
 
   },
   ["Animate Armour"] = {
+
   ["Apportation"] = {
 
     books = {
 
     books = {
       ["book of Armaments"] = true,
+
       ["book of Cantrips"] = true,
       ["book of Iron"] = true
+
       ["book of Party Tricks"] = true,
 
     },
 
     },
     description = "Calls upon the spirit of your worn armour to fight alongside you. The spirit moves slowly, but draws strength from the inherent protection of your own armour. At higher power, the spirit becomes more durable.",
+
     description = "Pulls the top item or group of similar items from a distant pile to the floor near the caster. With low power, items might not be moved all the way to the caster's position.<br><br>Extremely powerful magical items, such as the Orb of Zot, may actively resist the pull of this spell.",
     flags = {},
+
     flags = {
    level = 4,
+
      target = true,
    name = "Animate Armour",
+
      obj = true,
    noise = {
+
       not_self = true,
       casting = 4,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 1,
 +
    name = "Apportation",
 +
    noise = { casting = 1, effect = 0 },
 
     ["power cap"] = 50,
 
     ["power cap"] = 50,
     rarity = 11,
+
     range = { max = 8, min = 8 },
 
     schools = {
 
     schools = {
       Earth = true,
+
       Translocation = true,
      Summoning = true
 
 
     },
 
     },
    ["summons limit"] = 1
 
 
   },
 
   },
   ["Animate Dead"] = {
+
   ["Slow"] = {
 
     books = {
 
     books = {
       ["book of Necromancy"] = true,
+
       ["book of Debilitation"] = true,
      ["book of Unlife"] = true
 
 
     },
 
     },
     description = "Reanimates all corpses and skeletons in the vicinity as followers. This magic is unstable, so eventually those reanimated will crumble to dust. Zombies and skeletons cannot leave the level they were created on. The resilience of zombies raised by this spell increases with spell power.",
+
     description = "Slows the actions of a creature.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       dir_or_target = true,
       NEUTRAL = true,
+
       needs_tracer = true,
       UTILITY = true
+
       WL_check = true,
 +
    },
 +
    level = 1,
 +
    name = "Slow",
 +
    noise = { casting = 1, effect = 0 },
 +
    ["power cap"] = 25,
 +
    range = { max = 8, min = 8 },
 +
    schools = {
 +
      Hexes = true,
 +
    },
 +
  },
 +
  ["Freezing Cloud"] = {
 +
    books = {
 +
      ["book of Ice"] = true,
 +
      ["Trismegistus Codex"] = true,
 
     },
 
     },
     level = 4,
+
     description = "Conjures up a large cloud of lethally cold vapour.",
     name = "Animate Dead",
+
     flags = {
    noise = {
+
      target = true,
       casting = 3,
+
      area = true,
       effect = 0
+
       needs_tracer = true,
 +
       cloud = true,
 
     },
 
     },
 +
    level = 5,
 +
    name = "Freezing Cloud",
 +
    noise = { casting = 5, effect = 2 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 3,
+
     range = { max = 5, min = 5 },
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Conjuration = true,
     }
+
      Ice = true,
 +
      Air = true,
 +
     },
 
   },
 
   },
   ["Animate Skeleton"] = {
+
   ["Mephitic Cloud"] = {
 
     books = {
 
     books = {
       ["book of Cantrips"] = true,
+
       ["book of the Senses"] = true,
       ["book of Necromancy"] = true
+
       ["Trismegistus Codex"] = true,
 
     },
 
     },
     description = "Reanimates a single skeleton as a follower, even if that skeleton is still encased in flesh. This magic is unstable, so eventually those reanimated will crumble to dust. Skeletons cannot leave the level they were created on. The resilience of a skeleton raised by this spell increases with spell power.",
+
     description = "Conjures a fragile flask that explodes into short-lived clouds of noxious fumes. These clouds may cause confusion in any creature not resistant to poison. Tougher, more experienced creatures are less likely to be affected.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       dir_or_target = true,
 +
      area = true,
 +
      needs_tracer = true,
 +
      cloud = true,
 
     },
 
     },
     level = 1,
+
     level = 3,
     name = "Animate Skeleton",
+
     name = "Mephitic Cloud",
     noise = {
+
     noise = { casting = 3, effect = 15 },
       casting = 1,
+
    ["power cap"] = 100,
       effect = 0
+
    range = { max = 4, min = 4 },
 +
    schools = {
 +
       Conjuration = true,
 +
      Alchemy = true,
 +
       Air = true,
 
     },
 
     },
    ["power cap"] = 50,
 
    rarity = 1,
 
    schools = {
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   Apportation = {
+
   ["Olgreb's Toxic Radiance"] = {
 
     books = {
 
     books = {
       ["book of Cantrips"] = true,
+
       ["Young Poisoner's Handbook"] = true,
       ["book of Party Tricks"] = true
+
       ["the Unrestrained Analects"] = true,
 
     },
 
     },
     description = "Pulls the top item or group of similar items from a distant pile to the floor near the caster. With low power, items might not be moved all the way to the caster's position.\n\nExtremely powerful magical items, such as the Orb of Zot, may actively resist the pull of this spell.",
+
     description = "Causes the caster to radiate toxic energy, continuously inflicting poison on everything in line of sight for as long as the spell lasts.",
 
     flags = {
 
     flags = {
       NOT_SELF = true,
+
       area = true,
       OBJ = true,
+
       destructive = true,
      TARGET = true
 
 
     },
 
     },
     level = 1,
+
     level = 4,
     name = "Apportation",
+
     name = "Olgreb's Toxic Radiance",
     noise = {
+
     noise = { casting = 4, effect = 0 },
      casting = 1,
+
    ["power cap"] = 100,
       effect = 0
+
    schools = {
 +
       Alchemy = true,
 
     },
 
     },
    ["power cap"] = 50,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 1,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   ["Beastly Appendage"] = {
+
   ["Teleport Other"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true
+
       ["book of Displacement"] = true,
 +
      ["There-And-Back Book"] = true,
 
     },
 
     },
     description = "Causes monstrous horns or talons to grow from the caster's body, granting them a chance of making an extra attack in melee. It is not powerful enough to meld armour or enhance appendages that are already nonhuman.",
+
     description = "Attempts to teleport a targeted creature out of the caster's sight, after a short delay.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       target = true,
       HELPFUL = true
+
       not_self = true,
 +
      escape = true,
 +
      WL_check = true,
 
     },
 
     },
     level = 1,
+
     level = 3,
     name = "Beastly Appendage",
+
     name = "Teleport Other",
     noise = {
+
     noise = { casting = 3, effect = 0 },
      casting = 1,
+
     ["power cap"] = 100,
      effect = 0
+
     range = { max = 8, min = 8 },
    },
 
     ["power cap"] = 50,
 
     rarity = 2,
 
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Translocation = true,
     }
+
     },
 
   },
 
   },
   ["Blade Hands"] = {
+
   ["Death's Door"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true
+
       ["Necronomicon"] = true,
 
     },
 
     },
     description = "Causes long, scythe-shaped blades to grow from the caster's hands, increasing melee damage significantly.",
+
     description = "Renders the caster nigh invulnerable to harm for a brief period, but brings them dangerously close to death in the process. So close, in fact, that the body believes itself to be dead — healing effects will do nothing.<br><br>The caster will receive one warning shortly before the spell expires. After expiry, the spell cannot immediately be recast, but with high power the caster will be left further from death when the effect ends. It has no effect on those who are already undead.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       utility = true,
       HELPFUL = true,
+
       no_ghost = true,
      UTILITY = true
 
    },
 
    level = 5,
 
    name = "Blade Hands",
 
    noise = {
 
      casting = 4,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 9,
 +
    name = "Death's Door",
 +
    noise = { casting = 9, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 2,
 
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Necromancy = true,
     }
+
     },
 
   },
 
   },
   Blink = {
+
   ["Summon Small Mammal"] = {
 
     books = {
 
     books = {
       ["book of Minor Magic"] = true,
+
       ["book of Callings"] = true,
       ["book of Spatial Translocations"] = true
+
       ["book of Cantrips"] = true,
 
     },
 
     },
     description = "Randomly translocates the caster a short distance.",
+
     description = "Summons a rat, bat, or quokka to the caster's aid. Spell power increases the chance of summoning a quokka.",
 
     flags = {
 
     flags = {
      EMERGENCY = true,
 
      ESCAPE = true,
 
      SELFENCH = true,
 
      UTILITY = true
 
 
     },
 
     },
     level = 2,
+
     level = 1,
     name = "Blink",
+
     name = "Summon Small Mammal",
     noise = {
+
     noise = { casting = 1, effect = 0 },
      casting = 2,
+
    ["power cap"] = 25,
       effect = 0
+
    schools = {
 +
       Summoning = true,
 
     },
 
     },
    ["power cap"] = 0,
 
    rarity = 1,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   ["Bolt of Magma"] = {
+
   ["Lehudib's Crystal Spear"] = {
 
     books = {
 
     books = {
       ["book of Power"] = true,
+
       ["book of Armaments"] = true,
       ["book of the Earth"] = true
+
       ["book of the Moon"] = true,
 
     },
 
     },
     description = "Fires a penetrating bolt of molten rock. A portion of its damage bypasses fire resistance. The range of the bolt is decreased by one for every creature it strikes.",
+
     description = "Hurls a lethally sharp shard of crystal.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       dir_or_target = true,
       NEEDS_TRACER = true
+
       needs_tracer = true,
    },
 
    level = 5,
 
    name = "Bolt of Magma",
 
    noise = {
 
      casting = 5,
 
      effect = 2
 
 
     },
 
     },
 +
    level = 8,
 +
    name = "Lehudib's Crystal Spear",
 +
    noise = { casting = 8, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 3, min = 3 },
      max = 4,
 
      min = 4
 
    },
 
    rarity = 6,
 
 
     schools = {
 
     schools = {
 
       Conjuration = true,
 
       Conjuration = true,
 
       Earth = true,
 
       Earth = true,
      Fire = true
+
     },
     }
 
 
   },
 
   },
   ["Borgnjor's Revivification"] = {
+
   ["Fire Storm"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["book of Annihilations"] = true,
 
     },
 
     },
     description = "Instantly heals any and all wounds suffered by the caster, but also permanently lessens their resilience to injury, to a degree dependent on (and inversely related to) power.\n\nIt is powerful enough to cancel the effects of Death's Door, although doing so will briefly paralyse the caster. It has no effect on the undead.",
+
     description = "Calls forth a mighty storm of roaring flame directly onto the target, dealing damage in a large area and leaving behind short-lived fire vortices. Half of its damage bypasses fire resistance.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       target = true,
    },
+
      area = true,
    level = 8,
+
       needs_tracer = true,
    name = "Borgnjor's Revivification",
 
    noise = {
 
       casting = 6,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 9,
 +
    name = "Fire Storm",
 +
    noise = { casting = 9, effect = 25 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = -1,
+
     range = { max = 5, min = 5 },
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Conjuration = true,
     }
+
      Fire = true,
 +
     },
 
   },
 
   },
   ["Borgnjor's Vile Clutch"] = {
+
   ["Blink"] = {
 
     books = {
 
     books = {
       ["book of Dreams"] = true,
+
       ["book of Minor Magic"] = true,
       ["book of Unlife"] = true
+
       ["book of Spatial Translocations"] = true,
 
     },
 
     },
     description = "Calls forth hands from corpses interred beneath the dungeon floor long ago. Enemies caught in the area will be held in place and constricted until they break free.",
+
     description = "Randomly translocates the caster a short distance. After translocating in this way, the spell cannot be cast again for a short period of time depending on spell power.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       escape = true,
       NEEDS_TRACER = true
+
       selfench = true,
 +
      utility = true,
 
     },
 
     },
     level = 5,
+
     level = 2,
     name = "Borgnjor's Vile Clutch",
+
     name = "Blink",
     noise = {
+
     noise = { casting = 2, effect = 0 },
      casting = 0,
+
     ["power cap"] = 50,
      effect = 0
+
     schools = {
    },
+
       Translocation = true,
     ["power cap"] = 200,
 
     range = {
 
       max = 6,
 
      min = 6
 
 
     },
 
     },
    rarity = 6,
 
    schools = {
 
      Necromancy = true,
 
      Earth = true
 
    }
 
 
   },
 
   },
   ["Call Canine Familiar"] = {
+
   ["Iskenderun's Mystic Blast"] = {
 
     books = {
 
     books = {
       ["book of Callings"] = true
+
       ["book of Blasting"] = true,
 +
      ["book of Duality"] = true,
 
     },
 
     },
     description = "Summons a solitary canine to the caster's aid.",
+
     description = "Detonates a crackling sphere of destructive energy. The explosion will hit all nearby monsters with physical force, knocking them back if damage is done. Spellpower increases damage and knockback distance.",
     flags = {},
+
     flags = {
    level = 3,
+
       area = true,
    name = "Call Canine Familiar",
 
    noise = {
 
       casting = 3,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 4,
 +
    name = "Iskenderun's Mystic Blast",
 +
    noise = { casting = 4, effect = 10 },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
     quote = "“There seemed a strange stillness over everything. But as I listened, I heard as if from down below in the valley the howling of many wolves. The Count's eyes gleamed, and he said.\n\n‘Listen to them, the children of the night. What music they make!’ Seeing, I suppose, some expression in my face strange to him, he added, ‘Ah, sir, you dwellers in the city cannot enter into the feelings of the hunter.’”\n    -Bram Stoker, _Dracula_. 1897.",
+
     range = { max = 2, min = 2 },
    rarity = 3,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Conjuration = true,
 +
      Translocation = true,
 
     },
 
     },
    ["summons limit"] = 1
 
 
   },
 
   },
   ["Call Imp"] = {
+
   ["Summon Horrible Things"] = {
 
     books = {
 
     books = {
       ["book of Callings"] = true,
+
       ["Grand Grimoire"] = true,
      ["book of Minor Magic"] = true
 
 
     },
 
     },
     description = "Calls forth a minor demon from the pits of Hell.",
+
     description = "Opens a gate to the Abyss and calls through two or more hideous abominations from that dreadful place. The opening of the gate may temporarily mutate the caster, reducing their willpower.",
 
     flags = {
 
     flags = {
       SELFENCH = true,
+
       unholy = true,
       UNHOLY = true
+
       chaotic = true,
 +
      mons_abjure = true,
 
     },
 
     },
     level = 2,
+
     level = 8,
     name = "Call Imp",
+
     name = "Summon Horrible Things",
     noise = {
+
     noise = { casting = 8, effect = 0 },
      casting = 2,
+
     ["power cap"] = 200,
      effect = 0
 
    },
 
     ["power cap"] = 100,
 
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Summoning = true,
 
     },
 
     },
    ["summons limit"] = 3
 
 
   },
 
   },
   ["Cause Fear"] = {
+
   ["Animate Dead"] = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Death"] = true,
       ["book of Hexes"] = true,
+
       ["book of the Grave"] = true,
      ["book of the Dragon"] = true
 
 
     },
 
     },
     description = "Causes fear in those near to the caster, causing those affected to be unable to approach the caster, and to sometimes fail to attack them in melee. Leaving the caster's line of sight will end the effect.",
+
     description = "For some time after casting this, living creatures killed by the caster will rise as zombies. The chance of reanimating a monster and the duration of the effect increase with spell power. Re-casting this spell will return zombies to dust, as will leaving the floor.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       helpful = true,
       WILL_CHECK = true
+
       utility = true,
 +
      no_ghost = true,
 
     },
 
     },
 
     level = 4,
 
     level = 4,
     name = "Cause Fear",
+
     name = "Animate Dead",
     noise = {
+
     noise = { casting = 4, effect = 0 },
       casting = 3,
+
    ["power cap"] = 100,
       effect = 0
+
    schools = {
 +
       Necromancy = true,
 +
    },
 +
  },
 +
  ["Vampiric Draining"] = {
 +
    books = {
 +
      ["book of Necromancy"] = true,
 +
       ["book of Duality"] = true,
 
     },
 
     },
     ["power cap"] = 200,
+
     description = "Steals the life of an adjacent living creature and grants it to the caster.",
    quote = "“And when Miranda sang\n Everyone turned away\n Used to the noose, they obey”\n    -The Mars Volta, “Miranda That Ghost Just Isn't Holy Anymore”. 2005.",
+
     flags = {
     range = {
+
       dir_or_target = true,
       max = 7,
+
       not_self = true,
       min = 7
 
 
     },
 
     },
     rarity = 5,
+
     level = 3,
 +
    name = "Vampiric Draining",
 +
    noise = { casting = 3, effect = 0 },
 +
    ["power cap"] = 100,
 +
    range = { max = 1, min = 1 },
 
     schools = {
 
     schools = {
       Hexes = true
+
       Necromancy = true,
     }
+
     },
 
   },
 
   },
   ["Chain Lightning"] = {
+
   ["Haunt"] = {
 
     books = {
 
     books = {
       ["book of Annihilations"] = true
+
       ["book of Death"] = true,
 +
      ["Necronomicon"] = true,
 
     },
 
     },
     description = "Releases a massive electrical discharge that arcs from target to target until it grounds out. It may ground out harmlessly if there are no targets sufficiently close to the caster. Its damage partially bypasses armour.",
+
     description = "Calls wraiths and ghosts to haunt the caster's target. They will only attack the creature they are haunting, and will dissipate quickly once their target dies. The number of spectres summoned increases with spell power.",
 
     flags = {
 
     flags = {
       AREA = true
+
       target = true,
    },
+
      not_self = true,
    level = 8,
+
       mons_abjure = true,
    name = "Chain Lightning",
 
    noise = {
 
       casting = 8,
 
      effect = 25
 
 
     },
 
     },
 +
    level = 7,
 +
    name = "Haunt",
 +
    noise = { casting = 7, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     quote = "“The trouble ain't that there is too many fools,\n but that the lightning ain't distributed right.”\n    -traditionally attributed to Samuel Clemens",
+
     range = { max = 8, min = 8 },
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Air = true,
+
       Necromancy = true,
       Conjuration = true
+
       Summoning = true,
     }
+
     },
 
   },
 
   },
   ["Confusing Touch"] = {
+
   ["Borgnjor's Revivification"] = {
 
     books = {
 
     books = {
       ["book of Maledictions"] = true,
+
       ["Necronomicon"] = true,
      ["book of Misfortune"] = true
 
 
     },
 
     },
     description = "Enchants the caster's dominant hand with magical energy. This energy is released when the caster touches a monster, and may induce a state of confusion in the monster. The caster's attacks do no damage while attempting to touch a monster in this way.",
+
     description = "Instantly heals any and all wounds suffered by the caster, but also permanently damages their health, to a degree dependent on (and inversely related to) power.<br><br>It is powerful enough to cancel the effects of Death's Door, although doing so will briefly paralyse the caster. It has no effect on the undead.",
     flags = {},
+
     flags = {
    level = 3,
+
       utility = true,
    name = "Confusing Touch",
 
    noise = {
 
       casting = 2,
 
      effect = 0
 
 
     },
 
     },
     ["power cap"] = 100,
+
    level = 8,
    rarity = 1,
+
    name = "Borgnjor's Revivification",
 +
    noise = { casting = 8, effect = 0 },
 +
     ["power cap"] = 200,
 
     schools = {
 
     schools = {
       Hexes = true
+
       Necromancy = true,
     }
+
     },
 
   },
 
   },
   ["Conjure Ball Lightning"] = {
+
   ["Freeze"] = {
 
     books = {
 
     books = {
       ["book of the Sky"] = true
+
       ["book of Frost"] = true,
 
     },
 
     },
     description = "Creates a pack of ball lightnings, which seek out the nearest enemy before exploding in a huge blast of electricity. Casters are advised to use caution; the lightning is not mindful of what it may hit.\n\nThe magic which keeps ball lightnings cohesive has limited range, so they may dissipate harmlessly if allowed to drift too far away from their caster before exploding.",
+
     description = "Freezes an adjacent creature, dealing damage that bypasses any armour the target may have. This may temporarily slow cold-blooded creatures.",
 
     flags = {
 
     flags = {
       SELFENCH = true
+
       dir_or_target = true,
 +
      not_self = true,
 +
      destructive = true,
 
     },
 
     },
     level = 6,
+
     level = 1,
     name = "Conjure Ball Lightning",
+
     name = "Freeze",
     noise = {
+
     noise = { casting = 1, effect = 0 },
      casting = 6,
+
    ["power cap"] = 25,
       effect = 25
+
    range = { max = 1, min = 1 },
 +
    schools = {
 +
       Ice = true,
 
     },
 
     },
 +
  },
 +
  ["Ozocubu's Refrigeration"] = {
 +
    books = {
 +
      ["book of Ice"] = true,
 +
      ["the Unrestrained Analects"] = true,
 +
    },
 +
    description = "Turns the air bitterly cold, freezing all other creatures in line of sight. This is less effective against creatures packed tightly together - those adjacent to others will be partly insulated from the cold, taking less damage.",
 +
    flags = {
 +
      area = true,
 +
      destructive = true,
 +
    },
 +
    level = 7,
 +
    name = "Ozocubu's Refrigeration",
 +
    noise = { casting = 7, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Air = true,
+
       Ice = true,
      Conjuration = true
+
     },
     }
 
 
   },
 
   },
   ["Conjure Flame"] = {
+
   ["Sticky Flame"] = {
 
     books = {
 
     books = {
      ["book of Clouds"] = true,
 
 
       ["book of Flames"] = true,
 
       ["book of Flames"] = true,
       ["book of Minor Magic"] = true
+
       ["Everburning Encyclopedia"] = true,
 
     },
 
     },
     description = "Create a cloud of magically sustained fire at the caster's feet. The fire takes a moment to begin burning with vigor and in its fragile initial state is easily smothered by either the caster or a wandering monster. Re-casting the spell will bring the fire fully to life, but will burn the caster.",
+
     description = "Unleashes a short-ranged spray of incendiary goo that clings to an adjacent creature and deals armour-ignoring fire damage over several turns. If the victim is allowed to move, it will put out the fire prematurely.<br><br>If the target is insubstantial, the liquid fire will fail to stick.",
 
     flags = {
 
     flags = {
       NOT_SELF = true,
+
       dir_or_target = true,
       TARGET = true
+
       destructive = true,
    },
+
       needs_tracer = true,
    level = 3,
 
    name = "Conjure Flame",
 
    noise = {
 
       casting = 3,
 
      effect = 2
 
 
     },
 
     },
 +
    level = 4,
 +
    name = "Sticky Flame",
 +
    noise = { casting = 4, effect = 0 },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
     rarity = 1,
+
     range = { max = 1, min = 1 },
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Fire = true,
       Fire = true
+
       Alchemy = true,
     }
+
     },
 
   },
 
   },
   ["Controlled Blink"] = {
+
   ["Summon Ice Beast"] = {
 
     books = {
 
     books = {
       ["book of the Warp"] = true
+
      ["book of Beasts"] = true,
 +
       ["book of the Tundra"] = true,
 
     },
 
     },
     description = "Translocates the caster a short distance, with precise control. Be wary that controlled translocations will cause the subject to become contaminated with magical energy.",
+
     description = "Calls forth a beast of ice to serve the caster. The strength of the beast depends on spell power.",
 
     flags = {
 
     flags = {
      EMERGENCY = true,
 
      ESCAPE = true,
 
      UTILITY = true
 
 
     },
 
     },
     level = 8,
+
     level = 3,
     name = "Controlled Blink",
+
     name = "Summon Ice Beast",
     noise = {
+
     noise = { casting = 3, effect = 0 },
       casting = 2,
+
    ["power cap"] = 100,
       effect = 0
+
    schools = {
 +
       Ice = true,
 +
       Summoning = true,
 
     },
 
     },
    ["power cap"] = 0,
 
    rarity = 15,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   Corona = {
+
   ["Ozocubu's Armour"] = {
 
     books = {
 
     books = {
       ["book of Cantrips"] = true,
+
       ["book of Battle"] = true,
       ["book of Debilitation"] = true,
+
       ["book of Winter"] = true,
      ["book of Maledictions"] = true
 
 
     },
 
     },
     description = "Causes a halo of glowing light to surround and effectively outline a creature. This glow offsets the dark, musty atmosphere of the dungeon, and makes the affected creature appreciably easier to hit.",
+
     description = "Envelops the caster's body in a protective layer of thick ice, granting a substantial bonus to armour as long as they remain in their current location. The ice will crack and fall away if the caster moves to a new position. The spell decreases in effectiveness in heavier armour, granting a lower bonus the higher the encumbrance rating of the caster's armour.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       no_ghost = true,
      WILL_CHECK = true,
 
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 1,
+
     level = 3,
     name = "Corona",
+
     name = "Ozocubu's Armour",
     noise = {
+
     noise = { casting = 3, effect = 0 },
      casting = 1,
+
    ["power cap"] = 100,
       effect = 2
+
    schools = {
 +
       Ice = true,
 
     },
 
     },
    ["power cap"] = 40,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 2,
 
    schools = {
 
      Hexes = true
 
    }
 
 
   },
 
   },
   ["Corpse Rot"] = {
+
   ["Call Imp"] = {
 
     books = {
 
     books = {
       ["book of Death"] = true,
+
       ["book of Minor Magic"] = true,
       ["Fen Folio"] = true
+
       ["book of Callings"] = true,
 
     },
 
     },
     description = "Rapidly accelerates the decomposition of any corpses lying around the caster, and gathers the foul miasmic vapour around the caster. The clouds eat away at the life force of any creature they envelop.",
+
     description = "Calls forth a minor demon from the pits of Hell, equipped with a spear with which to jab at the caster's enemies. The quality of the imp's weaponry rises with spell power.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       unholy = true,
      NEUTRAL = true,
 
      UNCLEAN = true
 
 
     },
 
     },
 
     level = 2,
 
     level = 2,
     name = "Corpse Rot",
+
     name = "Call Imp",
     noise = {
+
     noise = { casting = 2, effect = 0 },
      casting = 2,
+
     ["power cap"] = 50,
      effect = 0
 
    },
 
     ["power cap"] = 0,
 
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Summoning = true,
     }
+
     },
 
   },
 
   },
   ["Dazzling Flash"] = {
+
   ["Dispel Undead"] = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true,
+
       ["book of Decay"] = true,
       ["book of Maledictions"] = true
+
       ["book of Touch"] = true,
 
     },
 
     },
     description = "The caster erupts in a scintillating display of light. Any living creature nearby may be dazzled and left stumbling blindly.",
+
     description = "Harms an adjacent undead creature greatly by interfering with the forces binding it together.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       dir_or_target = true,
       NO_GHOST = true
+
       needs_tracer = true,
 
     },
 
     },
     level = 3,
+
     level = 4,
     name = "Dazzling Flash",
+
     name = "Dispel Undead",
     noise = {
+
     noise = { casting = 4, effect = 0 },
      casting = 0,
+
     ["power cap"] = 100,
      effect = 0
+
     range = { max = 1, min = 1 },
    },
+
    schools = {
     ["power cap"] = 50,
+
       Necromancy = true,
     range = {
 
      max = 3,
 
       min = 2
 
 
     },
 
     },
    rarity = 2,
 
    schools = {
 
      Conjuration = true,
 
      Hexes = true
 
    }
 
 
   },
 
   },
   ["Death Channel"] = {
+
   ["Sublimation of Blood"] = {
 
     books = {
 
     books = {
       ["book of Unlife"] = true
+
       ["book of Blood"] = true,
 +
      ["book of Maladies"] = true,
 
     },
 
     },
     description = "Raises living creatures slain by the caster and their allies, reducing them to a state of spectral slavery.",
+
     description = "Converts some of the caster's blood into magical energy. The process is painful but never directly lethal. The efficiency of the conversion increases with the spell's power.",
 
     flags = {
 
     flags = {
       HELPFUL = true,
+
       utility = true,
      UTILITY = true
 
 
     },
 
     },
     level = 6,
+
     level = 2,
     name = "Death Channel",
+
     name = "Sublimation of Blood",
     noise = {
+
     noise = { casting = 2, effect = 0 },
      casting = 5,
+
    ["power cap"] = 100,
       effect = 0
+
    schools = {
 +
       Necromancy = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 10,
 
    schools = {
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   ["Death's Door"] = {
+
   ["Tukima's Dance"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["book of Weapons"] = true,
 +
      ["Great Wizards, Vol. VII"] = true,
 
     },
 
     },
     description = "Renders the caster nigh invulnerable to harm for a brief period, but brings them dangerously close to death in the process. So close, in fact, that the body believes itself to be dead — healing effects will do nothing.\n\nThe caster will receive one warning shortly before the spell expires. After expiry, the spell cannot immediately be recast, but with high power the caster will be left more resilient when the effect ends. It has no effect on those who are already undead.",
+
     description = "Animates the weapon of a targeted foe, ripping it from their hands and causing it to attack them relentlessly. Once the target dies, the weapon will fall to the ground shortly thereafter.<br><br>Certain powerful named artefacts cannot be animated, and any properties that require skill in evocations will not be active.",
 
     flags = {
 
     flags = {
       EMERGENCY = true,
+
       dir_or_target = true,
       NO_GHOST = true,
+
       not_self = true,
       UTILITY = true
+
       needs_tracer = true,
 +
      WL_check = true,
 
     },
 
     },
     level = 8,
+
     level = 3,
     name = "Death's Door",
+
     name = "Tukima's Dance",
     noise = {
+
     noise = { casting = 3, effect = 0 },
      casting = 6,
+
    ["power cap"] = 100,
       effect = 0
+
    range = { max = 8, min = 8 },
 +
    schools = {
 +
       Hexes = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = -1,
 
    schools = {
 
      Charms = true,
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   Discord = {
+
   ["Stone Arrow"] = {
 
     books = {
 
     books = {
       ["book of Hexes"] = true
+
       ["book of Geomancy"] = true,
 +
      ["book of Armaments"] = true,
 
     },
 
     },
     description = "Drives nearby creatures into an insane frenzy, causing them to mercilessly attack anything and everything nearby with great strength and speed.",
+
     description = "Fires a sharp spine of rock.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       dir_or_target = true,
       HASTY = true
+
       needs_tracer = true,
 
     },
 
     },
     level = 8,
+
     level = 3,
     name = "Discord",
+
     name = "Stone Arrow",
     noise = {
+
     noise = { casting = 3, effect = 0 },
      casting = 6,
+
     ["power cap"] = 50,
      effect = 0
+
     range = { max = 4, min = 4 },
    },
 
     ["power cap"] = 200,
 
     rarity = 7,
 
 
     schools = {
 
     schools = {
       Hexes = true
+
       Conjuration = true,
     }
+
      Earth = true,
   },
+
     },
   Disjunction = {
+
   },
 +
   ["Shock"] = {
 
     books = {
 
     books = {
       ["book of the Warp"] = true
+
       ["book of Air"] = true,
 
     },
 
     },
     description = "Destabilizes the space in a sphere around the caster for a while, causing anyone nearby to blink away from the caster. The chance of blinking depends on the distance from the caster, being nearly certain when directly adjacent. It causes magical contamination when cast.",
+
     description = "Throws a bouncing bolt of electricity. It bypasses half of defenders' armour.",
 
     flags = {
 
     flags = {
       ESCAPE = true,
+
       dir_or_target = true,
       UTILITY = true
+
       needs_tracer = true,
 
     },
 
     },
     level = 8,
+
     level = 1,
     name = "Disjunction",
+
     name = "Shock",
     noise = {
+
     noise = { casting = 1, effect = 0 },
       casting = 6,
+
    ["power cap"] = 25,
       effect = 0
+
    range = { max = 8, min = 8 },
 +
    schools = {
 +
       Conjuration = true,
 +
       Air = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 15,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   ["Dispel Undead"] = {
+
   ["Swiftness"] = {
 
     books = {
 
     books = {
       ["book of Death"] = true
+
       ["book of Air"] = true,
 +
      ["book of Burglary"] = true,
 
     },
 
     },
     description = "Harms an adjacent undead creature greatly by interfering with the forces binding it together.",
+
     description = "Calls forth winds to greatly increase the caster's movement speed. After the effect ends, the caster's movements will be sluggish for a time.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       hasty = true,
       NEEDS_TRACER = true
+
       selfench = true,
    },
+
       utility = true,
    level = 4,
 
    name = "Dispel Undead",
 
    noise = {
 
       casting = 4,
 
      effect = 2
 
 
     },
 
     },
 +
    level = 3,
 +
    name = "Swiftness",
 +
    noise = { casting = 3, effect = 0 },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
    range = {
 
      max = 1,
 
      min = 1
 
    },
 
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Air = true,
     }
+
     },
 
   },
 
   },
   Dispersal = {
+
   ["Death Channel"] = {
 
     books = {
 
     books = {
       ["book of the Warp"] = true
+
       ["book of Unlife"] = true,
 +
      ["book of Wicked Creation"] = true,
 
     },
 
     },
     description = "Teleports away any creatures within a short distance of the caster. Any creature that resists the effect will still be irresistibly blinked a shorter distance, and any monster it affects at all has a chance of being confused by the warping of space.",
+
     description = "Binds the souls of slain living, demonic and holy creatures, forcing their spectres to remain and fight for the caster for as long as the channel lasts.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       helpful = true,
       ESCAPE = true
+
       selfench = true,
 +
      utility = true,
 
     },
 
     },
 
     level = 6,
 
     level = 6,
     name = "Dispersal",
+
     name = "Death Channel",
     noise = {
+
     noise = { casting = 6, effect = 0 },
      casting = 5,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     schools = {
       max = 4,
+
       Necromancy = true,
      min = 1
 
 
     },
 
     },
    rarity = 15,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   ["Dragon Form"] = {
+
   ["Airstrike"] = {
 
     books = {
 
     books = {
       ["book of the Dragon"] = true,
+
       ["book of Air"] = true,
       ["book of Transfigurations"] = true
+
       ["book of Storms"] = true,
 
     },
 
     },
     description = "Transforms the caster into a mighty, fire-breathing dragon. The caster becomes highly resistant to fire and resistant to poison, but vulnerable to cold. The caster becomes able to deal incredible damage in melee combat, and they become much more robust, although their evasiveness is reduced.\n\nWhile transformed, any equipped weapons and armour are melded.",
+
     description = "Causes the air around a creature to twist itself into a whirling vortex of meteorological fury. It does more damage to targets surrounded by empty space.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       target = true,
       HELPFUL = true,
+
       not_self = true,
       UTILITY = true
+
       destructive = true,
    },
 
    level = 7,
 
    name = "Dragon Form",
 
    noise = {
 
      casting = 6,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 4,
 +
    name = "Airstrike",
 +
    noise = { casting = 4, effect = 4 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 8,
+
     range = { max = 8, min = 8 },
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Air = true,
     }
+
     },
 
   },
 
   },
   ["Dragon's Call"] = {
+
   ["Confusing Touch"] = {
 
     books = {
 
     books = {
       ["book of the Dragon"] = true
+
       ["book of Debilitation"] = true,
 +
      ["book of Touch"] = true,
 
     },
 
     },
     description = "Issues a powerful call to a draconic realm, beckoning forth dragon after dragon to engage the summoner's enemies. The spell is taxing to maintain, and each new dragon which answers the call will further drain the summoner's magical reserves. After the call ends, it cannot be issued again for a short time.",
+
     description = "Enchants the caster's dominant hand with magical energy. This energy is released when the caster touches a monster, and may induce a state of confusion in the monster. The caster's attacks do no damage while attempting to touch a monster in this way.",
     flags = {},
+
     flags = {
    level = 9,
+
      selfench = true,
    name = "Dragon's Call",
+
       WL_check = true,
    noise = {
 
       casting = 7,
 
      effect = 15
 
 
     },
 
     },
     ["power cap"] = 200,
+
     level = 3,
     quote = "“This is where the dragons went.\n They lie...\n Not dead, not asleep. Not waiting, because waiting implies expectation.\n Possibly the word we're looking for here is...\n ...dormant.\n And although the space they occupy isn't like normal space, nevertheless\n  they are packed in tightly. Not a cubic inch there but is filled by a claw,\n  a talon, a scale, the tip of a tail, so the effect is like one of those\n  trick drawings and your eyeballs eventually realise that the space between\n  each dragon is, in fact, another dragon.\n They could put you in mind of a can of sardines, if you thought sardines\n  were huge and scaly and proud and arrogant.\n And presumably, somewhere, there's the key.”\n    -Terry Pratchett, “Guards! Guards!”. 1990.",
+
     name = "Confusing Touch",
     rarity = 15,
+
    noise = { casting = 3, effect = 0 },
 +
     ["power cap"] = 100,
 
     schools = {
 
     schools = {
       Summoning = true
+
       Hexes = true,
     }
+
     },
 
   },
 
   },
   ["Ensorcelled Hibernation"] = {
+
   ["Passwall"] = {
 
     books = {
 
     books = {
       ["book of Dreams"] = true,
+
       ["book of Geomancy"] = true,
       ["book of Maledictions"] = true
+
       ["book of Burglary"] = true,
 
     },
 
     },
     description = "Lowers its target's metabolic rate, inducing hibernation. After awakening, the target will be unable to be put to sleep again for some time.",
+
     description = "Allows the caster to travel a short distance through an adjacent rock wall and emerge again on the other side. This spell takes an unusally long time to cast, during which the caster will be unable to act, but also gain increased armour from their attunement to the rock.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       target = true,
       WILL_CHECK = true,
+
       not_self = true,
       NEEDS_TRACER = true,
+
       silent = true,
       NOT_SELF = true
+
       escape = true,
 +
      utility = true,
 
     },
 
     },
     level = 2,
+
     level = 3,
     name = "Ensorcelled Hibernation",
+
     name = "Passwall",
     noise = {
+
     noise = { casting = 0, effect = 0 },
      casting = 0,
+
     ["power cap"] = 100,
      effect = 2
+
     range = { max = 3, min = 3 },
    },
+
     schools = {
     ["power cap"] = 56,
+
       Earth = true,
     quote = "“Sweet dreams are made of this; who am I to disagree?”\n    -Eurythmics, “Sweet Dreams (Are Made of This)”. 1983.",
 
     range = {
 
       max = 7,
 
      min = 7
 
 
     },
 
     },
    rarity = 2,
 
    schools = {
 
      Hexes = true,
 
      Ice = true
 
    }
 
 
   },
 
   },
   ["Eringya's Noxious Bog"] = {
+
   ["Ignite Poison"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["Everburning Encyclopedia"] = true,
       ["Fen Folio"] = true
+
       ["book of Blood"] = true,
 
     },
 
     },
     description = "Causes the caster to release a torrent of sludge, which transforms the dungeon into a toxic bog in the caster's wake. The sludge damages and poisons all monsters, even those resistant to poison. The sludge is temporary, cannot replace deep water or lava, and cannot be sustained out of the caster's sight. Spellpower will increase both the duration of the torrent and how long the sludge lingers.",
+
     description = "Converts all nearby poison into liquid flame, burning poisoned creatures from within. It also turns clouds of poison and mephitic gases into flame. The caster is not affected directly.",
 
     flags = {
 
     flags = {
       SELFENCH = true
+
       area = true,
 +
      destructive = true,
 
     },
 
     },
     level = 6,
+
     level = 4,
     name = "Eringya's Noxious Bog",
+
     name = "Ignite Poison",
     noise = {
+
     noise = { casting = 4, effect = 0 },
       casting = 2,
+
    ["power cap"] = 100,
       effect = 0
+
    schools = {
 +
       Fire = true,
 +
       Alchemy = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 4,
 
    schools = {
 
      Poison = true,
 
      Transmutation = true
 
    }
 
 
   },
 
   },
   ["Excruciating Wounds"] = {
+
   ["Call Canine Familiar"] = {
 
     books = {
 
     books = {
       ["book of Death"] = true
+
       ["book of Callings"] = true,
 +
      ["book of the Hunter"] = true,
 
     },
 
     },
     description = "Temporarily infuses the weapon held by the caster with the essence of pain itself. It will not affect artefact weapons.",
+
     description = "Summons an inugami to the caster's aid. These mystical canines form a bond with their summoner, strengthening them in direct proportion with the caster's spellpower.<br><br>Recasting this spell while your familiar is nearby will imbue it with additional magic, mending some of its wounds and causing its next attack to strike more quickly and cleave adjacent foes.",
 
     flags = {
 
     flags = {
      HELPFUL = true
 
 
     },
 
     },
     level = 5,
+
     level = 3,
     name = "Excruciating Wounds",
+
     name = "Call Canine Familiar",
     noise = {
+
     noise = { casting = 3, effect = 0 },
      casting = 4,
+
    ["power cap"] = 100,
       effect = 15
+
    schools = {
 +
       Summoning = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 11,
 
    schools = {
 
      Charms = true,
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   ["Fire Storm"] = {
+
   ["Ensorcelled Hibernation"] = {
 
     books = {
 
     books = {
       ["book of Annihilations"] = true
+
       ["book of Burglary"] = true,
 +
      ["book of Dreams"] = true,
 
     },
 
     },
     description = "Calls forth a mighty storm of roaring flame directly onto the target, dealing damage in a large area and leaving behind short-lived fire vortices. A portion of its damage bypasses fire resistance.",
+
     description = "Lowers its target's metabolic rate, inducing hibernation. After awakening, the target will be unable to be put to sleep again for some time.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       dir_or_target = true,
       NEEDS_TRACER = true,
+
       not_self = true,
       TARGET = true
+
       silent = true,
 +
      needs_tracer = true,
 +
      WL_check = true,
 
     },
 
     },
     level = 9,
+
     level = 2,
     name = "Fire Storm",
+
     name = "Ensorcelled Hibernation",
     noise = {
+
     noise = { casting = 0, effect = 0 },
      casting = 9,
+
     ["power cap"] = 50,
      effect = 25
+
     range = { max = 8, min = 8 },
    },
+
     schools = {
     ["power cap"] = 200,
+
       Hexes = true,
     quote = "“Some have said there is no subtlety to destruction. You know what? They're dead.”\n    -Jaya Ballard, task mage (Magic: the Gathering)",
+
       Ice = true,
     range = {
 
       max = 5,
 
       min = 5
 
 
     },
 
     },
    rarity = -1,
 
    schools = {
 
      Conjuration = true,
 
      Fire = true
 
    }
 
 
   },
 
   },
   Fireball = {
+
   ["Metabolic Englaciation"] = {
 
     books = {
 
     books = {
       ["book of Fire"] = true,
+
       ["book of Winter"] = true,
       ["book of Flames"] = true
+
       ["book of Sloth"] = true,
 
     },
 
     },
     description = "Hurls an explosive ball of fire.",
+
     description = "Lowers the metabolic rate of every creature in the caster's vicinity, slowing all those who are not resistant to cold. Cold-blooded creatures will be affected much more strongly, and tougher creatures will be slowed for a shorter time.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
      NEEDS_TRACER = true
 
 
     },
 
     },
 
     level = 5,
 
     level = 5,
     name = "Fireball",
+
     name = "Metabolic Englaciation",
     noise = {
+
     noise = { casting = 5, effect = 0 },
      casting = 5,
 
      effect = 15
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     schools = {
       max = 5,
+
       Hexes = true,
       min = 5
+
       Ice = true,
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Conjuration = true,
 
      Fire = true
 
    }
 
 
   },
 
   },
   ["Foxfire"] = {
+
   ["Silence"] = {
 
     books = {
 
     books = {
       ["book of Flames"] = true,
+
       ["book of the Senses"] = true,
       ["book of the Dragon"] = true
+
       ["book of the Moon"] = true,
 
     },
 
     },
     description = "Conjures two balls of burning swamp gas adjacent to the caster. The balls will rapidly seek the nearest monster and burn them. They will dissipate harmlessly if unable to reach a target or if the caster swaps places with them.",
+
     description = "Eliminates all sound near the caster. This makes reading scrolls, casting spells, invoking divine abilities, or shouting impossible in the caster's vicinity. The spell's oppressive, unnatural effect will greatly hamper stealth.<br><br>Certain monsters have innate magical or special abilities which will still be usable while silenced.<br><br>The effect starts out with a radius depending on power, which will then shrink, eventually covering only the caster, before it times out.",
 
     flags = {
 
     flags = {
       SELFENCH = true,
+
       silent = true,
 +
      area = true,
 
     },
 
     },
     level = 1,
+
     level = 5,
     name = "Foxfire",
+
     name = "Silence",
     noise = {
+
     noise = { casting = 0, effect = 0 },
      casting = 1,
+
     ["power cap"] = 200,
      effect = 2
 
    },
 
     ["power cap"] = 25,
 
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Hexes = true,
       Fire = true
+
       Air = true,
     }
+
     },
 
   },
 
   },
   Freeze = {
+
   ["Shatter"] = {
 
     books = {
 
     books = {
       ["book of Frost"] = true
+
       ["book of Annihilations"] = true,
 
     },
 
     },
     description = "Freezes an adjacent creature, dealing damage that bypasses any armour the target may have. This may temporarily slow cold-blooded creatures.",
+
     description = "Causes an enormous burst of concussive force around the caster, dealing severe damage to all nearby creatures. It is especially effective against those made from ice, bone, or any wall-like substance (such as rock, metal or crystal), as well as those turned to stone by petrification. It is less effective against flying, gelatinous and insubstantial creatures. It may also destroy nearby walls.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
       NOT_SELF = true
+
       destructive = true,
 
     },
 
     },
     level = 1,
+
     level = 9,
     name = "Freeze",
+
     name = "Shatter",
     noise = {
+
     noise = { casting = 9, effect = 30 },
      casting = 1,
+
     ["power cap"] = 200,
      effect = 0
+
     schools = {
    },
+
       Earth = true,
     ["power cap"] = 25,
 
     range = {
 
       max = 1,
 
      min = 1
 
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Ice = true
 
    }
 
 
   },
 
   },
   ["Freezing Cloud"] = {
+
   ["Dispersal"] = {
 
     books = {
 
     books = {
       ["book of Clouds"] = true,
+
       ["book of the Warp"] = true,
       ["book of Ice"] = true
+
       ["There-And-Back Book"] = true,
 
     },
 
     },
     description = "Conjures up a large cloud of lethally cold vapour.",
+
     description = "Teleports away any creatures within a short distance of the caster. Any creature with the Will to resist will still be irresistibly blinked a shorter distance, and any monster it affects at all has a separate Will-based chance of being confused by the warping of space.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       escape = true,
       CLOUD = true,
+
       area = true,
      NEEDS_TRACER = true,
 
      TARGET = true
 
    },
 
    level = 5,
 
    name = "Freezing Cloud",
 
    noise = {
 
      casting = 6,
 
      effect = 2
 
 
     },
 
     },
 +
    level = 6,
 +
    name = "Dispersal",
 +
    noise = { casting = 6, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 4, min = 1 },
      max = 5,
+
    schools = {
       min = 5
+
       Translocation = true,
 
     },
 
     },
    rarity = 6,
 
    schools = {
 
      Air = true,
 
      Conjuration = true,
 
      Ice = true
 
    }
 
 
   },
 
   },
   ["Frozen Ramparts"] = {
+
   ["Static Discharge"] = {
 
     books = {
 
     books = {
       ["book of Frost"] = true
+
       ["book of Storms"] = true,
 
     },
 
     },
     description = "Encases surrounding walls with ice for a short time. Victims that wander near the icy walls will be damaged, and this may temporarily slow cold-blooded creatures. The damage dealt bypasses any armour the target may have. Each victim is only ever affected by one icy wall at a time.",
+
     description = "Releases electrical charges against those next to the caster. These may arc to other adjacent creatures, or back to the caster, before eventually grounding out. It deals reduced damage when arcing to the caster, and the damage dealt bypasses half of defenders' armour.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       area = true,
      NO_GHOST = true
 
    },
 
    level = 3,
 
    name = "Frozen Ramparts",
 
    noise = {
 
      casting = 3,
 
      effect = 8
 
 
     },
 
     },
 +
    level = 2,
 +
    name = "Static Discharge",
 +
    noise = { casting = 2, effect = 0 },
 
     ["power cap"] = 50,
 
     ["power cap"] = 50,
     range = {
+
     range = { max = 1, min = 1 },
       max = 2,
+
    schools = {
       min = 2
+
       Conjuration = true,
 +
       Air = true,
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Ice = true
 
    }
 
 
   },
 
   },
   ["Fulminant Prism"] = {
+
   ["Alistair's Intoxication"] = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true
+
       ["book of Party Tricks"] = true,
 +
      ["Great Wizards, Vol. II"] = true,
 
     },
 
     },
     description = "Conjures a prism which unleashes a violent explosion of arcane force after a short duration. The prism is extremely fragile and any damage caused to it may result in premature detonation.",
+
     description = "Converts a small portion of the brain matter of those around you into alcohol, attempting to confuse all intelligent creatures within view (although poison-resistant creatures may resist the effects). The caster will experience vertigo briefly if they successfully make contact with other minds. It is frequently used as an icebreaker at wizard parties.",
 
     flags = {
 
     flags = {
      AREA = true,
 
      NOT_SELF = true,
 
      TARGET = true
 
 
     },
 
     },
     level = 4,
+
     level = 5,
     name = "Fulminant Prism",
+
     name = "Alistair's Intoxication",
     noise = {
+
     noise = { casting = 5, effect = 0 },
      casting = 4,
+
     ["power cap"] = 150,
      effect = "0 (If it explodes: 15 for a weak explosion, 20 for a normal explosion) "
+
     schools = {
    },
+
       Alchemy = true,
     ["power cap"] = 200,
 
     range = {
 
       max = 4,
 
      min = 4
 
 
     },
 
     },
    rarity = 3,
 
    schools = {
 
      Conjuration = true,
 
      Hexes = true
 
    }
 
 
   },
 
   },
   ["Gell's Gravitas"] = {
+
   ["Lee's Rapid Deconstruction"] = {
 
     books = {
 
     books = {
       ["book of Misfortune"] = true,
+
       ["book of the Earth"] = true,
       ["book of Spatial Translocations"] = true,
+
       ["book of Iron"] = true,
      ["book of the Warp"] = true
 
 
     },
 
     },
     description = "Briefly redirects gravity around a target point, causing 'down' to be towards that point. All nearby creatures, save the caster, fall helplessly toward that point – typically colliding with each other, or with a victim standing there.",
+
     description = "Fragments a wall or a suitably brittle visible monster into an explosion of deadly shrapnel. It can be used on monsters made of ice, bone, or any wall-like substance, as well as those turned to stone by petrification. Its damage is strongly reduced by armour.<br><br>Targets made from rock, stone, ice or bone will cause a small explosion. Metal targets will cause a small but more damaging explosion, and targets made from crystal will cause a large and more damaging explosion.",
 
     flags = {
 
     flags = {
       NEEDS_TRACER = true,
+
       target = true,
       NOT_SELF = true,
+
       destructive = true,
      TARGET = true
 
    },
 
    level = 3,
 
    name = "Gell's Gravitas",
 
    noise = {
 
      casting = 3,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 5,
 +
    name = "Lee's Rapid Deconstruction",
 +
    noise = { casting = 5, effect = 20 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 8, min = 8 },
      max = 7,
+
    schools = {
       min = 7
+
       Earth = true,
 
     },
 
     },
    rarity = 1,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   ["Hailstorm"] = {
+
   ["Sandblast"] = {
 
     books = {
 
     books = {
       ["book of Frost"] = true
+
       ["book of Geomancy"] = true,
 
     },
 
     },
     description = "Conjures a cannonade of hail. The peculiarities of the magic involved in creating the hail prevent the spell from hitting monsters adjacent to the caster. Due to the strong impact and cutting edges a significant portion of its damage bypasses cold resistance. However, creatures made of pure ice are immune.",
+
     description = "Blasts a target with high-velocity rock shards. Gathering the rock from ambient grit is slow, making this spell take one-and-a-half times as long to cast as most. Its damage is strongly reduced by armour.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
 +
      not_self = true,
 +
      destructive = true,
 +
      needs_tracer = true,
 
     },
 
     },
     level = 4,
+
     level = 1,
     name = "Hailstorm",
+
     name = "Sandblast",
     noise = {
+
     noise = { casting = 1, effect = 0 },
      casting = 4,
+
    ["power cap"] = 50,
       effect = 2
+
    range = { max = 4, min = 4 },
 +
    schools = {
 +
       Earth = true,
 
     },
 
     },
    ["power cap"] = 100,
 
    range = {
 
      max = 3,
 
      min = 2
 
    },
 
    rarity = 4,
 
    schools = {
 
      Conjuration = true,
 
      Ice = true
 
    }
 
 
   },
 
   },
   Haunt = {
+
   ["Sculpt Simulacrum"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["book of Wicked Creation"] = true,
 +
      ["book of Cryoformation"] = true,
 
     },
 
     },
     description = "Calls wraiths and ghosts to haunt the caster's target. They will only attack the creature they are haunting, and will dissipate quickly once their target dies.",
+
     description = "Forms icy simulacra of an adjacent living, demonic, or holy creature. These fragile doppelgangers will take shape over a short period of time, eventually gaining the ability to move and attack the caster's enemies.<br><br>The good gods frown on this spell, as it works blood and ichor into unnatural facsimiles.<br><br>You can maintain up to 5 simulacra simultaneously.",
 
     flags = {
 
     flags = {
       MONS_ABJURE = true,
+
       dir_or_target = true,
       NOT_SELF = true,
+
       not_self = true,
       TARGET = true
+
       unholy = true,
    },
+
       needs_tracer = true,
    level = 7,
 
    name = "Haunt",
 
    noise = {
 
       casting = 6,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 6,
 +
    name = "Sculpt Simulacrum",
 +
    noise = { casting = 6, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 1, min = 1 },
       max = 7,
+
    schools = {
       min = 7
+
       Ice = true,
 +
       Alchemy = true,
 
     },
 
     },
    rarity = -1,
 
    schools = {
 
      Necromancy = true,
 
      Summoning = true
 
    }
 
 
   },
 
   },
   ["Hydra Form"] = {
+
   ["Conjure Ball Lightning"] = {
 
     books = {
 
     books = {
       ["book of Transfigurations"] = true,
+
       ["book of the Spheres"] = true,
       ["Fen Folio"] = true
+
       ["book of Chaos"] = true,
 
     },
 
     },
     description = "Transforms the caster into a many-headed hydra for a brief duration. Its many heads strike in all directions. Edible foes slain by the gnashing teeth are instantly devoured, reinvigorating the caster in their reptilian rampage. The caster gains innate armour and increased health, and becomes resistant to poison.\n\nWhile transformed, any equipped weapons and armour are melded. The form's number of heads is fixed upon casting the spell, and increases with power.",
+
     description = "Creates a pack of ball lightnings, which seek out the nearest enemy before exploding in a huge blast of electricity. The damage dealt bypasses half of defenders' armour. Casters are advised to use caution; the lightning is not mindful of what it may hit.<br><br>The magic which keeps ball lightnings cohesive has limited range, so they may dissipate harmlessly if allowed to drift too far away from their caster before exploding.",
 
     flags = {
 
     flags = {
      CHAOTIC = true,
 
      HELPFUL = true,
 
      UTILITY = true
 
 
     },
 
     },
 
     level = 6,
 
     level = 6,
     name = "Hydra Form",
+
     name = "Conjure Ball Lightning",
     noise = {
+
     noise = { casting = 6, effect = 25 },
      casting = 6,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 8,
 
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Conjuration = true,
     }
+
      Air = true,
 +
     },
 
   },
 
   },
   ["Ice Form"] = {
+
   ["Chain Lightning"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true,
+
       ["book of Annihilations"] = true,
      ["book of Ice"] = true
 
 
     },
 
     },
     description = "Transforms the caster into a frozen ice-creature, light enough to float on water. The caster gains a freezing melee attack, and becomes incredibly resistant to cold and resistant to poison, but vulnerable to fire.",
+
     description = "Releases a massive electrical discharge that arcs to the creature nearest the caster and then outward from it. The further it travels, the less damage it does. Secondary arcs have limited range and do little damage to the caster. The spell bypasses half of defenders' armour and resistance to electricity.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       area = true,
      HELPFUL = true,
 
      UTILITY = true
 
 
     },
 
     },
     level = 4,
+
     level = 9,
     name = "Ice Form",
+
     name = "Chain Lightning",
     noise = {
+
     noise = { casting = 9, effect = 25 },
       casting = 3,
+
    ["power cap"] = 200,
       effect = 0
+
    schools = {
 +
       Conjuration = true,
 +
       Air = true,
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 2,
 
    schools = {
 
      Ice = true,
 
      Transmutation = true
 
    }
 
 
   },
 
   },
   ["Ignite Poison"] = {
+
   ["Petrify"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Transmutation"] = true,
       ["book of Fire"] = true,
+
       ["book of Sloth"] = true,
      ["Young Poisoner's Handbook"] = true
 
 
     },
 
     },
     description = "Converts all nearby poison into liquid flame, burning poisoned creatures from within. It also turns clouds of poison and mephitic gases into flame. The caster is not affected directly.",
+
     description = "Petrifies a targeted creature and up to two other foes in a chain. Those which do not muster the Will to resist are briefly slowed, and then turned to stone. Until they return to flesh, they are unable to act, but also take half damage. The spell's power is lessened against secondary targets.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
    },
+
      needs_tracer = true,
    level = 3,
+
       WL_check = true,
    name = "Ignite Poison",
 
    noise = {
 
       casting = 4,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 4,
 +
    name = "Petrify",
 +
    noise = { casting = 4, effect = 0 },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
     rarity = 10,
+
     range = { max = 6, min = 6 },
 
     schools = {
 
     schools = {
       Fire = true,
+
       Alchemy = true,
       Poison = true,
+
       Earth = true,
      Transmutation = true
+
     },
     }
 
 
   },
 
   },
["Ignition"] = {
+
  ["Passage of Golubria"] = {
 
     books = {
 
     books = {
       ["book of Fire"] = true,
+
       ["book of the Moon"] = true,
       ["book of the Tempests"] = true
+
       ["Great Wizards, Vol. VII"] = true,
 
     },
 
     },
     description = "All foes in the caster's surroundings are engulfed in balls of fire. The caster and their allies are protected from the fire and will never be harmed by this spell.",
+
     description = "Opens two gateways (one always near the caster), which allow instantaneous transport to random other open gateways to any creature entering them. There is no limit to the number of gateways that can be open at one time. However, gateways close a short time after being opened, or immediately once entered.",
 
     flags = {
 
     flags = {
       AREA = true
+
       target = true,
 +
      aim_at_space = true,
 +
      escape = true,
 +
      selfench = true,
 
     },
 
     },
     level = 8,
+
     level = 4,
     name = "Ignition",
+
     name = "Passage of Golubria",
     noise = {
+
     noise = { casting = 4, effect = 8 },
      casting = 4,
+
    ["power cap"] = 100,
       effect = 15
+
    range = { max = 8, min = 2 },
 +
    schools = {
 +
       Translocation = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 10,
 
    schools = {
 
      Fire = true
 
    }
 
 
   },
 
   },
   Infestation = {
+
   ["Orb of Destruction"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["book of the Spheres"] = true,
 +
      ["book of Dangerous Friends"] = true,
 
     },
 
     },
     description = "Calls forth a plague of scarabs, infesting affected creatures for a duration depending on power and causing death scarabs to grow and burst from them upon death.",
+
     description = "Conjures an orb made of pure destructive magic. Compared to most other projectiles, these orbs travel at a relatively slow pace. The orbs home onto their targets, yet because of their huge inertia, especially agile opponents may be able to outmanoeuvre them. The orbs need some time to stabilise, and a nascent orb will deal reduced damage.<br><br>Residents of the dungeon are able to maintain the orb until it impacts a target, but when cast by you the orb will dissipate upon leaving your line of sight.",
 
     flags = {
 
     flags = {
       TARGET = true,
+
       dir_or_target = true,
       UNCLEAN = true
+
       not_self = true,
    },
+
       needs_tracer = true,
    level = 8,
 
    name = "Infestation",
 
    noise = {
 
       casting = 8,
 
      effect = 4
 
 
     },
 
     },
 +
    level = 7,
 +
    name = "Orb of Destruction",
 +
    noise = { casting = 7, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 8, min = 8 },
      max = 7,
+
    schools = {
       min = 7
+
       Conjuration = true,
 
     },
 
     },
    rarity = -1,
 
    schools = {
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   Infusion = {
+
   ["Malign Gateway"] = {
 
     books = {
 
     books = {
       ["book of Battle"] = true
+
       ["Grand Grimoire"] = true,
 
     },
 
     },
     description = "Infuses the caster's melee attacks with magic, drawing from their reserves of magical energy to deal additional damage whenever an enemy is hit. It has no effect when the caster's magic is depleted.",
+
     description = "Tears a gash in reality, creating a self-sustained but temporary portal to an unknown, tainted otherworld. It requires open space to succeed. After a short time, a powerful clawed tentacle will reach through the portal, remaining bound to the caster's will for a duration depending on power. With the portal's expiry, the tentacle will be severed and turn on the caster. The duration of the portal increases with spell power.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       unholy = true,
 +
      chaotic = true,
 
     },
 
     },
     level = 1,
+
     level = 7,
     name = "Infusion",
+
     name = "Malign Gateway",
     noise = {
+
     noise = { casting = 7, effect = 15 },
       casting = 1,
+
    ["power cap"] = 200,
       effect = 0
+
    schools = {
 +
       Summoning = true,
 +
       Translocation = true,
 
     },
 
     },
    ["power cap"] = 25,
 
    rarity = 5,
 
    schools = {
 
      Charms = true
 
    }
 
 
   },
 
   },
   ["Inner Flame"] = {
+
   ["Polar Vortex"] = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Ice"] = true,
      ["book of Flames"] = true
 
 
     },
 
     },
     description = "Fills an enemy with an intense fire, to be explosively released upon death. This fire is released any time the target is hit, and explosively released upon death. The size of the explosion caused is dependent on the size of the target.",
+
     description = "Turns the air around the caster into a freezing vortex, doing tremendous damage to everyone caught in it that can only be half-mitigated by resistance to cold. Those affected will also be swept up into the air and tossed around. Only the eye of the storm is a safe place, and it follows the caster. The vortex is unable to follow the caster through long-distance translocations. The spell's effectiveness is greatly diminished in closed areas. After the vortex fades, it cannot be called forth again for a short time.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
       WILL_CHECK = true,
+
       destructive = true,
      NEUTRAL = true,
 
      NOT_SELF = true
 
    },
 
    level = 3,
 
    name = "Inner Flame",
 
    noise = {
 
      casting = 3,
 
      effect = "0 (15 or 20 when the monster explodes, depends on the size of the monster)"
 
 
     },
 
     },
 +
    level = 9,
 +
    name = "Polar Vortex",
 +
    noise = { casting = 9, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 5, min = 5 },
      max = 7,
+
    schools = {
       min = 7
+
       Ice = true,
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Hexes = true,
 
      Fire = true
 
    }
 
 
   },
 
   },
   Invisibility = {
+
   ["Leda's Liquefaction"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of the Earth"] = true,
       ["book of Party Tricks"] = true
+
       ["book of Sloth"] = true,
 
     },
 
     },
     description = "Turns a targeted creature invisible. Turning invisible causes magical contamination and may eventually cause glowing, nullifying the invisibility.",
+
     description = "Liquefies the ground around the caster, making it difficult to move through. Any movement through liquefied ground will be slowed, and creatures stuck in the liquefied ground will be unable to fly. Attempts to attack the caster in melee may fail.<br><br>The effect starts out with a radius depending on power, which will then shrink, eventually covering only the caster, before it times out. Maintaining the connection to the ground slows the caster's movement, even if they are flying.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
      EMERGENCY = true,
 
      HELPFUL = true,
 
      NEEDS_TRACER = true,
 
      SELFENCH = true
 
 
     },
 
     },
     level = 6,
+
     level = 4,
     name = "Invisibility",
+
     name = "Leda's Liquefaction",
     noise = {
+
     noise = { casting = 4, effect = 0 },
      casting = 0,
+
     ["power cap"] = 200,
      effect = 0
+
     schools = {
    },
+
       Alchemy = true,
     ["power cap"] = 50,
+
       Earth = true,
     range = {
 
       max = 7,
 
       min = 7
 
 
     },
 
     },
    rarity = 7,
 
    schools = {
 
      Hexes = true
 
    }
 
 
   },
 
   },
   ["Iron Shot"] = {
+
   ["Summon Hydra"] = {
 
     books = {
 
     books = {
       ["book of Power"] = true,
+
       ["Fen Folio"] = true,
       ["book of the Earth"] = true
+
       ["book of Blood"] = true,
 
     },
 
     },
     description = "Hurls a large and heavy metal shot.",
+
     description = "Summons a many-headed hydra to fight alongside the caster for a short time. Spell power determines the number of heads.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       mons_abjure = true,
      NEEDS_TRACER = true
 
    },
 
    level = 6,
 
    name = "Iron Shot",
 
    noise = {
 
      casting = 6,
 
      effect = 2
 
 
     },
 
     },
 +
    level = 7,
 +
    name = "Summon Hydra",
 +
    noise = { casting = 7, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     schools = {
       max = 4,
+
       Summoning = true,
      min = 4
 
 
     },
 
     },
    rarity = 6,
 
    schools = {
 
      Conjuration = true,
 
      Earth = true
 
    }
 
 
   },
 
   },
   Irradiate = {
+
   ["Inner Flame"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Flames"] = true,
       ["book of Transfigurations"] = true
+
       ["book of Spontaneous Combustion"] = true,
 
     },
 
     },
     description = "Transmutes an ultra-thin layer of the caster's skin (or equivalent) directly into pure magical energy, blasting adjacent creatures and bypassing any armour they may have. It heavily deforms its targets, weakening them and reducing their armour. The caster is not left entirely unaffected; some of the magic lingers, enough to leave them dangerously contaminated after a few castings.",
+
     description = "Fills an enemy with an intense fire. This fire is released any time the target is hit, and explosively released upon death. The size of the explosion caused is dependent on the size of the target.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       target = true,
       CHAOTIC = true
+
       not_self = true,
 +
      destructive = true,
 +
      WL_check = true,
 
     },
 
     },
     level = 5,
+
     level = 3,
     name = "Irradiate",
+
     name = "Inner Flame",
     noise = {
+
     noise = { casting = 3, effect = 0 },
       casting = 4,
+
    ["power cap"] = 100,
       effect = 0
+
    range = { max = 8, min = 8 },
 +
    schools = {
 +
      Hexes = true,
 +
      Fire = true,
 +
    },
 +
  },
 +
  ["Disjunction"] = {
 +
    books = {
 +
      ["book of the Warp"] = true,
 +
       ["book of Chaos"] = true,
 +
    },
 +
    description = "Destabilises the space in a sphere around the caster for a while, causing anyone nearby to blink away from the caster. The chance of blinking depends on the distance from the caster, being nearly certain when directly adjacent.",
 +
    flags = {
 +
      escape = true,
 +
       utility = true,
 
     },
 
     },
 +
    level = 8,
 +
    name = "Disjunction",
 +
    noise = { casting = 8, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     quote = "“Reflex in the sky warn you you're gonna die\n Storm coming, you'd better hide from the atomic tide\n Flashes in the sky turns houses into sties\n Turns people into clay, radiation minds decay”\n    -Black Sabbath, “Electric Funeral”. 1970.",
+
     range = { max = 4, min = 4 },
     range = {
+
     schools = {
       max = 1,
+
       Translocation = true,
      min = 1
 
 
     },
 
     },
    rarity = 8,
 
    schools = {
 
      Conjuration = true,
 
      Transmutation = true
 
    }
 
 
   },
 
   },
 
   ["Iskenderun's Battlesphere"] = {
 
   ["Iskenderun's Battlesphere"] = {
 
     books = {
 
     books = {
       ["book of Power"] = true
+
       ["book of Power"] = true,
 +
      ["book of the Spheres"] = true,
 
     },
 
     },
     description = "Conjures a small globe of magical energy linked to the caster's own magical reserves. While the battlesphere cannot take independent action, it will fire volleys of energy at the caster's enemies in sync with its creator's own destructive conjurations. With increasing power, the battlesphere lasts longer and deals more damage per volley.",
+
     description = "Conjures a small globe of destructive energy. Each time its creator casts a offensive spell, the battlesphere will also fire an unerring volley of energy at the most injured nearby foe it can reach.<br><br>The battlesphere's creator can freely fire through its position without harming it.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       utility = true,
 
     },
 
     },
     level = 5,
+
     level = 4,
 
     name = "Iskenderun's Battlesphere",
 
     name = "Iskenderun's Battlesphere",
     noise = {
+
     noise = { casting = 4, effect = 0 },
      casting = 5,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
    quote = "“Maxim 4: Close air support covereth a multitude of sins.”\n    -Howard Tayler, _The Seventy Maxims of Maximally Effective Mercenaries_,\n    in _Schlock Mercenary_. 2008.",
 
    rarity = 3,
 
 
     schools = {
 
     schools = {
       Charms = true,
+
       Conjuration = true,
       Conjuration = true
+
       Forgecraft = true,
     }
+
     },
 
   },
 
   },
   ["Iskenderun's Mystic Blast"] = {
+
   ["Fulminant Prism"] = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true
+
       ["book of Conjurations"] = true,
 +
      ["book of Blasting"] = true,
 
     },
 
     },
     description = "Detonates a crackling sphere of destructive energy. The explosion will hit all nearby monsters with physical force, knocking them back if damage is done.",
+
     description = "Conjures a shining prism of an unstable soft gold alloy. This is useless as legal tender, however, as it will unfortunately violently explode with arcane force after a short duration. If destroyed prematurely, its blast will be much weaker.",
 
     flags = {
 
     flags = {
       AREA = true
+
       target = true,
 +
      not_self = true,
 +
      area = true,
 +
      no_ghost = true,
 
     },
 
     },
 
     level = 4,
 
     level = 4,
     name = "Iskenderun's Mystic Blast",
+
     name = "Fulminant Prism",
     noise = {
+
     noise = { casting = 4, effect = 20 },
      casting = 4,
+
     ["power cap"] = 200,
      effect = 10
+
     range = { max = 4, min = 4 },
    },
 
     ["power cap"] = 100,
 
     range = {
 
      max = 2,
 
      min = 2
 
    },
 
    rarity = 3,
 
 
     schools = {
 
     schools = {
 
       Conjuration = true,
 
       Conjuration = true,
       Translocation = true
+
       Alchemy = true,
     }
+
     },
 
   },
 
   },
   ["Leda's Liquefaction"] = {
+
   ["Dazzling Flash"] = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Spectacle"] = true,
       ["book of the Earth"] = true
+
       ["book of the Senses"] = true,
 
     },
 
     },
     description = "Liquefies the ground around the caster, making it difficult to move through. Any movement through liquefied ground will be slowed, and creatures stuck in the liquefied ground will be unable to fly. Attempts to attack the caster in melee may fail.\n\nThe effect starts out with a radius depending on power, which will then shrink, eventually covering only the caster, before it times out. Maintaining the connection to the ground slows the caster's movement, even if they are flying.",
+
     description = "The caster erupts in a scintillating display of light. Any living, demonic or angelic creature nearby may be dazzled and left stumbling blindly.",
 
     flags = {
 
     flags = {
       AREA = true
+
       area = true,
 
     },
 
     },
     level = 4,
+
     level = 3,
     name = "Leda's Liquefaction",
+
     name = "Dazzling Flash",
     noise = {
+
     noise = { casting = 3, effect = 0 },
       casting = 3,
+
    ["power cap"] = 50,
       effect = 0
+
    range = { max = 3, min = 2 },
 +
    schools = {
 +
       Hexes = true,
 +
       Fire = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 5,
 
    schools = {
 
      Earth = true,
 
      Hexes = true
 
    }
 
 
   },
 
   },
   ["Lee's Rapid Deconstruction"] = {
+
   ["Fugue of the Fallen"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of Battle"] = true,
       ["book of Geomancy"] = true
+
       ["book of Dreams"] = true,
 
     },
 
     },
     description = "Fragments a wall or a suitably brittle visible monster into an explosion of deadly shrapnel. It can be used on monsters made of ice, bone, or any wall-like substance, as well as those turned to stone by petrification. Its damage is strongly reduced by armour.\n\nTargets made from rock, stone, ice or bone will cause a small explosion. Metal targets will cause a small but more damaging explosion, and targets made from crystal will cause a large and more damaging explosion.",
+
     description = "Calls out to the lingering remnants of the long dead. While active, each non-summoned enemy the caster or their allies slays attracts more vengeful souls into the caster's weapon, temporarily enhancing their melee and ranged effectiveness. When this bonus reaches its maximum, every hit will unleash a glimmer of the dead's suffering, causing pain damage to each other foe adjacent to your target.<br><br>Recasting this spell will release your grip on the souls you've attracted, resetting any bonus you've accumulated, and the cacophonous wailing of the dead may attract unwanted attention even while you maintain it.",
 
     flags = {
 
     flags = {
       TARGET = true
+
       selfench = true,
 
     },
 
     },
     level = 5,
+
     level = 3,
     name = "Lee's Rapid Deconstruction",
+
     name = "Fugue of the Fallen",
     noise = {
+
     noise = { casting = 3, effect = 8 },
      casting = 4,
+
    ["power cap"] = 100,
       effect = 20
+
    schools = {
 +
       Necromancy = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    quote = "“Now the house was full of men and women; and all the lords of the Philistines were there; and there were upon the roof about three thousand men and women, that beheld while Samson made sport.\n\nAnd Samson called unto the LORD, and said, O Lord GOD, remember me, I pray thee, and strengthen me, I pray thee, only this once, O God, that I may be at once avenged of the Philistines for my two eyes.\n\nAnd Samson said, Let me die with the Philistines. And he bowed himself with all his might; and the house fell upon the lords, and upon all the people that were therein. So the dead which he slew at his death were more than they which he slew in his life.”\n    -KJV Bible, Judges 16:28-30.",
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 4,
 
    schools = {
 
      Earth = true
 
    }
 
 
   },
 
   },
   ["Lehudib's Crystal Spear"] = {
+
   ["Searing Ray"] = {
 
     books = {
 
     books = {
       ["book of Annihilations"] = true
+
       ["book of Conjurations"] = true,
 
     },
 
     },
     description = "Hurls a lethally sharp shard of crystal.",
+
     description = "Fires a continuous piercing ray of arcane energy from the caster's hands. So long as the caster maintains focus upon the spell and supplies it with magical power (by waiting in place and not taking any other actions), the ray will follow the caster's target if it should move.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       dir_or_target = true,
       NEEDS_TRACER = true
+
       needs_tracer = true,
 
     },
 
     },
     level = 8,
+
     level = 2,
     name = "Lehudib's Crystal Spear",
+
     name = "Searing Ray",
     noise = {
+
     noise = { casting = 2, effect = 0 },
      casting = 8,
+
     ["power cap"] = 50,
      effect = 0
+
     range = { max = 4, min = 4 },
    },
 
     ["power cap"] = 200,
 
     range = {
 
      max = 3,
 
      min = 3
 
    },
 
    rarity = -1,
 
 
     schools = {
 
     schools = {
 
       Conjuration = true,
 
       Conjuration = true,
      Earth = true
+
     },
     }
 
 
   },
 
   },
   ["Lesser Beckoning"] = {
+
   ["Discord"] = {
 
     books = {
 
     books = {
       ["book of Party Tricks"] = true,
+
       ["book of Chaos"] = true,
       ["book of Spatial Translocations"] = true
+
       ["the Unrestrained Analects"] = true,
 
     },
 
     },
     description = "Beckons the target forward, attempting to place them adjacent to the caster.",
+
     description = "Drives nearby creatures into an wild frenzy, causing them to mercilessly attack anything and everything nearby with great strength and speed.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       hasty = true,
       NEEDS_TRACER = true,
+
       area = true,
       NOT_SELF = true
+
       WL_check = true,
    },
 
    level = 3,
 
    name = "Lesser Beckoning",
 
    noise = {
 
      casting = 2,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 8,
 +
    name = "Discord",
 +
    noise = { casting = 8, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     schools = {
       max = 7,
+
       Hexes = true,
      min = 2
 
 
     },
 
     },
    rarity = 7,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   ["Lightning Bolt"] = {
+
   ["Summon Forest"] = {
 
     books = {
 
     books = {
       ["book of Air"] = true,
+
       ["book of the Wilderness"] = true,
       ["book of the Tempests"] = true
+
       ["Fen Folio"] = true,
 
     },
 
     },
     description = "Fires a mighty bolt of lightning. It inflicts less damage than other similar bolts, but its damage partially bypasses armour and it can be bounced off walls to hit targets twice.",
+
     description = "Forcefully intersects a forested plane with this world. It requires open space to succeed. While the spell holds, a spirit of the forest will be called forth, and the trees of the forest will be awakened to deal damage to nearby enemies. Spell power increases the duration, size, and thickness of the intersected plane; as well as the strength of the spirit.",
 
     flags = {
 
     flags = {
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
 
     },
 
     },
 
     level = 5,
 
     level = 5,
     name = "Lightning Bolt",
+
     name = "Summon Forest",
     noise = {
+
     noise = { casting = 5, effect = 10 },
       casting = 5,
+
    ["power cap"] = 200,
       effect = 25
+
    schools = {
 +
      Summoning = true,
 +
       Translocation = true,
 +
    },
 +
  },
 +
  ["Forge Lightning Spire"] = {
 +
    books = {
 +
      ["book of Storms"] = true,
 +
       ["Codex of Conductivity"] = true,
 
     },
 
     },
     ["power cap"] = 200,
+
     description = "Constructs an immobile lightning spire at a nearby location. This spire irregularly discharges bolts of electricity at the caster's foes, prioritizing whichever of them is most distant from it.",
     range = {
+
     flags = {
      max = 7,
 
      min = 4
 
 
     },
 
     },
     rarity = 4,
+
     level = 4,
 +
    name = "Forge Lightning Spire",
 +
    noise = { casting = 4, effect = 0 },
 +
    ["power cap"] = 100,
 
     schools = {
 
     schools = {
 
       Air = true,
 
       Air = true,
       Conjuration = true
+
       Forgecraft = true,
     }
+
     },
 
   },
 
   },
   ["Magic Dart"] = {
+
   ["Forge Blazeheart Golem"] = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true,
+
       ["book of Dangerous Friends"] = true,
       ["book of Minor Magic"] = true
+
       ["Handbook of Applied Construction"] = true,
 
     },
 
     },
     description = "Fires a small bolt of magical energy which never misses.",
+
     description = "Constructs a shell of slag iron around a volatile elemental spark. It is capable of raining down powerful blows on its creator's adversaries - so powerful that the golem itself is often damaged by their impact.<br><br>Only tenuously independent of its creator's magic, the flames within it will rapidly go dormant if the two ever leave each other's side. If its shell is destroyed while the golem is still active, its exposed core will violently detonate a moment later.<br><br>It gains greater explosive damage at higher power.",
 
     flags = {
 
     flags = {
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 1,
+
     level = 4,
     name = "Magic Dart",
+
     name = "Forge Blazeheart Golem",
     noise = {
+
     noise = { casting = 4, effect = 0 },
       casting = 1,
+
    ["power cap"] = 100,
       effect = 0
+
    schools = {
 +
       Fire = true,
 +
       Forgecraft = true,
 
     },
 
     },
    ["power cap"] = 25,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 1,
 
    schools = {
 
      Conjuration = true
 
    }
 
 
   },
 
   },
   ["Malign Gateway"] = {
+
   ["Dragon's Call"] = {
 
     books = {
 
     books = {
       ["Grand Grimoire"] = true
+
       ["book of the Dragon"] = true,
 
     },
 
     },
     description = "Tears a gash in reality, creating a self-sustained but temporary portal to an unknown, tainted otherworld. It requires open space to succeed. After a short time, a powerful clawed tentacle will reach through the portal, remaining bound to the caster's will for a duration depending on power. With the portal's expiry, the tentacle will be severed and turn on the caster.",
+
     description = "Issues a powerful call to a draconic realm, beckoning forth dragon after dragon to engage the summoner's enemies. The spell is taxing to maintain, and each new dragon which answers the call will further drain the summoner's magical reserves. After the call ends, it cannot be issued again for a short time. The duration of the call and the species of dragons called depend on spell power.",
 
     flags = {
 
     flags = {
      CHAOTIC = true,
 
      UNHOLY = true
 
    },
 
    level = 7,
 
    name = "Malign Gateway",
 
    noise = {
 
      casting = 6,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 9,
 +
    name = "Dragon's Call",
 +
    noise = { casting = 9, effect = 15 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 100,
 
 
     schools = {
 
     schools = {
 
       Summoning = true,
 
       Summoning = true,
      Translocation = true
+
     },
     }
 
 
   },
 
   },
   ["Maxwell's Capacitive Coupling"] = {
+
   ["Spellspark Servitor"] = {
 
     books = {
 
     books = {
       ["book of Lightning"] = true,
+
       ["book of Power"] = true,
       ["book of the Sky"] = true
+
       ["book of Dangerous Friends"] = true,
 
     },
 
     },
     description = "Gradually builds up electric charge in the caster. When a critical threshold is reached the charge couples with the nearest foe, vapourizing them instantly. The resulting charge is so intense it bypasses even electrical immunity.",
+
     description = "Constructs a metallic servant with a spark of the caster's own arcane knowledge at its core. This spark allows the servitor to unleash some of the destructive spells known to its creator, though the strongest and most volatile of magics cannot be imbued in this fashion. The strength of the servitor increases with spell power.<br><br>(While you know this spell, you may choose which of your eligible spells it will cast with the Imbue Servitor ability.)",
 
     flags = {
 
     flags = {
      NO_GHOST = true
 
    },
 
    level = 8,
 
    name = "Maxwell's Capacitive Coupling",
 
    noise = {
 
      casting = 7,
 
      effect = 25
 
 
     },
 
     },
 +
    level = 7,
 +
    name = "Spellspark Servitor",
 +
    noise = { casting = 7, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     schools = {
       max = 5,
+
       Conjuration = true,
       min = 5
+
       Forgecraft = true,
 
     },
 
     },
    rarity = 11,
 
    schools = {
 
      Air = true
 
    }
 
 
   },
 
   },
   ["Mephitic Cloud"] = {
+
   ["Summon Mana Viper"] = {
 
     books = {
 
     books = {
       ["book of Clouds"] = true,
+
       ["book of the Wilderness"] = true,
       ["book of Minor Magic"] = true,
+
       ["book of Beasts"] = true,
      ["Young Poisoner's Handbook"] = true
 
 
     },
 
     },
     description = "Conjures up a short-lived cloud of noxious fumes, which may cause confusion.",
+
     description = "Summons a violet-scaled serpent whose bite can swiftly drain the magical reserves of nearly any foe. At higher power, the antimagic properties of the viper's bite grow even stronger.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       mons_abjure = true,
      CLOUD = true,
 
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
    },
 
    level = 3,
 
    name = "Mephitic Cloud",
 
    noise = {
 
      casting = 3,
 
      effect = 15
 
 
     },
 
     },
 +
    level = 5,
 +
    name = "Summon Mana Viper",
 +
    noise = { casting = 5, effect = 0 },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
     range = {
+
     schools = {
       max = 4,
+
       Hexes = true,
       min = 4
+
       Summoning = true,
 
     },
 
     },
    rarity = 1,
 
    schools = {
 
      Air = true,
 
      Conjuration = true,
 
      Poison = true
 
    }
 
 
   },
 
   },
   ["Metabolic Englaciation"] = {
+
   ["Irradiate"] = {
 
     books = {
 
     books = {
       ["book of Ice"] = true,
+
       ["book of Spontaneous Combustion"] = true,
       ["book of Misfortune"] = true
+
       ["book of Transmutation"] = true,
 
     },
 
     },
     description = "Lowers the metabolic rate of every creature in the caster's vicinity, slowing all those who are not resistant to cold. Those especially vulnerable to cold will be affected much more strongly, and tougher creatures will be slowed for a shorter time.",
+
     description = "Transmutes an ultra-thin layer of the caster's skin (or equivalent) directly into pure magical energy, blasting adjacent creatures. It may heavily deform its victims, weakening them and reducing their armour. The caster is not left entirely unaffected; some of the magic lingers, enough to leave them dangerously contaminated after a few castings.",
 
     flags = {
 
     flags = {
       AREA = true
+
       chaotic = true,
 +
      area = true,
 
     },
 
     },
 
     level = 5,
 
     level = 5,
     name = "Metabolic Englaciation",
+
     name = "Irradiate",
     noise = {
+
     noise = { casting = 5, effect = 0 },
      casting = 4,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 1,
+
     range = { max = 1, min = 1 },
 
     schools = {
 
     schools = {
       Hexes = true,
+
       Conjuration = true,
       Ice = true
+
       Alchemy = true,
     }
+
     },
 
   },
 
   },
   ["Monstrous Menagerie"] = {
+
   ["Yara's Violent Unravelling"] = {
 
     books = {
 
     books = {
       ["Grand Grimoire"] = true
+
       ["book of Misfortune"] = true,
 +
      ["Great Wizards, Vol. VII"] = true,
 
     },
 
     },
     description = "Summons a powerful exotic creature to the caster's aid. It may call forth a harpy, manticore or lindwurm, and at high power may summon a sphinx, or an entire pack of harpies. With high power the individual creatures will also gain increased strength.",
+
     description = "If cast upon a creature already blessed (or cursed) with magical enchantments, those enchantments will be torn apart, transforming into a spray of destructive mutagenic radiation. The victim and anyone adjacent will be blasted and heavily deformed, weakening them and reducing their armour. Summoned creatures are particularly vulnerable, as the enchantments binding them to this plane will unravel and cause them to be dismissed immediately.",
 
     flags = {
 
     flags = {
       MONS_ABJURE = true
+
       target = true,
    },
+
      chaotic = true,
    level = 7,
+
      destructive = true,
    name = "Monstrous Menagerie",
+
       no_ghost = true,
    noise = {
 
       casting = 5,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 5,
 +
    name = "Yara's Violent Unravelling",
 +
    noise = { casting = 5, effect = 15 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = -1,
+
     range = { max = 8, min = 8 },
 
     schools = {
 
     schools = {
       Summoning = true
+
       Hexes = true,
 +
      Alchemy = true,
 
     },
 
     },
    ["summons limit"] = 3
 
 
   },
 
   },
   Necromutation = {
+
   ["Infestation"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["book of Death"] = true,
 
     },
 
     },
     description = "Transforms the caster into a lich — a powerful skeletal figure. The caster becomes more resistant to cold and hostile enchantments and completely immune to poison, rotting, negative energy and torment, and requires no food at all for the duration of the spell. The caster's necromancy spells are increased in power, and they gain a draining melee attack. The caster also gains some of the more dubious benefits of having an undead body, such as a vulnerability to holy damage and Dispel Undead, and an inability to consume potions.",
+
     description = "Calls forth a plague of scarabs, infesting affected creatures for a duration depending on power and causing death scarabs to grow and burst from them upon death.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       target = true,
       HELPFUL = true
+
       unclean = true,
 
     },
 
     },
 
     level = 8,
 
     level = 8,
     name = "Necromutation",
+
     name = "Infestation",
     noise = {
+
     noise = { casting = 8, effect = 4 },
      casting = 6,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = -1,
+
     range = { max = 8, min = 8 },
 
     schools = {
 
     schools = {
 
       Necromancy = true,
 
       Necromancy = true,
      Transmutation = true
+
     },
     }
 
 
   },
 
   },
   ["Olgreb's Toxic Radiance"] = {
+
   ["Lesser Beckoning"] = {
 
     books = {
 
     books = {
       ["Young Poisoner's Handbook"] = true
+
       ["book of Spatial Translocations"] = true,
 +
      ["book of Displacement"] = true,
 
     },
 
     },
     description = "Causes the caster to radiate toxic energy, continuously inflicting poison on everything nearby for as long as the spell lasts.",
+
     description = "Beckons the target forward, attempting to place them adjacent to the caster.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
 +
      not_self = true,
 +
      needs_tracer = true,
 
     },
 
     },
     level = 4,
+
     level = 2,
     name = "Olgreb's Toxic Radiance",
+
     name = "Lesser Beckoning",
     noise = {
+
     noise = { casting = 2, effect = 0 },
      casting = 2,
+
    ["power cap"] = 50,
       effect = 0
+
    range = { max = 5, min = 3 },
 +
    schools = {
 +
       Translocation = true,
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 5,
 
    schools = {
 
      Poison = true
 
    }
 
 
   },
 
   },
   ["Orb of Destruction"] = {
+
   ["Mercury Arrow"] = {
 
     books = {
 
     books = {
       ["book of Power"] = true
+
       ["Young Poisoner's Handbook"] = true,
 +
      ["My Sojourn through Swampland"] = true,
 
     },
 
     },
     description = "Conjures an orb made of pure destructive magic. Compared to most other projectiles, these orbs travel at a relatively slow pace. The orbs home onto their targets, yet because of their huge inertia, especially agile opponents may be able to outmanoeuvre them. The orbs need some time to stabilize, and a nascent orb will deal reduced damage.\n\nResidents of the dungeon are able to maintain the orb until it impacts a target, but when cast by you the orb will dissipate upon leaving your line of sight.",
+
     description = "Conjures an arrow of elemental mercury which deals direct poison damage to whatever it hits and may also weaken their melee attacks for a short while.<br><br>The physical force of the arrow inflicts a small amount of damage even to those immune to poison, and the weakening effect can splash to adjacent targets and ignores poison resistance altogether.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       dir_or_target = true,
       NEEDS_TRACER = true,
+
       needs_tracer = true,
      NOT_SELF = true
 
 
     },
 
     },
     level = 7,
+
     level = 2,
     name = "Orb of Destruction",
+
     name = "Mercury Arrow",
     noise = {
+
     noise = { casting = 2, effect = 0 },
       casting = 7,
+
    ["power cap"] = 50,
       effect = 0
+
    range = { max = 4, min = 4 },
 +
    schools = {
 +
       Conjuration = true,
 +
       Alchemy = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 6,
 
    schools = {
 
      Conjuration = true
 
    }
 
 
   },
 
   },
   ["Ozocubu's Armour"] = {
+
   ["Ignition"] = {
 
     books = {
 
     books = {
       ["book of Battle"] = true,
+
       ["book of Spontaneous Combustion"] = true,
       ["book of Frost"] = true
+
       ["Everburning Encyclopedia"] = true,
 
     },
 
     },
     description = "Envelops the caster's body in a protective layer of thick ice, granting a substantial bonus to armour as long as they remain in their current location. The ice will crack and fall away if the caster moves to a new position. The spell will not function for casters already wearing heavy armour (any body armour with an encumbrance rating of 5 or more).",
+
     description = "All foes in the caster's surroundings are engulfed in balls of fire. The caster and their allies are protected from the fire and will never be harmed by this spell.",
 
     flags = {
 
     flags = {
       NO_GHOST = true
+
       area = true,
 +
      destructive = true,
 
     },
 
     },
     level = 3,
+
     level = 8,
     name = "Ozocubu's Armour",
+
     name = "Ignition",
     noise = {
+
     noise = { casting = 8, effect = 15 },
      casting = 3,
+
    ["power cap"] = 200,
       effect = 0
+
    schools = {
 +
       Fire = true,
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 4,
 
    schools = {
 
      Charms = true,
 
      Ice = true
 
    }
 
 
   },
 
   },
   ["Ozocubu's Refrigeration"] = {
+
   ["Borgnjor's Vile Clutch"] = {
 
     books = {
 
     books = {
       ["book of Ice"] = true
+
      ["Great Wizards, Vol. II"] = true,
 +
       ["book of the Grave"] = true,
 
     },
 
     },
     description = "Drains heat from the caster and their surroundings, causing harm to all creatures not resistant to cold and bypassing any armour the targets may have. It prevents the caster from using potions for a brief duration.",
+
     description = "Calls forth hands from corpses interred beneath the dungeon floor long ago. Enemies caught in the area will be held in place and constricted until they break free.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
    },
+
      not_self = true,
    level = 7,
+
       needs_tracer = true,
    name = "Ozocubu's Refrigeration",
 
    noise = {
 
       casting = 5,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 5,
 +
    name = "Borgnjor's Vile Clutch",
 +
    noise = { casting = 5, effect = 5 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 10,
+
     range = { max = 6, min = 6 },
 
     schools = {
 
     schools = {
       Ice = true
+
       Necromancy = true,
     }
+
      Earth = true,
 +
     },
 
   },
 
   },
   Pain = {
+
   ["Starburst"] = {
 
     books = {
 
     books = {
       ["book of Necromancy"] = true
+
       ["book of Fire"] = true,
 +
      ["book of Spectacle"] = true,
 
     },
 
     },
     description = "Inflicts an extremely painful injury upon one living creature. The caster suffers minor damage from the backlash.",
+
     description = "Releases penetrating bolts of fire from the caster in every direction.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
      WILL_CHECK = true,
 
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 1,
+
     level = 6,
     name = "Pain",
+
     name = "Starburst",
     noise = {
+
     noise = { casting = 6, effect = 0 },
      casting = 1,
+
     ["power cap"] = 200,
      effect = 1
+
     range = { max = 5, min = 5 },
    },
+
    schools = {
     ["power cap"] = 25,
+
       Conjuration = true,
     range = {
+
       Fire = true,
       max = 5,
 
       min = 5
 
 
     },
 
     },
    rarity = 3,
 
    schools = {
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   ["Passage of Golubria"] = {
+
   ["Foxfire"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of Fire"] = true,
      ["book of Spatial Translocations"] = true
 
 
     },
 
     },
     description = "Opens two gateways (one always near the caster), which allow instantaneous transport to random other open gateways to any creature entering them. There is no limit to the number of gateways that can be open at one time, but a gateway will close when entered, or after a moderate amount of time.",
+
     description = "Conjures two balls of burning swamp gas adjacent to the caster. The balls will rapidly seek the nearest monster and burn them. They will dissipate harmlessly if unable to reach a target or if the caster swaps places with them.",
 
     flags = {
 
     flags = {
      ESCAPE = true,
 
      NEUTRAL = true,
 
      SELFENCH = true,
 
      TARGET = true
 
 
     },
 
     },
     level = 4,
+
     level = 1,
     name = "Passage of Golubria",
+
     name = "Foxfire",
     noise = {
+
     noise = { casting = 1, effect = 0 },
      casting = 3,
+
     ["power cap"] = 25,
      effect = 8
+
     schools = {
    },
+
       Conjuration = true,
     ["power cap"] = 0,
+
       Fire = true,
     range = {
 
       max = 7,
 
       min = 7
 
 
     },
 
     },
    rarity = 10,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   Passwall = {
+
   ["Hailstorm"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of Frost"] = true,
       ["book of Geomancy"] = true
+
       ["book of the Tundra"] = true,
 
     },
 
     },
     description = "Tunes the caster's body such that it can instantly pass through solid rock. It takes some time for the caster to attune to the rock, during which they will be helpless.",
+
     description = "Conjures a cannonade of hail, battering nearby creatures that fail to dodge. The eye of the storm is wide enough that monsters adjacent to the caster are unaffected. Due to the strong impact and cutting edges, half of its damage bypasses cold resistance.",
 
     flags = {
 
     flags = {
       DIR = true,
+
       area = true,
      ESCAPE = true,
+
    },
       NOT_SELF = true,
+
    level = 3,
       UTILITY = true
+
    name = "Hailstorm",
 +
    noise = { casting = 3, effect = 0 },
 +
    ["power cap"] = 100,
 +
    range = { max = 3, min = 3 },
 +
    schools = {
 +
       Conjuration = true,
 +
       Ice = true,
 
     },
 
     },
    level = 2,
+
  },
    name = "Passwall",
+
  ["Eringya's Noxious Bog"] = {
     noise = {
+
     books = {
       casting = 0,
+
       ["Fen Folio"] = true,
       effect = 0
+
       ["Great Wizards, Vol. II"] = true,
 
     },
 
     },
     ["power cap"] = 120,
+
     description = "Causes the caster to release a torrent of sludge that transforms nearby areas into a toxic bog. The sludge damages and poisons all monsters, even those resistant to poison. The bog cannot form on areas adjacent to multiple solid features, nor on areas that lack solid floor, like deep water or lava. The transformation is temporary and cannot be sustained out of the caster's sight. Spellpower will increase how long the bog lingers.",
    quote = "“He says the best way out is always through.”\n    -Robert Frost, _A Servant to Servants_. 1915.",
+
     flags = {
     range = {
+
       area = true,
       max = 7,
+
       destructive = true,
       min = 1
+
      no_ghost = true,
 
     },
 
     },
     rarity = 4,
+
     level = 6,
 +
    name = "Eringya's Noxious Bog",
 +
    noise = { casting = 6, effect = 0 },
 +
    ["power cap"] = 200,
 +
    range = { max = 4, min = 4 },
 
     schools = {
 
     schools = {
       Earth = true,
+
       Alchemy = true,
      Transmutation = true
+
     },
     }
 
 
   },
 
   },
   Petrify = {
+
   ["Frozen Ramparts"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Frost"] = true,
       ["book of Geomancy"] = true,
+
       ["book of Winter"] = true,
      ["book of Misfortune"] = true
 
 
     },
 
     },
     description = "Petrifies a targeted creature. If successful, the target is slowed down for a while until it is temporarily turned into stone. In this state, the target will take less damage upon being hit.",
+
     description = "Encases surrounding walls with ice for a short time. Foes that wander near the icy walls will be damaged, and this may temporarily slow cold-blooded creatures. Each victim is only ever affected by one icy wall at a time.<br><br>The ice will crack and fall away if the caster moves to a new position.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
       WILL_CHECK = true,
+
       destructive = true,
       NEEDS_TRACER = true
+
       no_ghost = true,
    },
 
    level = 4,
 
    name = "Petrify",
 
    noise = {
 
      casting = 3,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 3,
 +
    name = "Frozen Ramparts",
 +
    noise = { casting = 3, effect = 8 },
 
     ["power cap"] = 50,
 
     ["power cap"] = 50,
     range = {
+
     range = { max = 2, min = 2 },
      max = 7,
+
    schools = {
       min = 7
+
       Ice = true,
 
     },
 
     },
    rarity = 1,
 
    schools = {
 
      Earth = true,
 
      Transmutation = true
 
    }
 
 
   },
 
   },
   ["Poisonous Vapours"] = {
+
   ["Maxwell's Capacitive Coupling"] = {
 
     books = {
 
     books = {
       ["book of Clouds"] = true,
+
       ["Maxwell's Memoranda"] = true,
       ["Young Poisoner's Handbook"] = true
+
       ["Codex of Conductivity"] = true,
 
     },
 
     },
     description = "Turns the air around a targeted creature poisonous. Exceedingly little poison is created, generally just enough to poison the target before dispersing.",
+
     description = "Gradually builds up electric charge in the caster, so long as they maintain focus (by waiting in place and not taking any other actions). When a threshold is reached, the charge couples with the nearest foe, vaporising them instantly. Higher spell power will allow the caster to accumulate charge more rapidly. The spell requires a visible target to begin accumulating charge, though a different foe may be targeted when the charge is released.",
 
     flags = {
 
     flags = {
       NOT_SELF = true,
+
       destructive = true,
       TARGET = true
+
       no_ghost = true,
 
     },
 
     },
     level = 2,
+
     level = 8,
     name = "Poisonous Vapours",
+
     name = "Maxwell's Capacitive Coupling",
     noise = {
+
     noise = { casting = 8, effect = 25 },
      casting = 2,
+
     ["power cap"] = 200,
      effect = 4
+
     range = { max = 8, min = 8 },
    },
 
     ["power cap"] = 50,
 
     range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 6,
 
 
     schools = {
 
     schools = {
 
       Air = true,
 
       Air = true,
      Poison = true
+
     },
     }
 
 
   },
 
   },
   ["Portal Projectile"] = {
+
   ["Awaken Armour"] = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Iron"] = true,
       ["book of the Warp"] = true
+
       ["book of the Fortress"] = true,
 
     },
 
     },
     description = "Allows the caster to teleport fired or thrown missiles directly to their targets for a short duration, spending an additional small amount of magic for each missile. Teleported projectiles have their accuracy greatly increased.",
+
     description = "Draws upon the memory of your worn armour to manifest an echo of it that fights alongside you. This echo moves slowly, but the power of its blows increases dramatically with the weight of the armour used to form it. It possesses all the defensive properties of the armour itself.<br><br>Spellpower increases its durability.",
     flags = {},
+
     flags = {
    level = 3,
 
    name = "Portal Projectile",
 
    noise = {
 
      casting = 3,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 4,
 +
    name = "Awaken Armour",
 +
    noise = { casting = 4, effect = 0 },
 
     ["power cap"] = 50,
 
     ["power cap"] = 50,
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Translocation = true,
+
       Earth = true,
       Hexes = true
+
       Forgecraft = true,
     }
+
     },
 
   },
 
   },
   ["Ring of Flames"] = {
+
   ["Manifold Assault"] = {
 
     books = {
 
     books = {
       ["book of Clouds"] = true,
+
       ["book of the Warp"] = true,
       ["book of Fire"] = true
+
       ["book of Battle"] = true,
 
     },
 
     },
     description = "Surrounds the caster with a mobile ring of searing flame, and keeps other fire clouds away from the caster. This spell attunes the caster to the forces of fire, increasing the power of their fire magic and giving protection from fire. However, it also makes them much more susceptible to cold.",
+
     description = "Warps space into paradoxical configurations to strike many visible foes with one melee attack. Power increases the number of foes attacked with one cast, though unarmed attacks strike only half as many targets at once, as additional care must be taken when warping one's own limbs.<br><br>The time taken for the attack is exactly the same as a normal melee attack. Attacks performed this way never miss, but the exact spot struck cannot be controlled precisely, making them unable to do extra damage against unsuspecting foes.",
 
     flags = {
 
     flags = {
      AREA = true
 
 
     },
 
     },
 
     level = 7,
 
     level = 7,
     name = "Ring of Flames",
+
     name = "Manifold Assault",
     noise = {
+
     noise = { casting = 7, effect = 0 },
      casting = 6,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 6,
 
 
     schools = {
 
     schools = {
       Charms = true,
+
       Translocation = true,
      Fire = true
+
     },
     }
 
 
   },
 
   },
   Sandblast = {
+
   ["Summon Cactus Giant"] = {
 
     books = {
 
     books = {
       ["book of Geomancy"] = true
+
       ["book of the Wilderness"] = true,
 +
      ["book of Scorching"] = true,
 
     },
 
     },
     description = "Consumes a stone to create a short blast of high-velocity rock shards. Its damage is strongly reduced by armour.",
+
     description = "Summons a warrior from a particularly prickly tribe. Foes that strike these giants in melee are in for a painful surprise! When cast at a higher power, older, more robust warriors will answer the call.",
 
     flags = {
 
     flags = {
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 1,
+
     level = 6,
     name = "Sandblast",
+
     name = "Summon Cactus Giant",
     noise = {
+
     noise = { casting = 6, effect = 0 },
      casting = 1,
+
     ["power cap"] = 200,
      effect = 0
+
     schools = {
    },
+
       Summoning = true,
     ["power cap"] = 50,
 
     range = {
 
       max = 3,
 
      min = 3
 
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Earth = true
 
    }
 
 
   },
 
   },
   ["Searing Ray"] = {
+
   ["Scorch"] = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true
+
       ["book of Scorching"] = true,
 
     },
 
     },
     description = "Fires a continuous piercing ray of arcane energy from the caster's hands. So long as the caster maintains focus upon the spell and supplies it with magical power (by waiting in place and not taking any other actions), the ray will follow the caster's target if it should move.",
+
     description = "Scorches a random foe. Those injured by this have their resistance to fire burned away for a short time.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       destructive = true,
      NEEDS_TRACER = true
 
 
     },
 
     },
 
     level = 2,
 
     level = 2,
     name = "Searing Ray",
+
     name = "Scorch",
     noise = {
+
     noise = { casting = 2, effect = 8 },
      casting = 2,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 50,
 
     ["power cap"] = 50,
     range = {
+
     range = { max = 3, min = 3 },
      max = 4,
+
    schools = {
       min = 4
+
       Fire = true,
 
     },
 
     },
    rarity = 3,
 
    schools = {
 
      Conjuration = true
 
    }
 
 
   },
 
   },
   ["Shadow Creatures"] = {
+
   ["Flame Wave"] = {
 
     books = {
 
     books = {
       ["book of Dreams"] = true,
+
       ["book of Flames"] = true,
       ["book of Summonings"] = true
+
       ["book of Scorching"] = true,
 
     },
 
     },
     description = "Creates replicas of creatures native to the caster's current location, weaving them from shadows and threads of Abyssal matter.",
+
     description = "Blasts the caster's surroundings with a wave of fire. If the caster maintains focus and supplies the spell with magical power (by waiting in place and not taking any other actions), more and larger flame waves will radiate outward.",
 
     flags = {
 
     flags = {
       MONS_ABJURE = true
+
       area = true,
 
     },
 
     },
     level = 6,
+
     level = 4,
     name = "Shadow Creatures",
+
     name = "Flame Wave",
     noise = {
+
     noise = { casting = 4, effect = 12 },
      casting = 4,
+
     ["power cap"] = 100,
      effect = 0
+
     range = { max = 3, min = 3 },
    },
 
     ["power cap"] = 0,
 
     rarity = 11,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Conjuration = true,
 +
      Fire = true,
 
     },
 
     },
    ["summons limit"] = 4
 
 
   },
 
   },
   Shatter = {
+
   ["Enfeeble"] = {
 
     books = {
 
     books = {
       ["book of the Earth"] = true,
+
       ["book of Hexes"] = true,
       ["book of the Tempests"] = true
+
       ["book of Misfortune"] = true,
 
     },
 
     },
     description = "Causes an enormous burst of concussive force around the caster, dealing severe damage to all nearby creatures. It is especially effective against those made from ice, bone, or any wall-like substance (such as rock, metal or crystal), as well as those turned to stone by petrification. It is less effective against flying, gelatinous and insubstantial creatures. It may also destroy nearby walls.",
+
     description = "Overwhelms an enemy with malignant energies, irresistibly weakening their melee attacks and disrupting their magic. It will additionally daze and blind any foe that fails to resist the full force of the curse.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
    },
+
      needs_tracer = true,
    level = 9,
+
       WL_check = true,
    name = "Shatter",
 
    noise = {
 
       casting = 7,
 
      effect = 30
 
 
     },
 
     },
 +
    level = 7,
 +
    name = "Enfeeble",
 +
    noise = { casting = 7, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     quote = "“And it happened when the people heard the sound of the trumpet, and the people shouted with a great shout, that the wall fell down flat. Then the people went up into the city, every man straight before him, and they took the city. And they utterly destroyed all that was in the city, both man and woman, young and old, ox and sheep and donkey, with the edge of the sword.”\n    -KJV Bible, Joshua 6:20-21.",
+
     range = { max = 8, min = 8 },
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Earth = true
+
       Hexes = true,
     }
+
     },
 
   },
 
   },
   Shock = {
+
   ["Anguish"] = {
 
     books = {
 
     books = {
       ["book of Air"] = true
+
       ["book of Hexes"] = true,
 +
      ["book of Dreams"] = true,
 
     },
 
     },
     description = "Throws a bouncing bolt of electricity. It partially bypasses armour.",
+
     description = "Afflicts nearby foes with supernatural anguish, causing all damage they deal to rebound on them for the duration of the effect. Strong-willed foes can resist the necromantic visions of pain and suffering, and mindless creatures are unaffected.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
       NEEDS_TRACER = true
+
       WL_check = true,
 
     },
 
     },
     level = 1,
+
     level = 4,
     name = "Shock",
+
     name = "Anguish",
     noise = {
+
     noise = { casting = 4, effect = 0 },
      casting = 1,
+
     ["power cap"] = 200,
      effect = 1
+
     range = { max = 8, min = 8 },
    },
+
    schools = {
     ["power cap"] = 25,
+
       Hexes = true,
     range = {
+
       Necromancy = true,
       max = 7,
 
       min = 7
 
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Air = true,
 
      Conjuration = true
 
    }
 
 
   },
 
   },
   ["Shroud of Golubria"] = {
+
   ["Soul Splinter"] = {
 
     books = {
 
     books = {
       ["book of Battle"] = true,
+
       ["book of Necromancy"] = true,
       ["book of Spatial Translocations"] = true
+
       ["book of Unlife"] = true,
 
     },
 
     },
     description = "Bends space around the caster's body, protecting them from some blows by redirecting their force to the air nearby. Ranged attacks cannot be diverted in this way. The shroud is highly unstable, and may fall apart unexpectedly under stress.",
+
     description = "Attempts to force a tiny fragment of a living, holy, or demonic being's soul to take leave of their body and manifest as a soul wisp. This wisp is nominally under the necromancer's control, but will focus its attacks foremost on the creature it was created from, instinctually trying to return to its proper home once more. The victim will be weakened until the wisp reverts to where it belongs.<br><br>Wisps created from more powerful souls have more damaging attacks, but are always fragile.",
 
     flags = {
 
     flags = {
       SELFENCH = true
+
       dir_or_target = true,
 +
      not_self = true,
 +
      needs_tracer = true,
 +
      WL_check = true,
 
     },
 
     },
     level = 2,
+
     level = 1,
     name = "Shroud of Golubria",
+
     name = "Soul Splinter",
     noise = {
+
     noise = { casting = 1, effect = 0 },
      casting = 2,
+
    ["power cap"] = 25,
       effect = 0
+
    range = { max = 5, min = 5 },
 +
    schools = {
 +
       Necromancy = true,
 
     },
 
     },
    ["power cap"] = 50,
 
    rarity = 5,
 
    schools = {
 
      Charms = true,
 
      Translocation = true
 
    }
 
 
   },
 
   },
   Silence = {
+
   ["Volatile Blastmotes"] = {
 
     books = {
 
     books = {
       ["book of Dreams"] = true,
+
       ["book of Blasting"] = true,
       ["book of Hexes"] = true,
+
       ["book of Movement"] = true,
      ["book of the Sky"] = true
 
 
     },
 
     },
     description = "Eliminates all sound near the caster. This makes reading scrolls, casting spells, invoking divine abilities, or shouting impossible in the caster's vicinity. The spell's oppressive, unnatural effect will greatly hamper stealth.\n\nCertain monsters have innate magical or special abilities which will still be usable while silenced.\n\nThe effect starts out with a radius depending on power, which will then shrink, eventually covering only the caster, before it times out.",
+
     description = "Brings forth a cloud of volatile blastmotes around the caster. These explode on contact with open flame or with creatures - including any caster foolish enough to linger in them! The explosion is concussive, knocking adjacent creatures away. Damage done rises with the spell's power.",
 
     flags = {
 
     flags = {
       AREA = true
+
       destructive = true,
 
     },
 
     },
     level = 5,
+
     level = 3,
     name = "Silence",
+
     name = "Volatile Blastmotes",
     noise = {
+
     noise = { casting = 3, effect = 0 },
       casting = 4,
+
    ["power cap"] = 50,
       effect = 0
+
    schools = {
 +
       Fire = true,
 +
       Translocation = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 7,
 
    schools = {
 
      Air = true,
 
      Hexes = true
 
    }
 
 
   },
 
   },
   Simulacrum = {
+
   ["Cigotuvi's Putrefaction"] = {
 
     books = {
 
     books = {
       ["book of Ice"] = true,
+
       ["book of Debilitation"] = true,
       ["book of Unlife"] = true
+
       ["book of Decay"] = true,
 
     },
 
     },
     description = "Creates an icy replica from the corpse of the original being. This magic is unstable, so eventually the replica will sublimate into a freezing cloud. Simulacra cannot leave the level they were created on.",
+
     description = "Magically accelerates the decay of damaged living tissue, causing great clouds of miasma to billow forth from a targeted victim's wounds over several turns which may slow and heavily poison any living creature who stands in them. Air currents will prevent this pestilence from forming wherever the caster is standing, but they are not otherwise protected from its effects.<br><br>This spell may only be cast on a living creature who is at least heavily wounded, and channelling such necrotic energies will leave the caster's own health temporarily drained (though spellpower will reduce the intensity of this side-effect).",
     flags = {},
+
     flags = {
    level = 6,
+
      target = true,
    name = "Simulacrum",
+
       unclean = true,
    noise = {
 
       casting = 5,
 
      effect = 0
 
 
     },
 
     },
     ["power cap"] = 200,
+
    level = 4,
     rarity = 10,
+
    name = "Cigotuvi's Putrefaction",
 +
    noise = { casting = 4, effect = 0 },
 +
     ["power cap"] = 100,
 +
     range = { max = 5, min = 5 },
 
     schools = {
 
     schools = {
       Ice = true,
+
       Necromancy = true,
       Necromancy = true
+
       Air = true,
     }
+
     },
 
   },
 
   },
   Slow = {
+
   ["Arcjolt"] = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Lightning"] = true,
       ["book of Minor Magic"] = true
+
       ["Codex of Conductivity"] = true,
 
     },
 
     },
     description = "Slows the actions of a creature.",
+
     description = "Sends a wave of electricity through everything adjacent or near-adjacent to the caster. The electricity continues to arc through everything in a connected chain, though the caster themself is unaffected. The damage dealt bypasses half of defenders' armour.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
      WILL_CHECK = true,
 
      NEEDS_TRACER = true
 
    },
 
    level = 2,
 
    name = "Slow",
 
    noise = {
 
      casting = 2,
 
      effect = 2
 
 
     },
 
     },
 +
    level = 5,
 +
    name = "Arcjolt",
 +
    noise = { casting = 5, effect = 10 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 2, min = 2 },
       max = 7,
+
    schools = {
       min = 7
+
       Conjuration = true,
 +
       Air = true,
 
     },
 
     },
    rarity = 1,
 
    schools = {
 
      Hexes = true
 
    }
 
 
   },
 
   },
   ["Spectral Weapon"] = {
+
   ["Kiss of Death"] = {
 
     books = {
 
     books = {
       ["book of Battle"] = true
+
       ["book of Touch"] = true,
 
     },
 
     },
     description = "Draws out the spirit within a wielded weapon to fight for the caster, with its strength increasing with power. It only attacks when the caster does, and its kills count as the caster's own. If the weapon is damaged, part of the injury will be echoed on the caster's body. Only one spectral weapon can be maintained at a time, and only while the original weapon remains wielded.\n\nCertain powerful named artefacts cannot be affected, and any abilities that require evocation skill to trigger will not be active.",
+
     description = "Conjures forth a fragment of the caster's essence and twists it into a fragment of death, painfully draining the victim. The caster, too, will find their health reduced, until they gain enough experience to recover.",
 
     flags = {
 
     flags = {
       NO_GHOST = true,
+
       dir_or_target = true,
       SELFENCH = true,
+
       not_self = true,
       UTILITY = true
+
       needs_tracer = true,
 
     },
 
     },
     level = 3,
+
     level = 1,
     name = "Spectral Weapon",
+
     name = "Kiss of Death",
     noise = {
+
     noise = { casting = 1, effect = 0 },
       casting = 3,
+
    ["power cap"] = 25,
       effect = 0
+
    range = { max = 1, min = 1 },
 +
    schools = {
 +
       Conjuration = true,
 +
       Necromancy = true,
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 5,
 
    schools = {
 
      Charms = true,
 
      Hexes = true
 
    }
 
 
   },
 
   },
   ["Spellforged Servitor"] = {
+
   ["Momentum Strike"] = {
 
     books = {
 
     books = {
       ["book of Power"] = true
+
       ["book of Spatial Translocations"] = true,
 
     },
 
     },
     description = "Summons an extraplanar elemental and binds it to a durable shell forged from the caster's own magic. The servitor is capable of unleashing some of the destructive spells known to its creator, though the strongest and most volatile of magics cannot be imbued in this fashion.",
+
     description = "Blasts a target with energy borrowed from the caster's own future movement. For a short time afterward, the caster will be left immotile - unable to walk, fly around, slither, etc. Only motile creatures can cast this spell.",
     flags = {},
+
     flags = {
    level = 7,
+
      target = true,
    name = "Spellforged Servitor",
+
       not_self = true,
    noise = {
 
       casting = 6,
 
      effect = 0
 
 
     },
 
     },
     ["power cap"] = 200,
+
    level = 2,
     quote = "“When you think\n Your toys have gone berserk\n It's an illusion\n You cannot shirk”\n    -Siouxsie and the Banshees, \"Spellbound\"",
+
    name = "Momentum Strike",
    rarity = 6,
+
    noise = { casting = 2, effect = 0 },
 +
     ["power cap"] = 50,
 +
     range = { max = 4, min = 4 },
 
     schools = {
 
     schools = {
 
       Conjuration = true,
 
       Conjuration = true,
       Summoning = true
+
       Translocation = true,
 
     },
 
     },
    ["summons limit"] = 1
 
 
   },
 
   },
   ["Spider Form"] = {
+
   ["Vhi's Electric Charge"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true
+
       ["book of Lightning"] = true,
 +
      ["book of Movement"] = true,
 
     },
 
     },
     description = "Transforms the caster into a venomous, spider-like creature. The caster becomes highly evasive and gains a poisonous bite, but gains vulnerability to poison.\n\nWhile transformed, any equipped weapons and armour are melded, and casting spells becomes slightly more difficult.",
+
     description = "Sends the caster hurtling at a chosen nearby enemy, launching a high-accuracy melee attack on arrival. Additional electric damage will be dealt based on the length of the charge, the power of the spell, and the physical damage of the attack. The caster is wrapped in an envelope of twisted space, allowing them to safely pass through creatures, traps, and harmful terrain, and to displace creatures at their destination. The time taken by the spell is the greater of the time normally needed to cast a spell or that needed to launch one melee attack.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       dir_or_target = true,
       HELPFUL = true,
+
       noisy = true,
      UTILITY = true
 
 
     },
 
     },
     level = 3,
+
     level = 4,
     name = "Spider Form",
+
     name = "Vhi's Electric Charge",
     noise = {
+
     noise = { casting = 4, effect = 0 },
       casting = 2,
+
    ["power cap"] = 50,
       effect = 0
+
    range = { max = 4, min = 4 },
 +
    schools = {
 +
       Translocation = true,
 +
       Air = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 2,
 
    schools = {
 
      Poison = true,
 
      Transmutation = true
 
    }
 
 
   },
 
   },
   ["Starburst"] = {
+
   ["Plasma Beam"] = {
 
     books = {
 
     books = {
 
       ["book of Fire"] = true,
 
       ["book of Fire"] = true,
 +
      ["book of Lightning"] = true,
 
     },
 
     },
     description = "Releases penetrating bolts of fire from the caster in every direction. The range of each bolt is decreased by one for every creature it strikes.",
+
     description = "Fires a penetrating beam of plasma at one of the caster's most distant foes. The ionised beam bypasses half of defenders' armour, and a second beam of fire follows in its wake.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       destructive = true,
 +
      noisy = true,
 
     },
 
     },
 
     level = 6,
 
     level = 6,
     name = "Starburst",
+
     name = "Plasma Beam",
     noise = {
+
     noise = { casting = 6, effect = 20 },
      casting = 6,
 
      effect = 2
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 8, min = 8 },
       max = 5,
+
    schools = {
       min = 5
+
       Fire = true,
 +
       Air = true,
 
     },
 
     },
    rarity = 10,
 
    schools = {
 
      Conjuration = true,
 
      Fire = true
 
    }
 
 
   },
 
   },
   ["Static Discharge"] = {
+
   ["Bombard"] = {
 
     books = {
 
     books = {
       ["book of Air"] = true,
+
       ["book of Power"] = true,
       ["book of the Tempests"] = true
+
       ["Compendium of Siegecraft"] = true,
 
     },
 
     },
     description = "Releases electrical charges against those next to the caster. These may arc to other adjacent creatures, or back to the caster, before eventually grounding out. It deals reduced damage when arcing to the caster, and bypasses any armour the target may have.",
+
     description = "Blasts an iron ball toward a target. The force of the blast often sends the caster staggering backwards.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
 +
      needs_tracer = true,
 
     },
 
     },
     level = 2,
+
     level = 6,
     name = "Static Discharge",
+
     name = "Bombard",
     noise = {
+
     noise = { casting = 6, effect = 0 },
      casting = 3,
+
     ["power cap"] = 200,
      effect = 0
+
     range = { max = 4, min = 4 },
    },
+
    schools = {
     ["power cap"] = 100,
+
       Conjuration = true,
     range = {
+
       Earth = true,
       max = 1,
 
       min = 1
 
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Air = true,
 
      Conjuration = true
 
    }
 
 
   },
 
   },
   ["Statue Form"] = {
+
   ["Jinxbite"] = {
 
     books = {
 
     books = {
       ["book of the Earth"] = true,
+
       ["book of Misfortune"] = true,
       ["book of Transfigurations"] = true
+
       ["book of Party Tricks"] = true,
 
     },
 
     },
     description = "Transforms the caster into a slow but extremely robust stone statue. The caster's melee damage, both unarmed and with weapons, is substantially increased. The caster's stone body is insulated from electricity and gains resistance to poison, rotting and negative energy.\n\nWhile transformed, any equipped body armour, gloves and boots are melded.",
+
     description = "Calls the attention of trickster spirits. While it holds, the spirits will follow up on the caster's attacks. If the spell overcomes victims' willpower, they will suffer minor damage and be drained by the sprites' playful malice.<br><br>Fae assistance is fickle, however; they cannot be beckoned unless a susceptible victim is visible, and will depart rapidly once no more remain. Calling on the fae also reduces the caster's own willpower for a time.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       selfench = true,
      HELPFUL = true,
 
      UTILITY = true
 
 
     },
 
     },
     level = 6,
+
     level = 2,
     name = "Statue Form",
+
     name = "Jinxbite",
     noise = {
+
     noise = { casting = 2, effect = 0 },
      casting = 5,
+
    ["power cap"] = 50,
       effect = 0
+
    schools = {
 +
       Hexes = true,
 
     },
 
     },
    ["power cap"] = 150,
 
    rarity = 8,
 
    schools = {
 
      Earth = true,
 
      Transmutation = true
 
    }
 
 
   },
 
   },
   ["Sticky Flame"] = {
+
   ["Sigil of Binding"] = {
 
     books = {
 
     books = {
       ["book of Flames"] = true
+
       ["book of the Hunter"] = true,
 +
      ["Treatise on Traps"] = true,
 
     },
 
     },
     description = "Conjures a glob of sticky flame, covering an adjacent creature with liquid fire for a short time.",
+
     description = "Creates two sigils nearby. Anyone who passes over them will be bound, able to act and dodge normally but unable to move away. When the effect wears off, their movement speed will rebound, giving them temporary swiftness. Swiftness from any source grants immunity to binding.<br><br>Only one set of sigils can be maintained at a time, and they will expire prematurely if they leave your sight.",
 
     flags = {
 
     flags = {
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
    },
 
    level = 4,
 
    name = "Sticky Flame",
 
    noise = {
 
      casting = 4,
 
      effect = 1
 
 
     },
 
     },
 +
    level = 3,
 +
    name = "Sigil of Binding",
 +
    noise = { casting = 3, effect = 0 },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
     quote = "“Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life.”\n    -Terry Pratchett, “Jingo”. 1997.",
+
     schools = {
    range = {
+
       Hexes = true,
       max = 1,
 
      min = 1
 
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Conjuration = true,
 
      Fire = true
 
    }
 
 
   },
 
   },
   Sting = {
+
   ["Dimensional Bullseye"] = {
 
     books = {
 
     books = {
       ["Young Poisoner's Handbook"] = true
+
       ["book of Weapons"] = true,
 +
      ["book of the Hunter"] = true,
 
     },
 
     },
     description = "Briefly transforms one of the caster's limbs into a long insectoid stinger, which lashes out at the target. The stinger's impact will always poison a susceptible target. Even resistant targets have a chance to be poisoned and immune monsters will be damaged by the physical impact of the stinger.",
+
     description = "Weaves a link between the caster's weaponry and a chosen target. Whenever the caster fires or throws something at a *different* enemy, a matching projectile will be teleported at the target. Spellpower increases their accuracy.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       target = true,
       NEEDS_TRACER = true
+
       prefer_farthest = true,
 +
      not_self = true,
 
     },
 
     },
     level = 1,
+
     level = 4,
     name = "Sting",
+
     name = "Dimensional Bullseye",
     noise = {
+
     noise = { casting = 4, effect = 0 },
       casting = 1,
+
    ["power cap"] = 200,
       effect = 1
+
    range = { max = 8, min = 8 },
 +
    schools = {
 +
       Hexes = true,
 +
      Translocation = true,
 +
    },
 +
  },
 +
  ["Brom's Barrelling Boulder"] = {
 +
    books = {
 +
      ["book of the Spheres"] = true,
 +
       ["Compendium of Siegecraft"] = true,
 
     },
 
     },
     ["power cap"] = 25,
+
     description = "Unleashes a massive rolling boulder in a given compass direction. This boulder damages any creature it hits, rolling over those who perish beneath it and pushing any others helplessly backwards (along with anyone else unfortunate enough to be standing behind them).<br><br>Its size and reckless locomotion make it difficult to use in confined areas; if launched down narrow passages, it will rapidly abrade against the walls and fall apart. It will also crumble if it leaves the caster's sight or strikes a wall or otherwise unmoveable creature.",
     range = {
+
     flags = {
       max = 3,
+
       target = true,
       min = 3
+
       not_self = true,
 
     },
 
     },
     rarity = 5,
+
     level = 4,
 +
    name = "Brom's Barrelling Boulder",
 +
    noise = { casting = 4, effect = 0 },
 +
    ["power cap"] = 100,
 +
    range = { max = 1, min = 1 },
 
     schools = {
 
     schools = {
       Transmutation = true,
+
       Conjuration = true,
       Poison = true
+
       Earth = true,
     }
+
     },
 
   },
 
   },
   ["Stone Arrow"] = {
+
   ["Martyr's Knell"] = {
 
     books = {
 
     books = {
       ["book of Geomancy"] = true,
+
       ["book of Unlife"] = true,
       ["Fen Folio"] = true
+
       ["book of Decay"] = true,
 
     },
 
     },
     description = "Fires a sharp spine of rock.",
+
     description = "Beckons forth the soul of a long-dead martyr to shield your allies for a time. This soul suffers a portion of the damage your allies would otherwise receive.<br><br>If it is slain (again!), it will transform into a flayed ghost, inflicting illusory wounds on foes. Such wounds are fleeting, and will disappear when the ghost departs - unless you kill its victims first.",
 
     flags = {
 
     flags = {
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 3,
+
     level = 4,
     name = "Stone Arrow",
+
     name = "Martyr's Knell",
     noise = {
+
     noise = { casting = 4, effect = 0 },
       casting = 3,
+
    ["power cap"] = 100,
       effect = 3
+
    schools = {
 +
       Necromancy = true,
 +
      Summoning = true,
 +
    },
 +
  },
 +
  ["Curse of Agony"] = {
 +
    books = {
 +
      ["book of the Senses"] = true,
 +
       ["book of Maladies"] = true,
 
     },
 
     },
     ["power cap"] = 50,
+
     description = "Curses a foe, halving their remaining health after each of the next two times that the caster strikes them in melee.",
     range = {
+
     flags = {
       max = 4,
+
       dir_or_target = true,
       min = 4
+
      not_self = true,
 +
      needs_tracer = true,
 +
       WL_check = true,
 
     },
 
     },
     rarity = 4,
+
     level = 5,
 +
    name = "Curse of Agony",
 +
    noise = { casting = 5, effect = 0 },
 +
    ["power cap"] = 100,
 +
    range = { max = 3, min = 3 },
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Necromancy = true,
      Earth = true
+
     },
     }
 
 
   },
 
   },
 
+
   ["Permafrost Eruption"] = {
   ["Storm Form"] = {
 
 
     books = {
 
     books = {
       ["book of the Sky"] = true,
+
       ["book of the Earth"] = true,
       ["Inescapable Atlas"] = true
+
       ["book of the Tundra"] = true,
 
     },
 
     },
     description = "Lets the caster walk through the air as a raging, lightning-filled tempest. The caster's melee attacks are strengthened, electrified, and strike all adjacent foes. The caster also flies, is more evasive, and resists electricity. They can launch themselves as a lightning bolt, blasting through everything in their way. The damage and evasion granted by storm form are highly dependent on the power with which it was cast.",
+
     description = "Calls on the ancient cold lurking within the earth to emerge - violently. The force of its emergence blasts rock from the ceiling, smashing into the target with unavoidable force. The cold itself is brief but unbearably bitter, bypassing armour entirely as it freezes the target and their neighbours.<br><br>It will always attempt to blast the largest concentration of foes in sight, and never explodes next to the caster.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       destructive = true,
      HELPFUL = true,
 
      UTILITY = true
 
    },
 
    level = 7,
 
    name = "Storm Form",
 
    noise = {
 
      casting = 15,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 6,
 +
    name = "Permafrost Eruption",
 +
    noise = { casting = 6, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     quote = "“Stormform is said to cause\n A tempest of winds and showers,\n Beware its powers, beware its powers.\n Though its coming brings the gods their night,\n It obliges a bloodred spren.\n Beware its end, beware its end.”\n    -Brandon Sanderson, “Words of Radiance”. 2014.",
+
     range = { max = 6, min = 6 },
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Air = true,
+
       Ice = true,
       Transmutation = true
+
       Earth = true,
     }
+
     },
 
   },
 
   },
   ["Sublimation of Blood"] = {
+
   ["Maxwell's Portable Piledriver"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Displacement"] = true,
       ["book of Death"] = true
+
       ["Maxwell's Memoranda"] = true,
 
     },
 
     },
     description = "Converts some of the caster's blood into magical energy. The process is painful but never directly lethal. The efficiency of the conversion increases with the spell's power.",
+
     description = "Compresses an envelope of space around the caster and an adjacent enemy (or a contiguous line of enemies), then allows it to decompress abruptly, propelling everyone forward until the unfortunate being at the far end collides with something solid, inflicting damage on them proportional to the distance travelled.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       target = true,
 
     },
 
     },
     level = 2,
+
     level = 3,
     name = "Sublimation of Blood",
+
     name = "Maxwell's Portable Piledriver",
     noise = {
+
     noise = { casting = 3, effect = 0 },
      casting = 2,
+
    ["power cap"] = 100,
       effect = 0
+
    range = { max = 5, min = 5 },
 +
    schools = {
 +
       Translocation = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 11,
 
    schools = {
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   ["Summon Demon"] = {
+
   ["Gell's Gavotte"] = {
 
     books = {
 
     books = {
       ["book of Summonings"] = true
+
      ["There-And-Back Book"] = true,
 +
       ["book of Movement"] = true,
 
     },
 
     },
     description = "Opens a gate to the realm of Pandemonium and draws forth one of its inhabitants to serve the caster for a time. The demon's servitude is not guaranteed, but will be more likely with high power.",
+
     description = "Briefly reorients local gravity to be in a cardinal direction of the caster's choosing, causing all creatures in sight to tumble a short distance in that direction.<br><br>The caster is not immune to the gravitational effects of this spell, but will be cushioned so they take no collision damage. Other creatures are not so fortunate, and the abrupt impact will batter anything which was not already standing beside its new 'floor'.<br><br>It takes a short time for gravity to stabilise enough to recast this spell, though more powerful mages are able to do so more frequently.",
 
     flags = {
 
     flags = {
       MONS_ABJURE = true,
+
       target = true,
       SELFENCH = true,
+
       aim_at_space = true,
      UNHOLY = true
 
    },
 
    level = 5,
 
    name = "Summon Demon",
 
    noise = {
 
      casting = 4,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 6,
 +
    name = "Gell's Gavotte",
 +
    noise = { casting = 6, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     quote = "“'Tis now the very witching time of night,\n When churchyards yawn and hell itself breathes out\n Contagion to this world.”\n    -William Shakespeare, _The Tragedy of Hamlet, Prince of Denmark_, III, 2.",
+
     range = { max = 1, min = 1 },
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Translocation = true,
 
     },
 
     },
    ["summons limit"] = 3
 
 
   },
 
   },
   ["Summon Forest"] = {
+
   ["Magnavolt"] = {
 
     books = {
 
     books = {
       ["book of Summonings"] = true,
+
       ["book of Iron"] = true,
       ["Fen Folio"] = true
+
       ["Maxwell's Memoranda"] = true,
 
     },
 
     },
     description = "Forcefully intersects a forested plane with this world. It requires open space to succeed. While the spell holds, a spirit of the forest will be called forth, and the trees of the forest will be awakened to deal damage to nearby enemies.",
+
     description = "Envelops a target in a thin layer of magnetically charged metal fragments, then unleashes a powerful surge of electricity that arcs unerringly towards every visible target coated in these fragments - firing an additional beam at each target thus marked.<br><br>Magnetised creatures are additionally unable to evade attacks and will be revealed if invisible. If they die while still coated, they will leave behind a short-lived cloud of electrified metal that will continue to serve as a lightning rod for this spell.",
     flags = {},
+
     flags = {
    level = 5,
+
      target = true,
    name = "Summon Forest",
+
      prefer_farthest = true,
    noise = {
+
       destructive = true,
       casting = 4,
+
       needs_tracer = true,
       effect = 10
 
 
     },
 
     },
 +
    level = 7,
 +
    name = "Magnavolt",
 +
    noise = { casting = 7, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 11,
+
     range = { max = 8, min = 8 },
 
     schools = {
 
     schools = {
       Summoning = true,
+
       Earth = true,
       Translocation = true
+
       Air = true,
     }
+
     },
 
   },
 
   },
   ["Summon Greater Demon"] = {
+
   ["Fulsome Fusillade"] = {
 
     books = {
 
     books = {
       ["Grand Grimoire"] = true
+
       ["book of Transmutation"] = true,
 +
      ["book of Spectacle"] = true,
 
     },
 
     },
     description = "Calls forth one of the greater demons of Pandemonium to serve the caster. With high power, the summoned demon will be less likely to be initially hostile — but the strongest demons may eventually turn against their summoner regardless. Unlike other summons, greater demons will not be dismissed when attacked by their summoner - they will become hostile.",
+
     description = "A magnum opus of reckless chemistry, this spell conjures up a surfeit of volatile reagents to rain down upon your enemies. For the next several turns, up to 3 random enemies in sight will be struck by an exploding beaker that inflicts either fire, cold, electric, or poison damage. If any of these explosions overlap each other, the resulting reaction will inflict even greater irresistible damage and sometimes apply a random deleterious status on whoever is caught in the blast.<br><br>This spell costs a small amount of the caster's magical energy each turn to maintain, and while it will never aim an explosion where it could hurt the caster, the caster's allies (and anything else in the general vicinity) are not so fortunate.",
 
     flags = {
 
     flags = {
       MONS_ABJURE = true,
+
       chaotic = true,
       SELFENCH = true,
+
       area = true,
       UNHOLY = true
+
       destructive = true,
    },
 
    level = 7,
 
    name = "Summon Greater Demon",
 
    noise = {
 
      casting = 6,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 8,
 +
    name = "Fulsome Fusillade",
 +
    noise = { casting = 8, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = -1,
+
     range = { max = 8, min = 8 },
 
     schools = {
 
     schools = {
       Summoning = true
+
       Conjuration = true,
 +
      Alchemy = true,
 
     },
 
     },
    ["summons limit"] = 3
 
 
   },
 
   },
   ["Summon Guardian Golem"] = {
+
   ["Rimeblight"] = {
 
     books = {
 
     books = {
       ["book of Callings"] = true
+
       ["book of Wicked Creation"] = true,
 +
      ["book of Maladies"] = true,
 
     },
 
     },
     description = "Summons a protective golem. It redirects the injuries of its allies (but not the caster) to itself. When sufficiently damaged, it may fill with an inner flame, causing it to explode if destroyed. It gains more health at high power.",
+
     description = "Afflicts a creature (and up to two others near it) with a magical plague that slowly freezes them from the inside out. Victims take AC-ignoring cold damage each turn, and as the disease progresses, shards of crystalline ice will start erupting violently from their body, damaging nearby enemies. When they finally succumb, the plague may spread to those around them.<br><br>In living, holy, or demonic creatures, the disease is especially virulent, feeding off the necromantic energies released by its host's suffering. As they approach the point of death, it will accelerate rapidly, devouring the last vestiges of their body and leaving nothing behind but a twisted pillar of stygian ice.",
     flags = {},
+
     flags = {
    level = 3,
+
      dir_or_target = true,
    name = "Summon Guardian Golem",
+
      not_self = true,
    noise = {
+
       unclean = true,
       casting = 3,
+
       destructive = true,
       effect = 0
 
 
     },
 
     },
     ["power cap"] = 100,
+
    level = 7,
     rarity = 3,
+
    name = "Rimeblight",
 +
    noise = { casting = 7, effect = 0 },
 +
     ["power cap"] = 200,
 +
     range = { max = 5, min = 5 },
 
     schools = {
 
     schools = {
       Hexes = true,
+
       Ice = true,
       Summoning = true
+
       Necromancy = true,
 
     },
 
     },
    ["summons limit"] = 1
 
 
   },
 
   },
   ["Summon Horrible Things"] = {
+
   ["Hoarfrost Cannonade"] = {
 
     books = {
 
     books = {
       ["Grand Grimoire"] = true
+
       ["Compendium of Siegecraft"] = true,
 +
      ["book of Cryoformation"] = true,
 
     },
 
     },
     description = "Opens a gate to the Abyss and calls through one or more hideous abominations from that dreadful place. The opening of the gate may drain a portion of the caster's intellect.",
+
     description = "Sculpts a pair of icy cannons that assail the caster's enemies from long range. The frigid shards they fire rapidly coat their targets with a layer of brittle frost which slows their movement.<br><br>The cannons are short-lived and consume a part of themselves with every shard they fire, but if they survive to fire their final salvo without interference, it will be extra-powerful.",
 
     flags = {
 
     flags = {
      CHAOTIC = true,
 
      MONS_ABJURE = true,
 
      UNHOLY = true
 
    },
 
    level = 8,
 
    name = "Summon Horrible Things",
 
    noise = {
 
      casting = 6,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 5,
 +
    name = "Hoarfrost Cannonade",
 +
    noise = { casting = 5, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Ice = true,
 +
      Forgecraft = true,
 
     },
 
     },
    ["summons limit"] = 8
 
 
   },
 
   },
   ["Summon Hydra"] = {
+
   ["Hellfire Mortar"] = {
 
     books = {
 
     books = {
       ["book of Summonings"] = true,
+
       ["Trismegistus Codex"] = true,
       ["Fen Folio"] = true
+
       ["Compendium of Siegecraft"] = true,
 
     },
 
     },
     description = "Summons a many-headed hydra to fight alongside the caster for a short time.",
+
     description = "Splits apart the ground in front of the caster and sculpts a terrifying weapon out of molten rock. This mortar will move slowly along the lava-filled chasm, autonomously launching gouts of magma at the caster's enemies as it does so.<br><br>When it reaches the end of its path, or is obstructed in its movement by another creature, it will sink back into the lava, and the chasm will seal itself shut shortly thereafter.",
 
     flags = {
 
     flags = {
       MONS_ABJURE = true
+
       dir_or_target = true,
 +
      destructive = true,
 
     },
 
     },
 
     level = 7,
 
     level = 7,
     name = "Summon Hydra",
+
     name = "Hellfire Mortar",
     noise = {
+
     noise = { casting = 7, effect = 20 },
      casting = 6,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 8,
+
     range = { max = 8, min = 8 },
 
     schools = {
 
     schools = {
       Summoning = true
+
       Fire = true,
 +
      Earth = true,
 +
      Forgecraft = true,
 
     },
 
     },
    ["summons limit"] = 3
 
 
   },
 
   },
   ["Summon Ice Beast"] = {
+
   ["Grave Claw"] = {
 
     books = {
 
     books = {
       ["book of Callings"] = true,
+
       ["book of Necromancy"] = true,
       ["book of Frost"] = true
+
       ["book of the Grave"] = true,
 
     },
 
     },
     description = "Calls forth a beast of ice to serve the caster.",
+
     description = "Calls forth the spite of the recently dead to skewer a targeted enemy with shards of bone. This spell never misses, and will pin its target in place for several turns, but casting it rapidly consumes the remnants of death that linger upon the caster.<br><br>You can stockpile enough malice to cast this spell at most three times, and this can only be replenished by causing the death of a sufficient number of living beings.",
     flags = {},
+
     flags = {
    level = 4,
+
      target = true,
    name = "Summon Ice Beast",
+
       not_self = true,
    noise = {
 
       casting = 3,
 
      effect = 0
 
 
     },
 
     },
     ["power cap"] = 100,
+
    level = 2,
     rarity = 3,
+
    name = "Grave Claw",
 +
    noise = { casting = 2, effect = 0 },
 +
     ["power cap"] = 50,
 +
     range = { max = 4, min = 4 },
 
     schools = {
 
     schools = {
       Ice = true,
+
       Necromancy = true,
      Summoning = true
 
 
     },
 
     },
    ["summons limit"] = 3
 
 
   },
 
   },
   ["Summon Lightning Spire"] = {
+
   ["Launch Clockwork Bee"] = {
 
     books = {
 
     books = {
       ["book of Callings"] = true,
+
       ["My Sojourn through Swampland"] = true,
       ["book of the Sky"] = true
+
       ["Handbook of Applied Construction"] = true,
 
     },
 
     },
     description = "Constructs a lightning spire in a nearby location. It can fire bouncing bolts of electricity at the caster's foes, but is completely immobile.",
+
     description = "Constructs a mechanical bee and winds its clockwork mechanisms over several turns before unleashing it against a targeted foe. The bee is swift and powerful, but its clockwork quickly winds down as it attacks, eventually leaving it helpless and unable to move.<br><br>The caster may repair and rewind a dormant bee by attempting to move into it, at the cost of 1 MP.<br><br>Spellpower increases the number of attacks the bee may perform before going dormant.",
     flags = {},
+
     flags = {
    level = 4,
+
      target = true,
    name = "Summon Lightning Spire",
+
       not_self = true,
    noise = {
 
       casting = 2,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 3,
 +
    name = "Launch Clockwork Bee",
 +
    noise = { casting = 3, effect = 0 },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
     range = {
+
     range = { max = 8, min = 8 },
      max = 2,
 
      min = 2
 
    },
 
    rarity = 3,
 
 
     schools = {
 
     schools = {
       Air = true,
+
       Forgecraft = true,
      Summoning = true
 
 
     },
 
     },
    ["summons limit"] = 1
 
 
   },
 
   },
   ["Summon Mana Viper"] = {
+
   ["Construct Spike Launcher"] = {
 
     books = {
 
     books = {
       ["book of Summonings"] = true
+
       ["Handbook of Applied Construction"] = true,
 +
      ["Treatise on Traps"] = true,
 
     },
 
     },
     description = "Summons a violet-scaled serpent whose bite can swiftly drain the magical reserves of nearly any foe. At higher power, the antimagic properties of the viper's bite grow even stronger.",
+
     description = "Constructs a simple mechanical trap within an adjacent wall which repeatedly skewers random adjacent enemies. Protected by the wall itself, it is invulnerable to most forms of damage, but will fall apart if the caster leaves its vicinity.",
 
     flags = {
 
     flags = {
      MONS_ABJURE = true
 
 
     },
 
     },
     level = 5,
+
     level = 2,
     name = "Summon Mana Viper",
+
     name = "Construct Spike Launcher",
     noise = {
+
     noise = { casting = 2, effect = 0 },
      casting = 4,
+
     ["power cap"] = 50,
      effect = 0
 
    },
 
     ["power cap"] = 100,
 
    rarity = 8,
 
 
     schools = {
 
     schools = {
       Hexes = true,
+
       Forgecraft = true,
      Summoning = true
 
 
     },
 
     },
    ["summons limit"] = 2
 
 
   },
 
   },
   ["Summon Small Mammal"] = {
+
   ["Kinetic Grapnel"] = {
 
     books = {
 
     books = {
       ["book of Callings"] = true,
+
       ["book of Cantrips"] = true,
      ["book of Cantrips"] = true
+
    },
 +
    description = "Weaves a thin kinetic filament around the caster's melee weapon and launches the other end of it at a nearby enemy. If this grapnel successfully hits and does damage, it will become lodged in them, allowing the next melee attack the caster performs against them to strike with perfect accuracy and a small slaying bonus.",
 +
    flags = {
 +
      dir_or_target = true,
 +
      destructive = true,
 +
      needs_tracer = true,
 
     },
 
     },
    description = "Summons a small mammal to the caster's aid.",
 
    flags = {},
 
 
     level = 1,
 
     level = 1,
     name = "Summon Small Mammal",
+
     name = "Kinetic Grapnel",
     noise = {
+
     noise = { casting = 1, effect = 0 },
      casting = 1,
 
      effect = 0
 
    },
 
 
     ["power cap"] = 25,
 
     ["power cap"] = 25,
     rarity = 1,
+
     range = { max = 4, min = 4 },
 
     schools = {
 
     schools = {
       Summoning = true
+
       Forgecraft = true,
 
     },
 
     },
    ["summons limit"] = 4
 
 
   },
 
   },
   Swiftness = {
+
   ["Diamond Sawblades"] = {
 
     books = {
 
     books = {
       ["book of Air"] = true,
+
       ["Treatise on Traps"] = true,
       ["book of Burglary"] = true
+
       ["book of Contraptions"] = true,
 
     },
 
     },
     description = "Calls forth winds to greatly increase the caster's movement speed. After the effect ends, the caster's movements will be sluggish for a time.",
+
     description = "Forges up to four razor-sharp sawblades at fixed positions around the caster which shred any enemies adjacent to them over several turns.",
 
     flags = {
 
     flags = {
      HASTY = true,
 
      SELFENCH = true,
 
      UTILITY = true
 
 
     },
 
     },
     level = 3,
+
     level = 7,
     name = "Swiftness",
+
     name = "Diamond Sawblades",
     noise = {
+
     noise = { casting = 7, effect = 0 },
      casting = 2,
+
    ["power cap"] = 200,
       effect = 0
+
    schools = {
 +
       Forgecraft = true,
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 4,
 
    schools = {
 
      Air = true
 
    }
 
 
   },
 
   },
   ["Teleport Other"] = {
+
   ["Eringya's Surprising Crocodile"] = {
 
     books = {
 
     books = {
       ["book of Spatial Translocations"] = true
+
      ["My Sojourn through Swampland"] = true,
 +
       ["book of Callings"] = true,
 
     },
 
     },
     description = "Randomly translocates a targeted creature.",
+
     description = "Summons a toothy crocodile to assault an adjacent enemy. The crocodile will appear beneath the caster in a surge of murky water and perform an empowered attack against the chosen target, dragging both it and the caster backward before allowing the latter to dismount safely behind it. It cannot be recast while the crocodile is still active.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       target = true,
       EMERGENCY = true,
+
       not_self = true,
      ESCAPE = true,
 
      WILL_CHECK = true,
 
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 3,
+
     level = 4,
     name = "Teleport Other",
+
     name = "Eringya's Surprising Crocodile",
     noise = {
+
     noise = { casting = 4, effect = 0 },
      casting = 3,
+
    ["power cap"] = 100,
       effect = 0
+
    range = { max = 1, min = 1 },
 +
    schools = {
 +
       Summoning = true,
 
     },
 
     },
    ["power cap"] = 200,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 10,
 
    schools = {
 
      Translocation = true
 
    }
 
 
   },
 
   },
   Tornado = {
+
   ["Platinum Paragon"] = {
 
     books = {
 
     books = {
       ["book of the Sky"] = true,
+
       ["book of Weapons"] = true,
      ["book of the Tempests"] = true
 
 
     },
 
     },
     description = "Turns the air around the caster into a mighty vortex, doing tremendous damage to everyone caught in it. Those affected will also be swept up into the air and tossed around. Only the eye of the storm is a safe place, and it follows the caster. The spell's effectiveness is greatly diminished in closed areas. After the tornado fades, it cannot be called forth again for a short time.",
+
     description = "Constructs a gleaming metal champion whose prowess rivals that of the greatest living warriors. It is resistant to all forms of magic and wields a perfect replica of any artefact melee weapon the caster chooses.<br><br>It creates a damaging shockwave around itself when first deployed and slowly gains charge as it attacks enemies. When it has gained sufficient charge, the spell may be recast to overload the paragon, unleashing a flurry of attacks in a wide area which inflict increased damage, but destroying the paragon in the process.<br><br>Due to the magical link it maintains with its creator, it will perform an extra attack whenever they do, and will sometimes even parry attacks directed at them, if they are close enough together.",
 
     flags = {
 
     flags = {
       AREA = true
+
       target = true,
 +
      not_self = true,
 
     },
 
     },
 
     level = 9,
 
     level = 9,
     name = "Tornado",
+
     name = "Platinum Paragon",
     noise = {
+
     noise = { casting = 9, effect = 10 },
      casting = 5,
 
      effect = 15
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 3, min = 3 },
      max = 5,
+
    schools = {
       min = 5
+
       Forgecraft = true,
 
     },
 
     },
    rarity = 10,
 
    schools = {
 
      Air = true
 
    }
 
 
   },
 
   },
   ["Tukima's Dance"] = {
+
   ["Alistair's Walking Alembic"] = {
 
     books = {
 
     books = {
       ["book of Maledictions"] = true,
+
       ["book of Metalworking"] = true,
       ["book of Party Tricks"] = true
+
       ["book of Contraptions"] = true,
 
     },
 
     },
     description = "Animates the weapon of a targeted foe, ripping it from their hands and causing it to attack them relentlessly. Once the target dies, the weapon will fall to the ground shortly thereafter.\n\nRanged weapons and certain powerful named artefacts cannot be affected, and any abilities that require evocation skill to trigger will not be active.",
+
     description = "Constructs a mobile and combat-capable alchemical manufactory. It uses the friction of melee combat to brew a variety of useful potions, venting clouds of their toxic byproducts at whatever it punches. When it has built up enough heat to complete its synthesis, it will automatically dispense the finished potions to nearby allies before falling apart.",
 
     flags = {
 
     flags = {
      DIR_OR_TARGET = true,
 
      WILL_CHECK = true,
 
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 3,
+
     level = 5,
     name = "Tukima's Dance",
+
     name = "Alistair's Walking Alembic",
     noise = {
+
     noise = { casting = 5, effect = 0 },
      casting = 3,
+
     ["power cap"] = 100,
      effect = 0
+
     schools = {
    },
+
       Alchemy = true,
     ["power cap"] = 100,
+
       Forgecraft = true,
     range = {
 
       max = 7,
 
       min = 7
 
 
     },
 
     },
    rarity = 2,
 
    schools = {
 
      Hexes = true
 
    }
 
 
   },
 
   },
   ["Vampiric Draining"] = {
+
   ["Forge Monarch Bomb"] = {
 
     books = {
 
     books = {
       ["book of Necromancy"] = true
+
       ["book of Blasting"] = true,
 +
      ["book of Contraptions"] = true,
 
     },
 
     },
     description = "Steals the life of an adjacent living creature and grants it to the caster. Life will not be drained in excess of what the caster can capably absorb.",
+
     description = "Constructs a flying incendiary factory, packed to the brim with cluster bomblets which it can deploy both in melee and launch at range. While the monarch's bomblets have no attack of their own, they will pursue the caster's enemies until given the signal to explode.<br><br>Recasting this spell while anything it has created is still active will detonate the monarch bomb and all bomblets, dealing a combination of fire and physical damage to everything adjacent to them besides the caster themselves.",
 
     flags = {
 
     flags = {
      DIR_OR_TARGET = true,
 
      EMERGENCY = true,
 
      NOT_SELF = true,
 
      SELFENCH = true
 
    },
 
    level = 3,
 
    name = "Vampiric Draining",
 
    noise = {
 
      casting = 3,
 
      effect = 0
 
 
     },
 
     },
 +
    level = 6,
 +
    name = "Forge Monarch Bomb",
 +
    noise = { casting = 6, effect = 0 },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     schools = {
       max = 1,
+
       Fire = true,
       min = 1
+
       Forgecraft = true,
 
     },
 
     },
    rarity = 3,
 
    schools = {
 
      Necromancy = true
 
    }
 
 
   },
 
   },
   ["Wereblood"] = {
+
   ["Splinterfrost Shell"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true
+
       ["book of Cryoformation"] = true,
 +
      ["book of Duality"] = true,
 
     },
 
     },
     description = "Transforms some of the caster's blood into that of a were-beast. Each non-summoned enemy the caster slays in combat quickens the pulse and temporarily enhances their melee and ranged effectiveness. The thrill of slaying gives the caster an uncontrollable urge to howl.\n\nThe bonus only lasts for the duration of a single cast; retransforming the caster's blood calms the were-spirit and resets the bonus.",
+
     description = "Constructs a frangible shell of reinforced ice in a half-circle around the caster, pushing creatures out of the way to make space for it, if possible.<br><br>This barricade is durable, and whenever a segment of it is destroyed, will fracture into a salvo of icy projectiles launched at whatever destroyed it.<br><br>If the caster strays too far away from their barrier, it will melt rapidly.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       target = true,
 +
      not_self = true,
 
     },
 
     },
     level = 2,
+
     level = 7,
     name = "Wereblood",
+
     name = "Splinterfrost Shell",
     noise = {
+
     noise = { casting = 7, effect = 0 },
       casting = 2,
+
    ["power cap"] = 200,
       effect = 8
+
    range = { max = 1, min = 1 },
 +
    schools = {
 +
       Ice = true,
 +
       Forgecraft = true,
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 5,
 
    schools = {
 
      Transmutation = true
 
    }
 
 
   },
 
   },
   ["Yara's Violent Unravelling"] = {
+
   ["Nazja's Percussive Tempering"] = {
 
     books = {
 
     books = {
       ["book of Hexes"] = true,
+
       ["book of Metalworking"] = true,
       ["book of Misfortune"] = true
+
       ["book of Duality"] = true,
 
     },
 
     },
     description = "Tears apart the bonds that bind enchantments to the target creature, transforming the magic into a spray of deadly, mutagenic radiation.",
+
     description = "Manifests a magical hammer that repairs and temporarily augments the offensive capabilities of any construct that was created by the caster's own Forgecraft spells. This process results in a flurry of sparks, slag, and concussive shockwaves that do considerable damage to any enemies adjacent to the targeted construct, but it cannot be recast upon the same object until the enhancement wears off.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       target = true,
       DIR_OR_TARGET = true,
+
       helpful = true,
       NEEDS_TRACER = true,
+
       not_self = true,
       NO_GHOST = true
+
       destructive = true,
 
     },
 
     },
 
     level = 5,
 
     level = 5,
     name = "Yara's Violent Unravelling",
+
     name = "Nazja's Percussive Tempering",
     noise = {
+
     noise = { casting = 5, effect = 0 },
      casting = 5,
 
      effect = 15
 
    },
 
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     range = {
+
     range = { max = 8, min = 8 },
      max = 7,
+
    schools = {
       min = 7
+
       Forgecraft = true,
 
     },
 
     },
     rarity = 1,
+
  },
     schools = {
+
  ["Fortress Blast"] = {
 +
    books = {
 +
      ["book of Power"] = true,
 +
      ["book of the Fortress"] = true,
 +
    },
 +
    description = "Draws upon the caster's own physical integrity to create a kinetic shockwave that damages foes in a large area. The caster is locked in place for several turns as the shockwave starts to form, and the spell will be cancelled if they are displaced during that time, but they may otherwise perform other actions freely.<br><br>Spellpower causes the spell to complete more quickly, but the damage depends entirely upon the caster's AC.",
 +
    flags = {
 +
      area = true,
 +
      destructive = true,
 +
    },
 +
    level = 6,
 +
    name = "Fortress Blast",
 +
    noise = { casting = 6, effect = 20 },
 +
    ["power cap"] = 75,
 +
    range = { max = 2, min = 2 },
 +
    schools = {
 +
      Forgecraft = true,
 +
    },
 +
  },
 +
  ["Summon Seismosaurus Egg"] = {
 +
    books = {
 +
      ["book of the Wilderness"] = true,
 +
      ["book of Beasts"] = true,
 +
    },
 +
    description = "Summons the egg of a brutish lizard, just on the verge of hatching. So long as there are foes nearby and the caster remains adjacent to the egg, it will hatch several turns after being summoned to wreak havoc upon its summoner's foes.<br><br>Even as a juvenile, a seismosaurus is a force to be reckoned with. It is nearly as hardy as a mountain, and its footfalls are capable of creating violent seismic shockwaves. Each shockwave deals considerable damage to non-flying enemies, and may sometimes even cause them to lose their footing altogether.<br><br>Spell power increases the egg's durability and the strength of the seismosaur within, but not the time it takes to hatch.",
 +
    flags = {
 +
    },
 +
    level = 4,
 +
    name = "Summon Seismosaurus Egg",
 +
    noise = { casting = 4, effect = 0 },
 +
    ["power cap"] = 100,
 +
    schools = {
 +
      Summoning = true,
 +
      Earth = true,
 +
    },
 +
  },
 +
  ["Forge Phalanx Beetle"] = {
 +
    books = {
 +
      ["book of the Fortress"] = true,
 +
      ["book of Metalworking"] = true,
 +
    },
 +
    description = "Constructs a small mechanical guardian which bolsters its creator's armour class for as long as it remains adjacent to them.<br><br>While also capable of biting foes, the phalanx beetle will never voluntarily leave its creator's side, and if forcibly separated, will prioritize returning to them over any other concern.<br><br>Spellpower increases the magnitude of the AC increase, as well as the beetle's own durability.",
 +
    flags = {
 +
    },
 +
    level = 6,
 +
    name = "Forge Phalanx Beetle",
 +
    noise = { casting = 6, effect = 0 },
 +
    ["power cap"] = 200,
 +
    schools = {
 +
      Forgecraft = true,
 +
    },
 +
  },
 +
  ["Rending Blade"] = {
 +
    books = {
 +
      ["book of Armaments"] = true,
 +
      ["book of Weapons"] = true,
 +
    },
 +
    description = "Condenses the caster's magical energy into the form of a violently crackling blade. Each time the caster successfully hits with a melee attack while the spell is active, this blade will rend a path back and forth through nearby foes, dealing irresistible damage.<br><br>Casting this spell temporarily drains *all* of the caster's remaining magical power to constitute the blade, but this energy will be returned to them as soon as the blade ceases to exist. Each point of magical power sequestered this way slightly increases the damage the blade inflicts.",
 +
    flags = {
 +
      utility = true,
 +
    },
 +
    level = 4,
 +
    name = "Rending Blade",
 +
    noise = { casting = 4, effect = 0 },
 +
    ["power cap"] = 100,
 +
    schools = {
 +
      Conjuration = true,
 +
      Forgecraft = true,
 +
    },
 +
  },
 +
  ["Poisonous Vapours"] = {
 +
    books = {
 +
      ["Young Poisoner's Handbook"] = true,
 +
      ["book of Cantrips"] = true,
 +
    },
 +
    description = "Transmutes a small amount of the air around a target into toxic vapours, poisoning anyone unfortunate enough to breathe them in. The quantity of air affected is small and it will not persist beyond the turn in which it is cast.<br><br>It cannot affect those with any resistance to poison.",
 +
    flags = {
 +
      target = true,
 +
      not_self = true,
 +
      destructive = true,
 +
    },
 +
    level = 1,
 +
    name = "Poisonous Vapours",
 +
     noise = { casting = 1, effect = 0 },
 +
    ["power cap"] = 25,
 +
    range = { max = 3, min = 3 },
 +
    schools = {
 +
      Alchemy = true,
 +
      Air = true,
 +
    },
 +
  },
 +
  ["Detonation Catalyst"] = {
 +
    books = {
 +
      ["book of Spontaneous Combustion"] = true,
 +
      ["book of Battle"] = true,
 +
    },
 +
    description = "Affixes a volatile catalyst to the caster's fists or melee weapon, causing each of their strikes to release a fiery explosion at its primary target. The caster and their allies are protected from the explosion's effects. The activity of the catalyst may be prolonged indefinitely as long as the caster continues to attack, but it rapidly loses potency when they take other actions. The base damage of the caster's weapon and the caster's spellpower each increase the explosion's damage.",
 +
    flags = {
 +
      selfench = true,
 +
    },
 +
    level = 5,
 +
    name = "Detonation Catalyst",
 +
    noise = { casting = 5, effect = 15 },
 +
    ["power cap"] = 100,
 +
    schools = {
 +
      Fire = true,
 +
      Alchemy = true,
 +
    },
 +
  },
 +
  ["Sphinx Sisters"] = {
 +
    books = {
 +
      ["book of Misfortune"] = true,
 +
      ["book of Beasts"] = true,
 +
    },
 +
    description = "Summons a pair of riddling sphinxes - one guardian and one marauder - to debilitate the caster's enemies with hexes and batter them with violent winds.<br><br>Spell power increases the sphinxes' durability and the power of their spells.",
 +
    flags = {
 +
      mons_abjure = true,
 +
    },
 +
    level = 7,
 +
    name = "Sphinx Sisters",
 +
    noise = { casting = 7, effect = 0 },
 +
    ["power cap"] = 200,
 +
     schools = {
 
       Hexes = true,
 
       Hexes = true,
       Transmutation = true
+
       Summoning = true,
     }
+
     },
   }
+
   },
 
}
 
}

Latest revision as of 21:07, 10 May 2025

Module:Table of spells is a Lua module which contains information used by Module:Spell. If you want to add new Lua functions to process this page, write them in Module:Spell.

To generate this script, see https://github.com/jkornelsen/crawl-wiki-modules. Or, update it by hand.


-- Table of spells (last generated in 0.33)
return {
  ["Cause Fear"] = {
    books = {
      ["book of Hexes"] = true,
      ["book of the Dragon"] = true,
    },
    description = "Causes fear in those near to the caster, causing those affected to be unable to approach the caster, and to sometimes fail to attack them in melee. Leaving the caster's line of sight will end the effect.",
    flags = {
      area = true,
      WL_check = true,
    },
    level = 4,
    name = "Cause Fear",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
    },
  },
  ["Magic Dart"] = {
    books = {
      ["book of Minor Magic"] = true,
      ["book of Conjurations"] = true,
    },
    description = "Fires a small bolt of magical energy which never misses.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 1,
    name = "Magic Dart",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    range = { max = 8, min = 8 },
    schools = {
      Conjuration = true,
    },
  },
  ["Fireball"] = {
    books = {
      ["book of the Dragon"] = true,
      ["book of the Spheres"] = true,
    },
    description = "Hurls an explosive ball of fire.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 5,
    name = "Fireball",
    noise = { casting = 5, effect = 15 },
    ["power cap"] = 200,
    range = { max = 5, min = 5 },
    schools = {
      Conjuration = true,
      Fire = true,
    },
  },
  ["Apportation"] = {
    books = {
      ["book of Cantrips"] = true,
      ["book of Party Tricks"] = true,
    },
    description = "Pulls the top item or group of similar items from a distant pile to the floor near the caster. With low power, items might not be moved all the way to the caster's position.<br><br>Extremely powerful magical items, such as the Orb of Zot, may actively resist the pull of this spell.",
    flags = {
      target = true,
      obj = true,
      not_self = true,
    },
    level = 1,
    name = "Apportation",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 50,
    range = { max = 8, min = 8 },
    schools = {
      Translocation = true,
    },
  },
  ["Slow"] = {
    books = {
      ["book of Debilitation"] = true,
    },
    description = "Slows the actions of a creature.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      WL_check = true,
    },
    level = 1,
    name = "Slow",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
    },
  },
  ["Freezing Cloud"] = {
    books = {
      ["book of Ice"] = true,
      ["Trismegistus Codex"] = true,
    },
    description = "Conjures up a large cloud of lethally cold vapour.",
    flags = {
      target = true,
      area = true,
      needs_tracer = true,
      cloud = true,
    },
    level = 5,
    name = "Freezing Cloud",
    noise = { casting = 5, effect = 2 },
    ["power cap"] = 200,
    range = { max = 5, min = 5 },
    schools = {
      Conjuration = true,
      Ice = true,
      Air = true,
    },
  },
  ["Mephitic Cloud"] = {
    books = {
      ["book of the Senses"] = true,
      ["Trismegistus Codex"] = true,
    },
    description = "Conjures a fragile flask that explodes into short-lived clouds of noxious fumes. These clouds may cause confusion in any creature not resistant to poison. Tougher, more experienced creatures are less likely to be affected.",
    flags = {
      dir_or_target = true,
      area = true,
      needs_tracer = true,
      cloud = true,
    },
    level = 3,
    name = "Mephitic Cloud",
    noise = { casting = 3, effect = 15 },
    ["power cap"] = 100,
    range = { max = 4, min = 4 },
    schools = {
      Conjuration = true,
      Alchemy = true,
      Air = true,
    },
  },
  ["Olgreb's Toxic Radiance"] = {
    books = {
      ["Young Poisoner's Handbook"] = true,
      ["the Unrestrained Analects"] = true,
    },
    description = "Causes the caster to radiate toxic energy, continuously inflicting poison on everything in line of sight for as long as the spell lasts.",
    flags = {
      area = true,
      destructive = true,
    },
    level = 4,
    name = "Olgreb's Toxic Radiance",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Alchemy = true,
    },
  },
  ["Teleport Other"] = {
    books = {
      ["book of Displacement"] = true,
      ["There-And-Back Book"] = true,
    },
    description = "Attempts to teleport a targeted creature out of the caster's sight, after a short delay.",
    flags = {
      target = true,
      not_self = true,
      escape = true,
      WL_check = true,
    },
    level = 3,
    name = "Teleport Other",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    range = { max = 8, min = 8 },
    schools = {
      Translocation = true,
    },
  },
  ["Death's Door"] = {
    books = {
      ["Necronomicon"] = true,
    },
    description = "Renders the caster nigh invulnerable to harm for a brief period, but brings them dangerously close to death in the process. So close, in fact, that the body believes itself to be dead — healing effects will do nothing.<br><br>The caster will receive one warning shortly before the spell expires. After expiry, the spell cannot immediately be recast, but with high power the caster will be left further from death when the effect ends. It has no effect on those who are already undead.",
    flags = {
      utility = true,
      no_ghost = true,
    },
    level = 9,
    name = "Death's Door",
    noise = { casting = 9, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Necromancy = true,
    },
  },
  ["Summon Small Mammal"] = {
    books = {
      ["book of Callings"] = true,
      ["book of Cantrips"] = true,
    },
    description = "Summons a rat, bat, or quokka to the caster's aid. Spell power increases the chance of summoning a quokka.",
    flags = {
    },
    level = 1,
    name = "Summon Small Mammal",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    schools = {
      Summoning = true,
    },
  },
  ["Lehudib's Crystal Spear"] = {
    books = {
      ["book of Armaments"] = true,
      ["book of the Moon"] = true,
    },
    description = "Hurls a lethally sharp shard of crystal.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 8,
    name = "Lehudib's Crystal Spear",
    noise = { casting = 8, effect = 0 },
    ["power cap"] = 200,
    range = { max = 3, min = 3 },
    schools = {
      Conjuration = true,
      Earth = true,
    },
  },
  ["Fire Storm"] = {
    books = {
      ["book of Annihilations"] = true,
    },
    description = "Calls forth a mighty storm of roaring flame directly onto the target, dealing damage in a large area and leaving behind short-lived fire vortices. Half of its damage bypasses fire resistance.",
    flags = {
      target = true,
      area = true,
      needs_tracer = true,
    },
    level = 9,
    name = "Fire Storm",
    noise = { casting = 9, effect = 25 },
    ["power cap"] = 200,
    range = { max = 5, min = 5 },
    schools = {
      Conjuration = true,
      Fire = true,
    },
  },
  ["Blink"] = {
    books = {
      ["book of Minor Magic"] = true,
      ["book of Spatial Translocations"] = true,
    },
    description = "Randomly translocates the caster a short distance. After translocating in this way, the spell cannot be cast again for a short period of time depending on spell power.",
    flags = {
      escape = true,
      selfench = true,
      utility = true,
    },
    level = 2,
    name = "Blink",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    schools = {
      Translocation = true,
    },
  },
  ["Iskenderun's Mystic Blast"] = {
    books = {
      ["book of Blasting"] = true,
      ["book of Duality"] = true,
    },
    description = "Detonates a crackling sphere of destructive energy. The explosion will hit all nearby monsters with physical force, knocking them back if damage is done. Spellpower increases damage and knockback distance.",
    flags = {
      area = true,
    },
    level = 4,
    name = "Iskenderun's Mystic Blast",
    noise = { casting = 4, effect = 10 },
    ["power cap"] = 100,
    range = { max = 2, min = 2 },
    schools = {
      Conjuration = true,
      Translocation = true,
    },
  },
  ["Summon Horrible Things"] = {
    books = {
      ["Grand Grimoire"] = true,
    },
    description = "Opens a gate to the Abyss and calls through two or more hideous abominations from that dreadful place. The opening of the gate may temporarily mutate the caster, reducing their willpower.",
    flags = {
      unholy = true,
      chaotic = true,
      mons_abjure = true,
    },
    level = 8,
    name = "Summon Horrible Things",
    noise = { casting = 8, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Summoning = true,
    },
  },
  ["Animate Dead"] = {
    books = {
      ["book of Death"] = true,
      ["book of the Grave"] = true,
    },
    description = "For some time after casting this, living creatures killed by the caster will rise as zombies. The chance of reanimating a monster and the duration of the effect increase with spell power. Re-casting this spell will return zombies to dust, as will leaving the floor.",
    flags = {
      helpful = true,
      utility = true,
      no_ghost = true,
    },
    level = 4,
    name = "Animate Dead",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Necromancy = true,
    },
  },
  ["Vampiric Draining"] = {
    books = {
      ["book of Necromancy"] = true,
      ["book of Duality"] = true,
    },
    description = "Steals the life of an adjacent living creature and grants it to the caster.",
    flags = {
      dir_or_target = true,
      not_self = true,
    },
    level = 3,
    name = "Vampiric Draining",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    range = { max = 1, min = 1 },
    schools = {
      Necromancy = true,
    },
  },
  ["Haunt"] = {
    books = {
      ["book of Death"] = true,
      ["Necronomicon"] = true,
    },
    description = "Calls wraiths and ghosts to haunt the caster's target. They will only attack the creature they are haunting, and will dissipate quickly once their target dies. The number of spectres summoned increases with spell power.",
    flags = {
      target = true,
      not_self = true,
      mons_abjure = true,
    },
    level = 7,
    name = "Haunt",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Necromancy = true,
      Summoning = true,
    },
  },
  ["Borgnjor's Revivification"] = {
    books = {
      ["Necronomicon"] = true,
    },
    description = "Instantly heals any and all wounds suffered by the caster, but also permanently damages their health, to a degree dependent on (and inversely related to) power.<br><br>It is powerful enough to cancel the effects of Death's Door, although doing so will briefly paralyse the caster. It has no effect on the undead.",
    flags = {
      utility = true,
    },
    level = 8,
    name = "Borgnjor's Revivification",
    noise = { casting = 8, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Necromancy = true,
    },
  },
  ["Freeze"] = {
    books = {
      ["book of Frost"] = true,
    },
    description = "Freezes an adjacent creature, dealing damage that bypasses any armour the target may have. This may temporarily slow cold-blooded creatures.",
    flags = {
      dir_or_target = true,
      not_self = true,
      destructive = true,
    },
    level = 1,
    name = "Freeze",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    range = { max = 1, min = 1 },
    schools = {
      Ice = true,
    },
  },
  ["Ozocubu's Refrigeration"] = {
    books = {
      ["book of Ice"] = true,
      ["the Unrestrained Analects"] = true,
    },
    description = "Turns the air bitterly cold, freezing all other creatures in line of sight. This is less effective against creatures packed tightly together - those adjacent to others will be partly insulated from the cold, taking less damage.",
    flags = {
      area = true,
      destructive = true,
    },
    level = 7,
    name = "Ozocubu's Refrigeration",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Ice = true,
    },
  },
  ["Sticky Flame"] = {
    books = {
      ["book of Flames"] = true,
      ["Everburning Encyclopedia"] = true,
    },
    description = "Unleashes a short-ranged spray of incendiary goo that clings to an adjacent creature and deals armour-ignoring fire damage over several turns. If the victim is allowed to move, it will put out the fire prematurely.<br><br>If the target is insubstantial, the liquid fire will fail to stick.",
    flags = {
      dir_or_target = true,
      destructive = true,
      needs_tracer = true,
    },
    level = 4,
    name = "Sticky Flame",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    range = { max = 1, min = 1 },
    schools = {
      Fire = true,
      Alchemy = true,
    },
  },
  ["Summon Ice Beast"] = {
    books = {
      ["book of Beasts"] = true,
      ["book of the Tundra"] = true,
    },
    description = "Calls forth a beast of ice to serve the caster. The strength of the beast depends on spell power.",
    flags = {
    },
    level = 3,
    name = "Summon Ice Beast",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Ice = true,
      Summoning = true,
    },
  },
  ["Ozocubu's Armour"] = {
    books = {
      ["book of Battle"] = true,
      ["book of Winter"] = true,
    },
    description = "Envelops the caster's body in a protective layer of thick ice, granting a substantial bonus to armour as long as they remain in their current location. The ice will crack and fall away if the caster moves to a new position. The spell decreases in effectiveness in heavier armour, granting a lower bonus the higher the encumbrance rating of the caster's armour.",
    flags = {
      no_ghost = true,
    },
    level = 3,
    name = "Ozocubu's Armour",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Ice = true,
    },
  },
  ["Call Imp"] = {
    books = {
      ["book of Minor Magic"] = true,
      ["book of Callings"] = true,
    },
    description = "Calls forth a minor demon from the pits of Hell, equipped with a spear with which to jab at the caster's enemies. The quality of the imp's weaponry rises with spell power.",
    flags = {
      unholy = true,
    },
    level = 2,
    name = "Call Imp",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    schools = {
      Summoning = true,
    },
  },
  ["Dispel Undead"] = {
    books = {
      ["book of Decay"] = true,
      ["book of Touch"] = true,
    },
    description = "Harms an adjacent undead creature greatly by interfering with the forces binding it together.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 4,
    name = "Dispel Undead",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    range = { max = 1, min = 1 },
    schools = {
      Necromancy = true,
    },
  },
  ["Sublimation of Blood"] = {
    books = {
      ["book of Blood"] = true,
      ["book of Maladies"] = true,
    },
    description = "Converts some of the caster's blood into magical energy. The process is painful but never directly lethal. The efficiency of the conversion increases with the spell's power.",
    flags = {
      utility = true,
    },
    level = 2,
    name = "Sublimation of Blood",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Necromancy = true,
    },
  },
  ["Tukima's Dance"] = {
    books = {
      ["book of Weapons"] = true,
      ["Great Wizards, Vol. VII"] = true,
    },
    description = "Animates the weapon of a targeted foe, ripping it from their hands and causing it to attack them relentlessly. Once the target dies, the weapon will fall to the ground shortly thereafter.<br><br>Certain powerful named artefacts cannot be animated, and any properties that require skill in evocations will not be active.",
    flags = {
      dir_or_target = true,
      not_self = true,
      needs_tracer = true,
      WL_check = true,
    },
    level = 3,
    name = "Tukima's Dance",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
    },
  },
  ["Stone Arrow"] = {
    books = {
      ["book of Geomancy"] = true,
      ["book of Armaments"] = true,
    },
    description = "Fires a sharp spine of rock.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 3,
    name = "Stone Arrow",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 50,
    range = { max = 4, min = 4 },
    schools = {
      Conjuration = true,
      Earth = true,
    },
  },
  ["Shock"] = {
    books = {
      ["book of Air"] = true,
    },
    description = "Throws a bouncing bolt of electricity. It bypasses half of defenders' armour.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 1,
    name = "Shock",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    range = { max = 8, min = 8 },
    schools = {
      Conjuration = true,
      Air = true,
    },
  },
  ["Swiftness"] = {
    books = {
      ["book of Air"] = true,
      ["book of Burglary"] = true,
    },
    description = "Calls forth winds to greatly increase the caster's movement speed. After the effect ends, the caster's movements will be sluggish for a time.",
    flags = {
      hasty = true,
      selfench = true,
      utility = true,
    },
    level = 3,
    name = "Swiftness",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Air = true,
    },
  },
  ["Death Channel"] = {
    books = {
      ["book of Unlife"] = true,
      ["book of Wicked Creation"] = true,
    },
    description = "Binds the souls of slain living, demonic and holy creatures, forcing their spectres to remain and fight for the caster for as long as the channel lasts.",
    flags = {
      helpful = true,
      selfench = true,
      utility = true,
    },
    level = 6,
    name = "Death Channel",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Necromancy = true,
    },
  },
  ["Airstrike"] = {
    books = {
      ["book of Air"] = true,
      ["book of Storms"] = true,
    },
    description = "Causes the air around a creature to twist itself into a whirling vortex of meteorological fury. It does more damage to targets surrounded by empty space.",
    flags = {
      target = true,
      not_self = true,
      destructive = true,
    },
    level = 4,
    name = "Airstrike",
    noise = { casting = 4, effect = 4 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Air = true,
    },
  },
  ["Confusing Touch"] = {
    books = {
      ["book of Debilitation"] = true,
      ["book of Touch"] = true,
    },
    description = "Enchants the caster's dominant hand with magical energy. This energy is released when the caster touches a monster, and may induce a state of confusion in the monster. The caster's attacks do no damage while attempting to touch a monster in this way.",
    flags = {
      selfench = true,
      WL_check = true,
    },
    level = 3,
    name = "Confusing Touch",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Hexes = true,
    },
  },
  ["Passwall"] = {
    books = {
      ["book of Geomancy"] = true,
      ["book of Burglary"] = true,
    },
    description = "Allows the caster to travel a short distance through an adjacent rock wall and emerge again on the other side. This spell takes an unusally long time to cast, during which the caster will be unable to act, but also gain increased armour from their attunement to the rock.",
    flags = {
      target = true,
      not_self = true,
      silent = true,
      escape = true,
      utility = true,
    },
    level = 3,
    name = "Passwall",
    noise = { casting = 0, effect = 0 },
    ["power cap"] = 100,
    range = { max = 3, min = 3 },
    schools = {
      Earth = true,
    },
  },
  ["Ignite Poison"] = {
    books = {
      ["Everburning Encyclopedia"] = true,
      ["book of Blood"] = true,
    },
    description = "Converts all nearby poison into liquid flame, burning poisoned creatures from within. It also turns clouds of poison and mephitic gases into flame. The caster is not affected directly.",
    flags = {
      area = true,
      destructive = true,
    },
    level = 4,
    name = "Ignite Poison",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Fire = true,
      Alchemy = true,
    },
  },
  ["Call Canine Familiar"] = {
    books = {
      ["book of Callings"] = true,
      ["book of the Hunter"] = true,
    },
    description = "Summons an inugami to the caster's aid. These mystical canines form a bond with their summoner, strengthening them in direct proportion with the caster's spellpower.<br><br>Recasting this spell while your familiar is nearby will imbue it with additional magic, mending some of its wounds and causing its next attack to strike more quickly and cleave adjacent foes.",
    flags = {
    },
    level = 3,
    name = "Call Canine Familiar",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Summoning = true,
    },
  },
  ["Ensorcelled Hibernation"] = {
    books = {
      ["book of Burglary"] = true,
      ["book of Dreams"] = true,
    },
    description = "Lowers its target's metabolic rate, inducing hibernation. After awakening, the target will be unable to be put to sleep again for some time.",
    flags = {
      dir_or_target = true,
      not_self = true,
      silent = true,
      needs_tracer = true,
      WL_check = true,
    },
    level = 2,
    name = "Ensorcelled Hibernation",
    noise = { casting = 0, effect = 0 },
    ["power cap"] = 50,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
      Ice = true,
    },
  },
  ["Metabolic Englaciation"] = {
    books = {
      ["book of Winter"] = true,
      ["book of Sloth"] = true,
    },
    description = "Lowers the metabolic rate of every creature in the caster's vicinity, slowing all those who are not resistant to cold. Cold-blooded creatures will be affected much more strongly, and tougher creatures will be slowed for a shorter time.",
    flags = {
      area = true,
    },
    level = 5,
    name = "Metabolic Englaciation",
    noise = { casting = 5, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Hexes = true,
      Ice = true,
    },
  },
  ["Silence"] = {
    books = {
      ["book of the Senses"] = true,
      ["book of the Moon"] = true,
    },
    description = "Eliminates all sound near the caster. This makes reading scrolls, casting spells, invoking divine abilities, or shouting impossible in the caster's vicinity. The spell's oppressive, unnatural effect will greatly hamper stealth.<br><br>Certain monsters have innate magical or special abilities which will still be usable while silenced.<br><br>The effect starts out with a radius depending on power, which will then shrink, eventually covering only the caster, before it times out.",
    flags = {
      silent = true,
      area = true,
    },
    level = 5,
    name = "Silence",
    noise = { casting = 0, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Hexes = true,
      Air = true,
    },
  },
  ["Shatter"] = {
    books = {
      ["book of Annihilations"] = true,
    },
    description = "Causes an enormous burst of concussive force around the caster, dealing severe damage to all nearby creatures. It is especially effective against those made from ice, bone, or any wall-like substance (such as rock, metal or crystal), as well as those turned to stone by petrification. It is less effective against flying, gelatinous and insubstantial creatures. It may also destroy nearby walls.",
    flags = {
      area = true,
      destructive = true,
    },
    level = 9,
    name = "Shatter",
    noise = { casting = 9, effect = 30 },
    ["power cap"] = 200,
    schools = {
      Earth = true,
    },
  },
  ["Dispersal"] = {
    books = {
      ["book of the Warp"] = true,
      ["There-And-Back Book"] = true,
    },
    description = "Teleports away any creatures within a short distance of the caster. Any creature with the Will to resist will still be irresistibly blinked a shorter distance, and any monster it affects at all has a separate Will-based chance of being confused by the warping of space.",
    flags = {
      escape = true,
      area = true,
    },
    level = 6,
    name = "Dispersal",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    range = { max = 4, min = 1 },
    schools = {
      Translocation = true,
    },
  },
  ["Static Discharge"] = {
    books = {
      ["book of Storms"] = true,
    },
    description = "Releases electrical charges against those next to the caster. These may arc to other adjacent creatures, or back to the caster, before eventually grounding out. It deals reduced damage when arcing to the caster, and the damage dealt bypasses half of defenders' armour.",
    flags = {
      area = true,
    },
    level = 2,
    name = "Static Discharge",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    range = { max = 1, min = 1 },
    schools = {
      Conjuration = true,
      Air = true,
    },
  },
  ["Alistair's Intoxication"] = {
    books = {
      ["book of Party Tricks"] = true,
      ["Great Wizards, Vol. II"] = true,
    },
    description = "Converts a small portion of the brain matter of those around you into alcohol, attempting to confuse all intelligent creatures within view (although poison-resistant creatures may resist the effects). The caster will experience vertigo briefly if they successfully make contact with other minds. It is frequently used as an icebreaker at wizard parties.",
    flags = {
    },
    level = 5,
    name = "Alistair's Intoxication",
    noise = { casting = 5, effect = 0 },
    ["power cap"] = 150,
    schools = {
      Alchemy = true,
    },
  },
  ["Lee's Rapid Deconstruction"] = {
    books = {
      ["book of the Earth"] = true,
      ["book of Iron"] = true,
    },
    description = "Fragments a wall or a suitably brittle visible monster into an explosion of deadly shrapnel. It can be used on monsters made of ice, bone, or any wall-like substance, as well as those turned to stone by petrification. Its damage is strongly reduced by armour.<br><br>Targets made from rock, stone, ice or bone will cause a small explosion. Metal targets will cause a small but more damaging explosion, and targets made from crystal will cause a large and more damaging explosion.",
    flags = {
      target = true,
      destructive = true,
    },
    level = 5,
    name = "Lee's Rapid Deconstruction",
    noise = { casting = 5, effect = 20 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Earth = true,
    },
  },
  ["Sandblast"] = {
    books = {
      ["book of Geomancy"] = true,
    },
    description = "Blasts a target with high-velocity rock shards. Gathering the rock from ambient grit is slow, making this spell take one-and-a-half times as long to cast as most. Its damage is strongly reduced by armour.",
    flags = {
      dir_or_target = true,
      not_self = true,
      destructive = true,
      needs_tracer = true,
    },
    level = 1,
    name = "Sandblast",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 50,
    range = { max = 4, min = 4 },
    schools = {
      Earth = true,
    },
  },
  ["Sculpt Simulacrum"] = {
    books = {
      ["book of Wicked Creation"] = true,
      ["book of Cryoformation"] = true,
    },
    description = "Forms icy simulacra of an adjacent living, demonic, or holy creature. These fragile doppelgangers will take shape over a short period of time, eventually gaining the ability to move and attack the caster's enemies.<br><br>The good gods frown on this spell, as it works blood and ichor into unnatural facsimiles.<br><br>You can maintain up to 5 simulacra simultaneously.",
    flags = {
      dir_or_target = true,
      not_self = true,
      unholy = true,
      needs_tracer = true,
    },
    level = 6,
    name = "Sculpt Simulacrum",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    range = { max = 1, min = 1 },
    schools = {
      Ice = true,
      Alchemy = true,
    },
  },
  ["Conjure Ball Lightning"] = {
    books = {
      ["book of the Spheres"] = true,
      ["book of Chaos"] = true,
    },
    description = "Creates a pack of ball lightnings, which seek out the nearest enemy before exploding in a huge blast of electricity. The damage dealt bypasses half of defenders' armour. Casters are advised to use caution; the lightning is not mindful of what it may hit.<br><br>The magic which keeps ball lightnings cohesive has limited range, so they may dissipate harmlessly if allowed to drift too far away from their caster before exploding.",
    flags = {
    },
    level = 6,
    name = "Conjure Ball Lightning",
    noise = { casting = 6, effect = 25 },
    ["power cap"] = 200,
    schools = {
      Conjuration = true,
      Air = true,
    },
  },
  ["Chain Lightning"] = {
    books = {
      ["book of Annihilations"] = true,
    },
    description = "Releases a massive electrical discharge that arcs to the creature nearest the caster and then outward from it. The further it travels, the less damage it does. Secondary arcs have limited range and do little damage to the caster. The spell bypasses half of defenders' armour and resistance to electricity.",
    flags = {
      area = true,
    },
    level = 9,
    name = "Chain Lightning",
    noise = { casting = 9, effect = 25 },
    ["power cap"] = 200,
    schools = {
      Conjuration = true,
      Air = true,
    },
  },
  ["Petrify"] = {
    books = {
      ["book of Transmutation"] = true,
      ["book of Sloth"] = true,
    },
    description = "Petrifies a targeted creature and up to two other foes in a chain. Those which do not muster the Will to resist are briefly slowed, and then turned to stone. Until they return to flesh, they are unable to act, but also take half damage. The spell's power is lessened against secondary targets.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      WL_check = true,
    },
    level = 4,
    name = "Petrify",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    range = { max = 6, min = 6 },
    schools = {
      Alchemy = true,
      Earth = true,
    },
  },
  ["Passage of Golubria"] = {
    books = {
      ["book of the Moon"] = true,
      ["Great Wizards, Vol. VII"] = true,
    },
    description = "Opens two gateways (one always near the caster), which allow instantaneous transport to random other open gateways to any creature entering them. There is no limit to the number of gateways that can be open at one time. However, gateways close a short time after being opened, or immediately once entered.",
    flags = {
      target = true,
      aim_at_space = true,
      escape = true,
      selfench = true,
    },
    level = 4,
    name = "Passage of Golubria",
    noise = { casting = 4, effect = 8 },
    ["power cap"] = 100,
    range = { max = 8, min = 2 },
    schools = {
      Translocation = true,
    },
  },
  ["Orb of Destruction"] = {
    books = {
      ["book of the Spheres"] = true,
      ["book of Dangerous Friends"] = true,
    },
    description = "Conjures an orb made of pure destructive magic. Compared to most other projectiles, these orbs travel at a relatively slow pace. The orbs home onto their targets, yet because of their huge inertia, especially agile opponents may be able to outmanoeuvre them. The orbs need some time to stabilise, and a nascent orb will deal reduced damage.<br><br>Residents of the dungeon are able to maintain the orb until it impacts a target, but when cast by you the orb will dissipate upon leaving your line of sight.",
    flags = {
      dir_or_target = true,
      not_self = true,
      needs_tracer = true,
    },
    level = 7,
    name = "Orb of Destruction",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Conjuration = true,
    },
  },
  ["Malign Gateway"] = {
    books = {
      ["Grand Grimoire"] = true,
    },
    description = "Tears a gash in reality, creating a self-sustained but temporary portal to an unknown, tainted otherworld. It requires open space to succeed. After a short time, a powerful clawed tentacle will reach through the portal, remaining bound to the caster's will for a duration depending on power. With the portal's expiry, the tentacle will be severed and turn on the caster. The duration of the portal increases with spell power.",
    flags = {
      unholy = true,
      chaotic = true,
    },
    level = 7,
    name = "Malign Gateway",
    noise = { casting = 7, effect = 15 },
    ["power cap"] = 200,
    schools = {
      Summoning = true,
      Translocation = true,
    },
  },
  ["Polar Vortex"] = {
    books = {
      ["book of Ice"] = true,
    },
    description = "Turns the air around the caster into a freezing vortex, doing tremendous damage to everyone caught in it that can only be half-mitigated by resistance to cold. Those affected will also be swept up into the air and tossed around. Only the eye of the storm is a safe place, and it follows the caster. The vortex is unable to follow the caster through long-distance translocations. The spell's effectiveness is greatly diminished in closed areas. After the vortex fades, it cannot be called forth again for a short time.",
    flags = {
      area = true,
      destructive = true,
    },
    level = 9,
    name = "Polar Vortex",
    noise = { casting = 9, effect = 0 },
    ["power cap"] = 200,
    range = { max = 5, min = 5 },
    schools = {
      Ice = true,
    },
  },
  ["Leda's Liquefaction"] = {
    books = {
      ["book of the Earth"] = true,
      ["book of Sloth"] = true,
    },
    description = "Liquefies the ground around the caster, making it difficult to move through. Any movement through liquefied ground will be slowed, and creatures stuck in the liquefied ground will be unable to fly. Attempts to attack the caster in melee may fail.<br><br>The effect starts out with a radius depending on power, which will then shrink, eventually covering only the caster, before it times out. Maintaining the connection to the ground slows the caster's movement, even if they are flying.",
    flags = {
      area = true,
    },
    level = 4,
    name = "Leda's Liquefaction",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Alchemy = true,
      Earth = true,
    },
  },
  ["Summon Hydra"] = {
    books = {
      ["Fen Folio"] = true,
      ["book of Blood"] = true,
    },
    description = "Summons a many-headed hydra to fight alongside the caster for a short time. Spell power determines the number of heads.",
    flags = {
      mons_abjure = true,
    },
    level = 7,
    name = "Summon Hydra",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Summoning = true,
    },
  },
  ["Inner Flame"] = {
    books = {
      ["book of Flames"] = true,
      ["book of Spontaneous Combustion"] = true,
    },
    description = "Fills an enemy with an intense fire. This fire is released any time the target is hit, and explosively released upon death. The size of the explosion caused is dependent on the size of the target.",
    flags = {
      target = true,
      not_self = true,
      destructive = true,
      WL_check = true,
    },
    level = 3,
    name = "Inner Flame",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
      Fire = true,
    },
  },
  ["Disjunction"] = {
    books = {
      ["book of the Warp"] = true,
      ["book of Chaos"] = true,
    },
    description = "Destabilises the space in a sphere around the caster for a while, causing anyone nearby to blink away from the caster. The chance of blinking depends on the distance from the caster, being nearly certain when directly adjacent.",
    flags = {
      escape = true,
      utility = true,
    },
    level = 8,
    name = "Disjunction",
    noise = { casting = 8, effect = 0 },
    ["power cap"] = 200,
    range = { max = 4, min = 4 },
    schools = {
      Translocation = true,
    },
  },
  ["Iskenderun's Battlesphere"] = {
    books = {
      ["book of Power"] = true,
      ["book of the Spheres"] = true,
    },
    description = "Conjures a small globe of destructive energy. Each time its creator casts a offensive spell, the battlesphere will also fire an unerring volley of energy at the most injured nearby foe it can reach.<br><br>The battlesphere's creator can freely fire through its position without harming it.",
    flags = {
      utility = true,
    },
    level = 4,
    name = "Iskenderun's Battlesphere",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Conjuration = true,
      Forgecraft = true,
    },
  },
  ["Fulminant Prism"] = {
    books = {
      ["book of Conjurations"] = true,
      ["book of Blasting"] = true,
    },
    description = "Conjures a shining prism of an unstable soft gold alloy. This is useless as legal tender, however, as it will unfortunately violently explode with arcane force after a short duration. If destroyed prematurely, its blast will be much weaker.",
    flags = {
      target = true,
      not_self = true,
      area = true,
      no_ghost = true,
    },
    level = 4,
    name = "Fulminant Prism",
    noise = { casting = 4, effect = 20 },
    ["power cap"] = 200,
    range = { max = 4, min = 4 },
    schools = {
      Conjuration = true,
      Alchemy = true,
    },
  },
  ["Dazzling Flash"] = {
    books = {
      ["book of Spectacle"] = true,
      ["book of the Senses"] = true,
    },
    description = "The caster erupts in a scintillating display of light. Any living, demonic or angelic creature nearby may be dazzled and left stumbling blindly.",
    flags = {
      area = true,
    },
    level = 3,
    name = "Dazzling Flash",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 50,
    range = { max = 3, min = 2 },
    schools = {
      Hexes = true,
      Fire = true,
    },
  },
  ["Fugue of the Fallen"] = {
    books = {
      ["book of Battle"] = true,
      ["book of Dreams"] = true,
    },
    description = "Calls out to the lingering remnants of the long dead. While active, each non-summoned enemy the caster or their allies slays attracts more vengeful souls into the caster's weapon, temporarily enhancing their melee and ranged effectiveness. When this bonus reaches its maximum, every hit will unleash a glimmer of the dead's suffering, causing pain damage to each other foe adjacent to your target.<br><br>Recasting this spell will release your grip on the souls you've attracted, resetting any bonus you've accumulated, and the cacophonous wailing of the dead may attract unwanted attention even while you maintain it.",
    flags = {
      selfench = true,
    },
    level = 3,
    name = "Fugue of the Fallen",
    noise = { casting = 3, effect = 8 },
    ["power cap"] = 100,
    schools = {
      Necromancy = true,
    },
  },
  ["Searing Ray"] = {
    books = {
      ["book of Conjurations"] = true,
    },
    description = "Fires a continuous piercing ray of arcane energy from the caster's hands. So long as the caster maintains focus upon the spell and supplies it with magical power (by waiting in place and not taking any other actions), the ray will follow the caster's target if it should move.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 2,
    name = "Searing Ray",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    range = { max = 4, min = 4 },
    schools = {
      Conjuration = true,
    },
  },
  ["Discord"] = {
    books = {
      ["book of Chaos"] = true,
      ["the Unrestrained Analects"] = true,
    },
    description = "Drives nearby creatures into an wild frenzy, causing them to mercilessly attack anything and everything nearby with great strength and speed.",
    flags = {
      hasty = true,
      area = true,
      WL_check = true,
    },
    level = 8,
    name = "Discord",
    noise = { casting = 8, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Hexes = true,
    },
  },
  ["Summon Forest"] = {
    books = {
      ["book of the Wilderness"] = true,
      ["Fen Folio"] = true,
    },
    description = "Forcefully intersects a forested plane with this world. It requires open space to succeed. While the spell holds, a spirit of the forest will be called forth, and the trees of the forest will be awakened to deal damage to nearby enemies. Spell power increases the duration, size, and thickness of the intersected plane; as well as the strength of the spirit.",
    flags = {
    },
    level = 5,
    name = "Summon Forest",
    noise = { casting = 5, effect = 10 },
    ["power cap"] = 200,
    schools = {
      Summoning = true,
      Translocation = true,
    },
  },
  ["Forge Lightning Spire"] = {
    books = {
      ["book of Storms"] = true,
      ["Codex of Conductivity"] = true,
    },
    description = "Constructs an immobile lightning spire at a nearby location. This spire irregularly discharges bolts of electricity at the caster's foes, prioritizing whichever of them is most distant from it.",
    flags = {
    },
    level = 4,
    name = "Forge Lightning Spire",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Air = true,
      Forgecraft = true,
    },
  },
  ["Forge Blazeheart Golem"] = {
    books = {
      ["book of Dangerous Friends"] = true,
      ["Handbook of Applied Construction"] = true,
    },
    description = "Constructs a shell of slag iron around a volatile elemental spark. It is capable of raining down powerful blows on its creator's adversaries - so powerful that the golem itself is often damaged by their impact.<br><br>Only tenuously independent of its creator's magic, the flames within it will rapidly go dormant if the two ever leave each other's side. If its shell is destroyed while the golem is still active, its exposed core will violently detonate a moment later.<br><br>It gains greater explosive damage at higher power.",
    flags = {
    },
    level = 4,
    name = "Forge Blazeheart Golem",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Fire = true,
      Forgecraft = true,
    },
  },
  ["Dragon's Call"] = {
    books = {
      ["book of the Dragon"] = true,
    },
    description = "Issues a powerful call to a draconic realm, beckoning forth dragon after dragon to engage the summoner's enemies. The spell is taxing to maintain, and each new dragon which answers the call will further drain the summoner's magical reserves. After the call ends, it cannot be issued again for a short time. The duration of the call and the species of dragons called depend on spell power.",
    flags = {
    },
    level = 9,
    name = "Dragon's Call",
    noise = { casting = 9, effect = 15 },
    ["power cap"] = 200,
    schools = {
      Summoning = true,
    },
  },
  ["Spellspark Servitor"] = {
    books = {
      ["book of Power"] = true,
      ["book of Dangerous Friends"] = true,
    },
    description = "Constructs a metallic servant with a spark of the caster's own arcane knowledge at its core. This spark allows the servitor to unleash some of the destructive spells known to its creator, though the strongest and most volatile of magics cannot be imbued in this fashion. The strength of the servitor increases with spell power.<br><br>(While you know this spell, you may choose which of your eligible spells it will cast with the Imbue Servitor ability.)",
    flags = {
    },
    level = 7,
    name = "Spellspark Servitor",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Conjuration = true,
      Forgecraft = true,
    },
  },
  ["Summon Mana Viper"] = {
    books = {
      ["book of the Wilderness"] = true,
      ["book of Beasts"] = true,
    },
    description = "Summons a violet-scaled serpent whose bite can swiftly drain the magical reserves of nearly any foe. At higher power, the antimagic properties of the viper's bite grow even stronger.",
    flags = {
      mons_abjure = true,
    },
    level = 5,
    name = "Summon Mana Viper",
    noise = { casting = 5, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Hexes = true,
      Summoning = true,
    },
  },
  ["Irradiate"] = {
    books = {
      ["book of Spontaneous Combustion"] = true,
      ["book of Transmutation"] = true,
    },
    description = "Transmutes an ultra-thin layer of the caster's skin (or equivalent) directly into pure magical energy, blasting adjacent creatures. It may heavily deform its victims, weakening them and reducing their armour. The caster is not left entirely unaffected; some of the magic lingers, enough to leave them dangerously contaminated after a few castings.",
    flags = {
      chaotic = true,
      area = true,
    },
    level = 5,
    name = "Irradiate",
    noise = { casting = 5, effect = 0 },
    ["power cap"] = 200,
    range = { max = 1, min = 1 },
    schools = {
      Conjuration = true,
      Alchemy = true,
    },
  },
  ["Yara's Violent Unravelling"] = {
    books = {
      ["book of Misfortune"] = true,
      ["Great Wizards, Vol. VII"] = true,
    },
    description = "If cast upon a creature already blessed (or cursed) with magical enchantments, those enchantments will be torn apart, transforming into a spray of destructive mutagenic radiation. The victim and anyone adjacent will be blasted and heavily deformed, weakening them and reducing their armour. Summoned creatures are particularly vulnerable, as the enchantments binding them to this plane will unravel and cause them to be dismissed immediately.",
    flags = {
      target = true,
      chaotic = true,
      destructive = true,
      no_ghost = true,
    },
    level = 5,
    name = "Yara's Violent Unravelling",
    noise = { casting = 5, effect = 15 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
      Alchemy = true,
    },
  },
  ["Infestation"] = {
    books = {
      ["book of Death"] = true,
    },
    description = "Calls forth a plague of scarabs, infesting affected creatures for a duration depending on power and causing death scarabs to grow and burst from them upon death.",
    flags = {
      target = true,
      unclean = true,
    },
    level = 8,
    name = "Infestation",
    noise = { casting = 8, effect = 4 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Necromancy = true,
    },
  },
  ["Lesser Beckoning"] = {
    books = {
      ["book of Spatial Translocations"] = true,
      ["book of Displacement"] = true,
    },
    description = "Beckons the target forward, attempting to place them adjacent to the caster.",
    flags = {
      dir_or_target = true,
      not_self = true,
      needs_tracer = true,
    },
    level = 2,
    name = "Lesser Beckoning",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    range = { max = 5, min = 3 },
    schools = {
      Translocation = true,
    },
  },
  ["Mercury Arrow"] = {
    books = {
      ["Young Poisoner's Handbook"] = true,
      ["My Sojourn through Swampland"] = true,
    },
    description = "Conjures an arrow of elemental mercury which deals direct poison damage to whatever it hits and may also weaken their melee attacks for a short while.<br><br>The physical force of the arrow inflicts a small amount of damage even to those immune to poison, and the weakening effect can splash to adjacent targets and ignores poison resistance altogether.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 2,
    name = "Mercury Arrow",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    range = { max = 4, min = 4 },
    schools = {
      Conjuration = true,
      Alchemy = true,
    },
  },
  ["Ignition"] = {
    books = {
      ["book of Spontaneous Combustion"] = true,
      ["Everburning Encyclopedia"] = true,
    },
    description = "All foes in the caster's surroundings are engulfed in balls of fire. The caster and their allies are protected from the fire and will never be harmed by this spell.",
    flags = {
      area = true,
      destructive = true,
    },
    level = 8,
    name = "Ignition",
    noise = { casting = 8, effect = 15 },
    ["power cap"] = 200,
    schools = {
      Fire = true,
    },
  },
  ["Borgnjor's Vile Clutch"] = {
    books = {
      ["Great Wizards, Vol. II"] = true,
      ["book of the Grave"] = true,
    },
    description = "Calls forth hands from corpses interred beneath the dungeon floor long ago. Enemies caught in the area will be held in place and constricted until they break free.",
    flags = {
      dir_or_target = true,
      not_self = true,
      needs_tracer = true,
    },
    level = 5,
    name = "Borgnjor's Vile Clutch",
    noise = { casting = 5, effect = 5 },
    ["power cap"] = 200,
    range = { max = 6, min = 6 },
    schools = {
      Necromancy = true,
      Earth = true,
    },
  },
  ["Starburst"] = {
    books = {
      ["book of Fire"] = true,
      ["book of Spectacle"] = true,
    },
    description = "Releases penetrating bolts of fire from the caster in every direction.",
    flags = {
      area = true,
    },
    level = 6,
    name = "Starburst",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    range = { max = 5, min = 5 },
    schools = {
      Conjuration = true,
      Fire = true,
    },
  },
  ["Foxfire"] = {
    books = {
      ["book of Fire"] = true,
    },
    description = "Conjures two balls of burning swamp gas adjacent to the caster. The balls will rapidly seek the nearest monster and burn them. They will dissipate harmlessly if unable to reach a target or if the caster swaps places with them.",
    flags = {
    },
    level = 1,
    name = "Foxfire",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    schools = {
      Conjuration = true,
      Fire = true,
    },
  },
  ["Hailstorm"] = {
    books = {
      ["book of Frost"] = true,
      ["book of the Tundra"] = true,
    },
    description = "Conjures a cannonade of hail, battering nearby creatures that fail to dodge. The eye of the storm is wide enough that monsters adjacent to the caster are unaffected. Due to the strong impact and cutting edges, half of its damage bypasses cold resistance.",
    flags = {
      area = true,
    },
    level = 3,
    name = "Hailstorm",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    range = { max = 3, min = 3 },
    schools = {
      Conjuration = true,
      Ice = true,
    },
  },
  ["Eringya's Noxious Bog"] = {
    books = {
      ["Fen Folio"] = true,
      ["Great Wizards, Vol. II"] = true,
    },
    description = "Causes the caster to release a torrent of sludge that transforms nearby areas into a toxic bog. The sludge damages and poisons all monsters, even those resistant to poison. The bog cannot form on areas adjacent to multiple solid features, nor on areas that lack solid floor, like deep water or lava. The transformation is temporary and cannot be sustained out of the caster's sight. Spellpower will increase how long the bog lingers.",
    flags = {
      area = true,
      destructive = true,
      no_ghost = true,
    },
    level = 6,
    name = "Eringya's Noxious Bog",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    range = { max = 4, min = 4 },
    schools = {
      Alchemy = true,
    },
  },
  ["Frozen Ramparts"] = {
    books = {
      ["book of Frost"] = true,
      ["book of Winter"] = true,
    },
    description = "Encases surrounding walls with ice for a short time. Foes that wander near the icy walls will be damaged, and this may temporarily slow cold-blooded creatures. Each victim is only ever affected by one icy wall at a time.<br><br>The ice will crack and fall away if the caster moves to a new position.",
    flags = {
      area = true,
      destructive = true,
      no_ghost = true,
    },
    level = 3,
    name = "Frozen Ramparts",
    noise = { casting = 3, effect = 8 },
    ["power cap"] = 50,
    range = { max = 2, min = 2 },
    schools = {
      Ice = true,
    },
  },
  ["Maxwell's Capacitive Coupling"] = {
    books = {
      ["Maxwell's Memoranda"] = true,
      ["Codex of Conductivity"] = true,
    },
    description = "Gradually builds up electric charge in the caster, so long as they maintain focus (by waiting in place and not taking any other actions). When a threshold is reached, the charge couples with the nearest foe, vaporising them instantly. Higher spell power will allow the caster to accumulate charge more rapidly. The spell requires a visible target to begin accumulating charge, though a different foe may be targeted when the charge is released.",
    flags = {
      destructive = true,
      no_ghost = true,
    },
    level = 8,
    name = "Maxwell's Capacitive Coupling",
    noise = { casting = 8, effect = 25 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Air = true,
    },
  },
  ["Awaken Armour"] = {
    books = {
      ["book of Iron"] = true,
      ["book of the Fortress"] = true,
    },
    description = "Draws upon the memory of your worn armour to manifest an echo of it that fights alongside you. This echo moves slowly, but the power of its blows increases dramatically with the weight of the armour used to form it. It possesses all the defensive properties of the armour itself.<br><br>Spellpower increases its durability.",
    flags = {
    },
    level = 4,
    name = "Awaken Armour",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 50,
    schools = {
      Earth = true,
      Forgecraft = true,
    },
  },
  ["Manifold Assault"] = {
    books = {
      ["book of the Warp"] = true,
      ["book of Battle"] = true,
    },
    description = "Warps space into paradoxical configurations to strike many visible foes with one melee attack. Power increases the number of foes attacked with one cast, though unarmed attacks strike only half as many targets at once, as additional care must be taken when warping one's own limbs.<br><br>The time taken for the attack is exactly the same as a normal melee attack. Attacks performed this way never miss, but the exact spot struck cannot be controlled precisely, making them unable to do extra damage against unsuspecting foes.",
    flags = {
    },
    level = 7,
    name = "Manifold Assault",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Translocation = true,
    },
  },
  ["Summon Cactus Giant"] = {
    books = {
      ["book of the Wilderness"] = true,
      ["book of Scorching"] = true,
    },
    description = "Summons a warrior from a particularly prickly tribe. Foes that strike these giants in melee are in for a painful surprise! When cast at a higher power, older, more robust warriors will answer the call.",
    flags = {
    },
    level = 6,
    name = "Summon Cactus Giant",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Summoning = true,
    },
  },
  ["Scorch"] = {
    books = {
      ["book of Scorching"] = true,
    },
    description = "Scorches a random foe. Those injured by this have their resistance to fire burned away for a short time.",
    flags = {
      destructive = true,
    },
    level = 2,
    name = "Scorch",
    noise = { casting = 2, effect = 8 },
    ["power cap"] = 50,
    range = { max = 3, min = 3 },
    schools = {
      Fire = true,
    },
  },
  ["Flame Wave"] = {
    books = {
      ["book of Flames"] = true,
      ["book of Scorching"] = true,
    },
    description = "Blasts the caster's surroundings with a wave of fire. If the caster maintains focus and supplies the spell with magical power (by waiting in place and not taking any other actions), more and larger flame waves will radiate outward.",
    flags = {
      area = true,
    },
    level = 4,
    name = "Flame Wave",
    noise = { casting = 4, effect = 12 },
    ["power cap"] = 100,
    range = { max = 3, min = 3 },
    schools = {
      Conjuration = true,
      Fire = true,
    },
  },
  ["Enfeeble"] = {
    books = {
      ["book of Hexes"] = true,
      ["book of Misfortune"] = true,
    },
    description = "Overwhelms an enemy with malignant energies, irresistibly weakening their melee attacks and disrupting their magic. It will additionally daze and blind any foe that fails to resist the full force of the curse.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      WL_check = true,
    },
    level = 7,
    name = "Enfeeble",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
    },
  },
  ["Anguish"] = {
    books = {
      ["book of Hexes"] = true,
      ["book of Dreams"] = true,
    },
    description = "Afflicts nearby foes with supernatural anguish, causing all damage they deal to rebound on them for the duration of the effect. Strong-willed foes can resist the necromantic visions of pain and suffering, and mindless creatures are unaffected.",
    flags = {
      area = true,
      WL_check = true,
    },
    level = 4,
    name = "Anguish",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
      Necromancy = true,
    },
  },
  ["Soul Splinter"] = {
    books = {
      ["book of Necromancy"] = true,
      ["book of Unlife"] = true,
    },
    description = "Attempts to force a tiny fragment of a living, holy, or demonic being's soul to take leave of their body and manifest as a soul wisp. This wisp is nominally under the necromancer's control, but will focus its attacks foremost on the creature it was created from, instinctually trying to return to its proper home once more. The victim will be weakened until the wisp reverts to where it belongs.<br><br>Wisps created from more powerful souls have more damaging attacks, but are always fragile.",
    flags = {
      dir_or_target = true,
      not_self = true,
      needs_tracer = true,
      WL_check = true,
    },
    level = 1,
    name = "Soul Splinter",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    range = { max = 5, min = 5 },
    schools = {
      Necromancy = true,
    },
  },
  ["Volatile Blastmotes"] = {
    books = {
      ["book of Blasting"] = true,
      ["book of Movement"] = true,
    },
    description = "Brings forth a cloud of volatile blastmotes around the caster. These explode on contact with open flame or with creatures - including any caster foolish enough to linger in them! The explosion is concussive, knocking adjacent creatures away. Damage done rises with the spell's power.",
    flags = {
      destructive = true,
    },
    level = 3,
    name = "Volatile Blastmotes",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 50,
    schools = {
      Fire = true,
      Translocation = true,
    },
  },
  ["Cigotuvi's Putrefaction"] = {
    books = {
      ["book of Debilitation"] = true,
      ["book of Decay"] = true,
    },
    description = "Magically accelerates the decay of damaged living tissue, causing great clouds of miasma to billow forth from a targeted victim's wounds over several turns which may slow and heavily poison any living creature who stands in them. Air currents will prevent this pestilence from forming wherever the caster is standing, but they are not otherwise protected from its effects.<br><br>This spell may only be cast on a living creature who is at least heavily wounded, and channelling such necrotic energies will leave the caster's own health temporarily drained (though spellpower will reduce the intensity of this side-effect).",
    flags = {
      target = true,
      unclean = true,
    },
    level = 4,
    name = "Cigotuvi's Putrefaction",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    range = { max = 5, min = 5 },
    schools = {
      Necromancy = true,
      Air = true,
    },
  },
  ["Arcjolt"] = {
    books = {
      ["book of Lightning"] = true,
      ["Codex of Conductivity"] = true,
    },
    description = "Sends a wave of electricity through everything adjacent or near-adjacent to the caster. The electricity continues to arc through everything in a connected chain, though the caster themself is unaffected. The damage dealt bypasses half of defenders' armour.",
    flags = {
      area = true,
    },
    level = 5,
    name = "Arcjolt",
    noise = { casting = 5, effect = 10 },
    ["power cap"] = 200,
    range = { max = 2, min = 2 },
    schools = {
      Conjuration = true,
      Air = true,
    },
  },
  ["Kiss of Death"] = {
    books = {
      ["book of Touch"] = true,
    },
    description = "Conjures forth a fragment of the caster's essence and twists it into a fragment of death, painfully draining the victim. The caster, too, will find their health reduced, until they gain enough experience to recover.",
    flags = {
      dir_or_target = true,
      not_self = true,
      needs_tracer = true,
    },
    level = 1,
    name = "Kiss of Death",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    range = { max = 1, min = 1 },
    schools = {
      Conjuration = true,
      Necromancy = true,
    },
  },
  ["Momentum Strike"] = {
    books = {
      ["book of Spatial Translocations"] = true,
    },
    description = "Blasts a target with energy borrowed from the caster's own future movement. For a short time afterward, the caster will be left immotile - unable to walk, fly around, slither, etc. Only motile creatures can cast this spell.",
    flags = {
      target = true,
      not_self = true,
    },
    level = 2,
    name = "Momentum Strike",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    range = { max = 4, min = 4 },
    schools = {
      Conjuration = true,
      Translocation = true,
    },
  },
  ["Vhi's Electric Charge"] = {
    books = {
      ["book of Lightning"] = true,
      ["book of Movement"] = true,
    },
    description = "Sends the caster hurtling at a chosen nearby enemy, launching a high-accuracy melee attack on arrival. Additional electric damage will be dealt based on the length of the charge, the power of the spell, and the physical damage of the attack. The caster is wrapped in an envelope of twisted space, allowing them to safely pass through creatures, traps, and harmful terrain, and to displace creatures at their destination. The time taken by the spell is the greater of the time normally needed to cast a spell or that needed to launch one melee attack.",
    flags = {
      dir_or_target = true,
      noisy = true,
    },
    level = 4,
    name = "Vhi's Electric Charge",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 50,
    range = { max = 4, min = 4 },
    schools = {
      Translocation = true,
      Air = true,
    },
  },
  ["Plasma Beam"] = {
    books = {
      ["book of Fire"] = true,
      ["book of Lightning"] = true,
    },
    description = "Fires a penetrating beam of plasma at one of the caster's most distant foes. The ionised beam bypasses half of defenders' armour, and a second beam of fire follows in its wake.",
    flags = {
      destructive = true,
      noisy = true,
    },
    level = 6,
    name = "Plasma Beam",
    noise = { casting = 6, effect = 20 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Fire = true,
      Air = true,
    },
  },
  ["Bombard"] = {
    books = {
      ["book of Power"] = true,
      ["Compendium of Siegecraft"] = true,
    },
    description = "Blasts an iron ball toward a target. The force of the blast often sends the caster staggering backwards.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
    },
    level = 6,
    name = "Bombard",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    range = { max = 4, min = 4 },
    schools = {
      Conjuration = true,
      Earth = true,
    },
  },
  ["Jinxbite"] = {
    books = {
      ["book of Misfortune"] = true,
      ["book of Party Tricks"] = true,
    },
    description = "Calls the attention of trickster spirits. While it holds, the spirits will follow up on the caster's attacks. If the spell overcomes victims' willpower, they will suffer minor damage and be drained by the sprites' playful malice.<br><br>Fae assistance is fickle, however; they cannot be beckoned unless a susceptible victim is visible, and will depart rapidly once no more remain. Calling on the fae also reduces the caster's own willpower for a time.",
    flags = {
      selfench = true,
    },
    level = 2,
    name = "Jinxbite",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    schools = {
      Hexes = true,
    },
  },
  ["Sigil of Binding"] = {
    books = {
      ["book of the Hunter"] = true,
      ["Treatise on Traps"] = true,
    },
    description = "Creates two sigils nearby. Anyone who passes over them will be bound, able to act and dodge normally but unable to move away. When the effect wears off, their movement speed will rebound, giving them temporary swiftness. Swiftness from any source grants immunity to binding.<br><br>Only one set of sigils can be maintained at a time, and they will expire prematurely if they leave your sight.",
    flags = {
    },
    level = 3,
    name = "Sigil of Binding",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Hexes = true,
    },
  },
  ["Dimensional Bullseye"] = {
    books = {
      ["book of Weapons"] = true,
      ["book of the Hunter"] = true,
    },
    description = "Weaves a link between the caster's weaponry and a chosen target. Whenever the caster fires or throws something at a *different* enemy, a matching projectile will be teleported at the target. Spellpower increases their accuracy.",
    flags = {
      target = true,
      prefer_farthest = true,
      not_self = true,
    },
    level = 4,
    name = "Dimensional Bullseye",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Hexes = true,
      Translocation = true,
    },
  },
  ["Brom's Barrelling Boulder"] = {
    books = {
      ["book of the Spheres"] = true,
      ["Compendium of Siegecraft"] = true,
    },
    description = "Unleashes a massive rolling boulder in a given compass direction. This boulder damages any creature it hits, rolling over those who perish beneath it and pushing any others helplessly backwards (along with anyone else unfortunate enough to be standing behind them).<br><br>Its size and reckless locomotion make it difficult to use in confined areas; if launched down narrow passages, it will rapidly abrade against the walls and fall apart. It will also crumble if it leaves the caster's sight or strikes a wall or otherwise unmoveable creature.",
    flags = {
      target = true,
      not_self = true,
    },
    level = 4,
    name = "Brom's Barrelling Boulder",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    range = { max = 1, min = 1 },
    schools = {
      Conjuration = true,
      Earth = true,
    },
  },
  ["Martyr's Knell"] = {
    books = {
      ["book of Unlife"] = true,
      ["book of Decay"] = true,
    },
    description = "Beckons forth the soul of a long-dead martyr to shield your allies for a time. This soul suffers a portion of the damage your allies would otherwise receive.<br><br>If it is slain (again!), it will transform into a flayed ghost, inflicting illusory wounds on foes. Such wounds are fleeting, and will disappear when the ghost departs - unless you kill its victims first.",
    flags = {
    },
    level = 4,
    name = "Martyr's Knell",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Necromancy = true,
      Summoning = true,
    },
  },
  ["Curse of Agony"] = {
    books = {
      ["book of the Senses"] = true,
      ["book of Maladies"] = true,
    },
    description = "Curses a foe, halving their remaining health after each of the next two times that the caster strikes them in melee.",
    flags = {
      dir_or_target = true,
      not_self = true,
      needs_tracer = true,
      WL_check = true,
    },
    level = 5,
    name = "Curse of Agony",
    noise = { casting = 5, effect = 0 },
    ["power cap"] = 100,
    range = { max = 3, min = 3 },
    schools = {
      Necromancy = true,
    },
  },
  ["Permafrost Eruption"] = {
    books = {
      ["book of the Earth"] = true,
      ["book of the Tundra"] = true,
    },
    description = "Calls on the ancient cold lurking within the earth to emerge - violently. The force of its emergence blasts rock from the ceiling, smashing into the target with unavoidable force. The cold itself is brief but unbearably bitter, bypassing armour entirely as it freezes the target and their neighbours.<br><br>It will always attempt to blast the largest concentration of foes in sight, and never explodes next to the caster.",
    flags = {
      destructive = true,
    },
    level = 6,
    name = "Permafrost Eruption",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    range = { max = 6, min = 6 },
    schools = {
      Ice = true,
      Earth = true,
    },
  },
  ["Maxwell's Portable Piledriver"] = {
    books = {
      ["book of Displacement"] = true,
      ["Maxwell's Memoranda"] = true,
    },
    description = "Compresses an envelope of space around the caster and an adjacent enemy (or a contiguous line of enemies), then allows it to decompress abruptly, propelling everyone forward until the unfortunate being at the far end collides with something solid, inflicting damage on them proportional to the distance travelled.",
    flags = {
      target = true,
    },
    level = 3,
    name = "Maxwell's Portable Piledriver",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    range = { max = 5, min = 5 },
    schools = {
      Translocation = true,
    },
  },
  ["Gell's Gavotte"] = {
    books = {
      ["There-And-Back Book"] = true,
      ["book of Movement"] = true,
    },
    description = "Briefly reorients local gravity to be in a cardinal direction of the caster's choosing, causing all creatures in sight to tumble a short distance in that direction.<br><br>The caster is not immune to the gravitational effects of this spell, but will be cushioned so they take no collision damage. Other creatures are not so fortunate, and the abrupt impact will batter anything which was not already standing beside its new 'floor'.<br><br>It takes a short time for gravity to stabilise enough to recast this spell, though more powerful mages are able to do so more frequently.",
    flags = {
      target = true,
      aim_at_space = true,
    },
    level = 6,
    name = "Gell's Gavotte",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    range = { max = 1, min = 1 },
    schools = {
      Translocation = true,
    },
  },
  ["Magnavolt"] = {
    books = {
      ["book of Iron"] = true,
      ["Maxwell's Memoranda"] = true,
    },
    description = "Envelops a target in a thin layer of magnetically charged metal fragments, then unleashes a powerful surge of electricity that arcs unerringly towards every visible target coated in these fragments - firing an additional beam at each target thus marked.<br><br>Magnetised creatures are additionally unable to evade attacks and will be revealed if invisible. If they die while still coated, they will leave behind a short-lived cloud of electrified metal that will continue to serve as a lightning rod for this spell.",
    flags = {
      target = true,
      prefer_farthest = true,
      destructive = true,
      needs_tracer = true,
    },
    level = 7,
    name = "Magnavolt",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Earth = true,
      Air = true,
    },
  },
  ["Fulsome Fusillade"] = {
    books = {
      ["book of Transmutation"] = true,
      ["book of Spectacle"] = true,
    },
    description = "A magnum opus of reckless chemistry, this spell conjures up a surfeit of volatile reagents to rain down upon your enemies. For the next several turns, up to 3 random enemies in sight will be struck by an exploding beaker that inflicts either fire, cold, electric, or poison damage. If any of these explosions overlap each other, the resulting reaction will inflict even greater irresistible damage and sometimes apply a random deleterious status on whoever is caught in the blast.<br><br>This spell costs a small amount of the caster's magical energy each turn to maintain, and while it will never aim an explosion where it could hurt the caster, the caster's allies (and anything else in the general vicinity) are not so fortunate.",
    flags = {
      chaotic = true,
      area = true,
      destructive = true,
    },
    level = 8,
    name = "Fulsome Fusillade",
    noise = { casting = 8, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Conjuration = true,
      Alchemy = true,
    },
  },
  ["Rimeblight"] = {
    books = {
      ["book of Wicked Creation"] = true,
      ["book of Maladies"] = true,
    },
    description = "Afflicts a creature (and up to two others near it) with a magical plague that slowly freezes them from the inside out. Victims take AC-ignoring cold damage each turn, and as the disease progresses, shards of crystalline ice will start erupting violently from their body, damaging nearby enemies. When they finally succumb, the plague may spread to those around them.<br><br>In living, holy, or demonic creatures, the disease is especially virulent, feeding off the necromantic energies released by its host's suffering. As they approach the point of death, it will accelerate rapidly, devouring the last vestiges of their body and leaving nothing behind but a twisted pillar of stygian ice.",
    flags = {
      dir_or_target = true,
      not_self = true,
      unclean = true,
      destructive = true,
    },
    level = 7,
    name = "Rimeblight",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    range = { max = 5, min = 5 },
    schools = {
      Ice = true,
      Necromancy = true,
    },
  },
  ["Hoarfrost Cannonade"] = {
    books = {
      ["Compendium of Siegecraft"] = true,
      ["book of Cryoformation"] = true,
    },
    description = "Sculpts a pair of icy cannons that assail the caster's enemies from long range. The frigid shards they fire rapidly coat their targets with a layer of brittle frost which slows their movement.<br><br>The cannons are short-lived and consume a part of themselves with every shard they fire, but if they survive to fire their final salvo without interference, it will be extra-powerful.",
    flags = {
    },
    level = 5,
    name = "Hoarfrost Cannonade",
    noise = { casting = 5, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Ice = true,
      Forgecraft = true,
    },
  },
  ["Hellfire Mortar"] = {
    books = {
      ["Trismegistus Codex"] = true,
      ["Compendium of Siegecraft"] = true,
    },
    description = "Splits apart the ground in front of the caster and sculpts a terrifying weapon out of molten rock. This mortar will move slowly along the lava-filled chasm, autonomously launching gouts of magma at the caster's enemies as it does so.<br><br>When it reaches the end of its path, or is obstructed in its movement by another creature, it will sink back into the lava, and the chasm will seal itself shut shortly thereafter.",
    flags = {
      dir_or_target = true,
      destructive = true,
    },
    level = 7,
    name = "Hellfire Mortar",
    noise = { casting = 7, effect = 20 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Fire = true,
      Earth = true,
      Forgecraft = true,
    },
  },
  ["Grave Claw"] = {
    books = {
      ["book of Necromancy"] = true,
      ["book of the Grave"] = true,
    },
    description = "Calls forth the spite of the recently dead to skewer a targeted enemy with shards of bone. This spell never misses, and will pin its target in place for several turns, but casting it rapidly consumes the remnants of death that linger upon the caster.<br><br>You can stockpile enough malice to cast this spell at most three times, and this can only be replenished by causing the death of a sufficient number of living beings.",
    flags = {
      target = true,
      not_self = true,
    },
    level = 2,
    name = "Grave Claw",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    range = { max = 4, min = 4 },
    schools = {
      Necromancy = true,
    },
  },
  ["Launch Clockwork Bee"] = {
    books = {
      ["My Sojourn through Swampland"] = true,
      ["Handbook of Applied Construction"] = true,
    },
    description = "Constructs a mechanical bee and winds its clockwork mechanisms over several turns before unleashing it against a targeted foe. The bee is swift and powerful, but its clockwork quickly winds down as it attacks, eventually leaving it helpless and unable to move.<br><br>The caster may repair and rewind a dormant bee by attempting to move into it, at the cost of 1 MP.<br><br>Spellpower increases the number of attacks the bee may perform before going dormant.",
    flags = {
      target = true,
      not_self = true,
    },
    level = 3,
    name = "Launch Clockwork Bee",
    noise = { casting = 3, effect = 0 },
    ["power cap"] = 100,
    range = { max = 8, min = 8 },
    schools = {
      Forgecraft = true,
    },
  },
  ["Construct Spike Launcher"] = {
    books = {
      ["Handbook of Applied Construction"] = true,
      ["Treatise on Traps"] = true,
    },
    description = "Constructs a simple mechanical trap within an adjacent wall which repeatedly skewers random adjacent enemies. Protected by the wall itself, it is invulnerable to most forms of damage, but will fall apart if the caster leaves its vicinity.",
    flags = {
    },
    level = 2,
    name = "Construct Spike Launcher",
    noise = { casting = 2, effect = 0 },
    ["power cap"] = 50,
    schools = {
      Forgecraft = true,
    },
  },
  ["Kinetic Grapnel"] = {
    books = {
      ["book of Cantrips"] = true,
    },
    description = "Weaves a thin kinetic filament around the caster's melee weapon and launches the other end of it at a nearby enemy. If this grapnel successfully hits and does damage, it will become lodged in them, allowing the next melee attack the caster performs against them to strike with perfect accuracy and a small slaying bonus.",
    flags = {
      dir_or_target = true,
      destructive = true,
      needs_tracer = true,
    },
    level = 1,
    name = "Kinetic Grapnel",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    range = { max = 4, min = 4 },
    schools = {
      Forgecraft = true,
    },
  },
  ["Diamond Sawblades"] = {
    books = {
      ["Treatise on Traps"] = true,
      ["book of Contraptions"] = true,
    },
    description = "Forges up to four razor-sharp sawblades at fixed positions around the caster which shred any enemies adjacent to them over several turns.",
    flags = {
    },
    level = 7,
    name = "Diamond Sawblades",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Forgecraft = true,
    },
  },
  ["Eringya's Surprising Crocodile"] = {
    books = {
      ["My Sojourn through Swampland"] = true,
      ["book of Callings"] = true,
    },
    description = "Summons a toothy crocodile to assault an adjacent enemy. The crocodile will appear beneath the caster in a surge of murky water and perform an empowered attack against the chosen target, dragging both it and the caster backward before allowing the latter to dismount safely behind it. It cannot be recast while the crocodile is still active.",
    flags = {
      target = true,
      not_self = true,
    },
    level = 4,
    name = "Eringya's Surprising Crocodile",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    range = { max = 1, min = 1 },
    schools = {
      Summoning = true,
    },
  },
  ["Platinum Paragon"] = {
    books = {
      ["book of Weapons"] = true,
    },
    description = "Constructs a gleaming metal champion whose prowess rivals that of the greatest living warriors. It is resistant to all forms of magic and wields a perfect replica of any artefact melee weapon the caster chooses.<br><br>It creates a damaging shockwave around itself when first deployed and slowly gains charge as it attacks enemies. When it has gained sufficient charge, the spell may be recast to overload the paragon, unleashing a flurry of attacks in a wide area which inflict increased damage, but destroying the paragon in the process.<br><br>Due to the magical link it maintains with its creator, it will perform an extra attack whenever they do, and will sometimes even parry attacks directed at them, if they are close enough together.",
    flags = {
      target = true,
      not_self = true,
    },
    level = 9,
    name = "Platinum Paragon",
    noise = { casting = 9, effect = 10 },
    ["power cap"] = 200,
    range = { max = 3, min = 3 },
    schools = {
      Forgecraft = true,
    },
  },
  ["Alistair's Walking Alembic"] = {
    books = {
      ["book of Metalworking"] = true,
      ["book of Contraptions"] = true,
    },
    description = "Constructs a mobile and combat-capable alchemical manufactory. It uses the friction of melee combat to brew a variety of useful potions, venting clouds of their toxic byproducts at whatever it punches. When it has built up enough heat to complete its synthesis, it will automatically dispense the finished potions to nearby allies before falling apart.",
    flags = {
    },
    level = 5,
    name = "Alistair's Walking Alembic",
    noise = { casting = 5, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Alchemy = true,
      Forgecraft = true,
    },
  },
  ["Forge Monarch Bomb"] = {
    books = {
      ["book of Blasting"] = true,
      ["book of Contraptions"] = true,
    },
    description = "Constructs a flying incendiary factory, packed to the brim with cluster bomblets which it can deploy both in melee and launch at range. While the monarch's bomblets have no attack of their own, they will pursue the caster's enemies until given the signal to explode.<br><br>Recasting this spell while anything it has created is still active will detonate the monarch bomb and all bomblets, dealing a combination of fire and physical damage to everything adjacent to them besides the caster themselves.",
    flags = {
    },
    level = 6,
    name = "Forge Monarch Bomb",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Fire = true,
      Forgecraft = true,
    },
  },
  ["Splinterfrost Shell"] = {
    books = {
      ["book of Cryoformation"] = true,
      ["book of Duality"] = true,
    },
    description = "Constructs a frangible shell of reinforced ice in a half-circle around the caster, pushing creatures out of the way to make space for it, if possible.<br><br>This barricade is durable, and whenever a segment of it is destroyed, will fracture into a salvo of icy projectiles launched at whatever destroyed it.<br><br>If the caster strays too far away from their barrier, it will melt rapidly.",
    flags = {
      target = true,
      not_self = true,
    },
    level = 7,
    name = "Splinterfrost Shell",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    range = { max = 1, min = 1 },
    schools = {
      Ice = true,
      Forgecraft = true,
    },
  },
  ["Nazja's Percussive Tempering"] = {
    books = {
      ["book of Metalworking"] = true,
      ["book of Duality"] = true,
    },
    description = "Manifests a magical hammer that repairs and temporarily augments the offensive capabilities of any construct that was created by the caster's own Forgecraft spells. This process results in a flurry of sparks, slag, and concussive shockwaves that do considerable damage to any enemies adjacent to the targeted construct, but it cannot be recast upon the same object until the enhancement wears off.",
    flags = {
      target = true,
      helpful = true,
      not_self = true,
      destructive = true,
    },
    level = 5,
    name = "Nazja's Percussive Tempering",
    noise = { casting = 5, effect = 0 },
    ["power cap"] = 200,
    range = { max = 8, min = 8 },
    schools = {
      Forgecraft = true,
    },
  },
  ["Fortress Blast"] = {
    books = {
      ["book of Power"] = true,
      ["book of the Fortress"] = true,
    },
    description = "Draws upon the caster's own physical integrity to create a kinetic shockwave that damages foes in a large area. The caster is locked in place for several turns as the shockwave starts to form, and the spell will be cancelled if they are displaced during that time, but they may otherwise perform other actions freely.<br><br>Spellpower causes the spell to complete more quickly, but the damage depends entirely upon the caster's AC.",
    flags = {
      area = true,
      destructive = true,
    },
    level = 6,
    name = "Fortress Blast",
    noise = { casting = 6, effect = 20 },
    ["power cap"] = 75,
    range = { max = 2, min = 2 },
    schools = {
      Forgecraft = true,
    },
  },
  ["Summon Seismosaurus Egg"] = {
    books = {
      ["book of the Wilderness"] = true,
      ["book of Beasts"] = true,
    },
    description = "Summons the egg of a brutish lizard, just on the verge of hatching. So long as there are foes nearby and the caster remains adjacent to the egg, it will hatch several turns after being summoned to wreak havoc upon its summoner's foes.<br><br>Even as a juvenile, a seismosaurus is a force to be reckoned with. It is nearly as hardy as a mountain, and its footfalls are capable of creating violent seismic shockwaves. Each shockwave deals considerable damage to non-flying enemies, and may sometimes even cause them to lose their footing altogether.<br><br>Spell power increases the egg's durability and the strength of the seismosaur within, but not the time it takes to hatch.",
    flags = {
    },
    level = 4,
    name = "Summon Seismosaurus Egg",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Summoning = true,
      Earth = true,
    },
  },
  ["Forge Phalanx Beetle"] = {
    books = {
      ["book of the Fortress"] = true,
      ["book of Metalworking"] = true,
    },
    description = "Constructs a small mechanical guardian which bolsters its creator's armour class for as long as it remains adjacent to them.<br><br>While also capable of biting foes, the phalanx beetle will never voluntarily leave its creator's side, and if forcibly separated, will prioritize returning to them over any other concern.<br><br>Spellpower increases the magnitude of the AC increase, as well as the beetle's own durability.",
    flags = {
    },
    level = 6,
    name = "Forge Phalanx Beetle",
    noise = { casting = 6, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Forgecraft = true,
    },
  },
  ["Rending Blade"] = {
    books = {
      ["book of Armaments"] = true,
      ["book of Weapons"] = true,
    },
    description = "Condenses the caster's magical energy into the form of a violently crackling blade. Each time the caster successfully hits with a melee attack while the spell is active, this blade will rend a path back and forth through nearby foes, dealing irresistible damage.<br><br>Casting this spell temporarily drains *all* of the caster's remaining magical power to constitute the blade, but this energy will be returned to them as soon as the blade ceases to exist. Each point of magical power sequestered this way slightly increases the damage the blade inflicts.",
    flags = {
      utility = true,
    },
    level = 4,
    name = "Rending Blade",
    noise = { casting = 4, effect = 0 },
    ["power cap"] = 100,
    schools = {
      Conjuration = true,
      Forgecraft = true,
    },
  },
  ["Poisonous Vapours"] = {
    books = {
      ["Young Poisoner's Handbook"] = true,
      ["book of Cantrips"] = true,
    },
    description = "Transmutes a small amount of the air around a target into toxic vapours, poisoning anyone unfortunate enough to breathe them in. The quantity of air affected is small and it will not persist beyond the turn in which it is cast.<br><br>It cannot affect those with any resistance to poison.",
    flags = {
      target = true,
      not_self = true,
      destructive = true,
    },
    level = 1,
    name = "Poisonous Vapours",
    noise = { casting = 1, effect = 0 },
    ["power cap"] = 25,
    range = { max = 3, min = 3 },
    schools = {
      Alchemy = true,
      Air = true,
    },
  },
  ["Detonation Catalyst"] = {
    books = {
      ["book of Spontaneous Combustion"] = true,
      ["book of Battle"] = true,
    },
    description = "Affixes a volatile catalyst to the caster's fists or melee weapon, causing each of their strikes to release a fiery explosion at its primary target. The caster and their allies are protected from the explosion's effects. The activity of the catalyst may be prolonged indefinitely as long as the caster continues to attack, but it rapidly loses potency when they take other actions. The base damage of the caster's weapon and the caster's spellpower each increase the explosion's damage.",
    flags = {
      selfench = true,
    },
    level = 5,
    name = "Detonation Catalyst",
    noise = { casting = 5, effect = 15 },
    ["power cap"] = 100,
    schools = {
      Fire = true,
      Alchemy = true,
    },
  },
  ["Sphinx Sisters"] = {
    books = {
      ["book of Misfortune"] = true,
      ["book of Beasts"] = true,
    },
    description = "Summons a pair of riddling sphinxes - one guardian and one marauder - to debilitate the caster's enemies with hexes and batter them with violent winds.<br><br>Spell power increases the sphinxes' durability and the power of their spells.",
    flags = {
      mons_abjure = true,
    },
    level = 7,
    name = "Sphinx Sisters",
    noise = { casting = 7, effect = 0 },
    ["power cap"] = 200,
    schools = {
      Hexes = true,
      Summoning = true,
    },
  },
}