Difference between revisions of "Module:Table of spells"

From CrawlWiki
Jump to: navigation, search
m (Okay, I think the book of Hexes broke things)
(Leda's and Dazzling Flash's schools were wrong since 0.31 and 0.32)
 
(194 intermediate revisions by 12 users not shown)
Line 1: Line 1:
-- Table of spells (0.19.0-2-gae57169)
+
-- Table of spells (generated in 0.29.1, partially updated since)
 
return {
 
return {
   ["Absolute Zero"] = {
+
   Airstrike = {
 
     books = {
 
     books = {
       ["book of Annihilations"] = true
+
       ["book of Air"] = true,
 +
      ["book of Storms"] = true
 
     },
 
     },
     description = "Entirely removes the heat from the enemy nearest the caster, instantly freezing it into a block of solid ice.",
+
     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 = {
       NO_GHOST = true
+
       not_self = true,
 +
      target = true
 
     },
 
     },
     level = 9,
+
     level = 4,
     name = "Absolute Zero",
+
     name = "Airstrike",
 
     noise = {
 
     noise = {
       casting = 9,
+
       casting = 2,
       effect = 40
+
       effect = 4
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
 
     range = {
 
     range = {
       max = 5,
+
       max = 7,
       min = 5
+
       min = 7
 
     },
 
     },
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Ice = true
+
       Air = true
 
     }
 
     }
 
   },
 
   },
   Agony = {
+
   ["Alistair's Intoxication"] = {
 
     books = {
 
     books = {
       ["book of Death"] = true
+
       ["book of Party Tricks"] = true,
    },
+
      ["Great Wizards, Vol. II"] = true
    description = "Cuts the resilience of an adjacent creature in half. This damage is never directly lethal.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      MR_CHECK = true,
 
      NEEDS_TRACER = true,
 
      NOT_SELF = 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,
 
     level = 5,
     name = "Agony",
+
     name = "Alistair's Intoxication",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 3,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 150,
    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 = {
 
     schools = {
       Necromancy = true
+
       Alchemy = true
 
     }
 
     }
 
   },
 
   },
   Airstrike = {
+
   Anguish = {
 
     books = {
 
     books = {
       ["book of the Sky"] = true
+
       ["book of Dreams"] = true,
 +
      ["book of Hexes"] = 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 = "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 = {
       NOT_SELF = true,
+
       area = true,
       TARGET = true
+
       WL_check = true
 
     },
 
     },
 
     level = 4,
 
     level = 4,
     name = "Airstrike",
+
     name = "Anguish",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 4,
       effect = 4
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
Line 73: Line 65:
 
       min = 7
 
       min = 7
 
     },
 
     },
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Air = true
+
       Hexes = true,
 +
      Necromancy = true
 
     }
 
     }
 
   },
 
   },
   ["Alistair's Intoxication"] = {
+
   ["Animate Armour"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Armaments"] = true,
       ["book of Party Tricks"] = true
+
       ["book of Iron"] = 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.",
+
     description = "Call 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.",
 
     flags = {},
 
     flags = {},
     level = 5,
+
     level = 4,
     name = "Alistair's Intoxication",
+
     name = "Animate Armour",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 50,
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Poison = true,
+
       Earth = true,
       Transmutation = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
 
   ["Animate Dead"] = {
 
   ["Animate Dead"] = {
 
     books = {
 
     books = {
       ["book of Necromancy"] = true,
+
       ["book of Death"] = true,
 
       ["book of Unlife"] = 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.",
+
     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,
       NEUTRAL = true,
+
       selfench = true,
       UTILITY = true
+
       utility = true
 
     },
 
     },
 
     level = 4,
 
     level = 4,
Line 115: Line 106:
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 0,
+
     ["power cap"] = 100,
     rarity = 3,
+
     quote = "“Remember, I am not recording the vision of a madman. The sun does not more\n certainly shine in the heavens, than that which I now affirm is true. Some\n miracle might have produced it, yet the stages of the discovery were distinct\n and probable. After days and nights of incredible labour and fatigue, I\n succeeded in discovering the cause of generation and life; nay, more, I became\n myself capable of bestowing animation upon lifeless matter.”\n    -Mary Shelley, _Frankenstein, or the Modern Prometheus_,\n    Vol. I, Chapter 3. 1818 (1st Ed.)",
 
     schools = {
 
     schools = {
 
       Necromancy = true
 
       Necromancy = true
 
     }
 
     }
 
   },
 
   },
   ["Animate Skeleton"] = {
+
   Apportation = {
 
     books = {
 
     books = {
 
       ["book of Cantrips"] = true,
 
       ["book of Cantrips"] = true,
       ["book of Necromancy"] = true
+
       ["book of Party Tricks"] = 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.",
+
     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.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       not_self = true,
 +
      obj = true,
 +
      target = true
 
     },
 
     },
 
     level = 1,
 
     level = 1,
     name = "Animate Skeleton",
+
     name = "Apportation",
 
     noise = {
 
     noise = {
 
       casting = 1,
 
       casting = 1,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 0,
+
     ["power cap"] = 50,
     rarity = 1,
+
     range = {
 +
      max = 7,
 +
      min = 7
 +
    },
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Translocation = true
 
     }
 
     }
 
   },
 
   },
   Apportation = {
+
   Blink = {
 
     books = {
 
     books = {
       ["book of Cantrips"] = true,
+
       ["book of Spatial Translocations"] = true,
       ["book of Party Tricks"] = true
+
       ["book of Minor Magic"] = 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 = "Randomly translocates the caster a short distance. Translocating in this way destabilises the caster temporarily, preventing consecutive blinks for a short period of time depending on spellpower.",
 
     flags = {
 
     flags = {
       NOT_SELF = true,
+
       escape = true,
       OBJ = true,
+
       selfench = true,
       TARGET = true
+
       utility = true
 
     },
 
     },
     level = 1,
+
     level = 2,
     name = "Apportation",
+
     name = "Blink",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 2,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 50,
 
     ["power cap"] = 50,
    range = {
 
      max = 8,
 
      min = 8
 
    },
 
    rarity = 1,
 
 
     schools = {
 
     schools = {
 
       Translocation = true
 
       Translocation = true
 
     }
 
     }
 
   },
 
   },
   ["Aura of Abjuration"] = {
+
   ["Borgnjor's Revivification"] = {
 
     books = {
 
     books = {
       ["book of Summonings"] = true
+
       Necronomicon = true
 
     },
 
     },
     description = "Continuously abjures hostile summoned creatures in the vicinity of the caster. This reduces their remaining time before being sent back where they came from.",
+
     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.\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.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       utility = true
      ESCAPE = true,
 
      NEUTRAL = true
 
 
     },
 
     },
     level = 5,
+
     level = 8,
     name = "Aura of Abjuration",
+
     name = "Borgnjor's Revivification",
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 6,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Necromancy = true
 
     }
 
     }
 
   },
 
   },
   ["Beastly Appendage"] = {
+
   ["Borgnjor's Vile Clutch"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true
+
       ["book of Unlife"] = true,
 +
      ["Great Wizards, Vol. II"] = 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 = "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 = {
       CHAOTIC = true,
+
       dir_or_target = true,
       HELPFUL = true
+
       needs_tracer = true
 
     },
 
     },
     level = 1,
+
     level = 5,
     name = "Beastly Appendage",
+
     name = "Borgnjor's Vile Clutch",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 5,
       effect = 0
+
       effect = 4
 +
    },
 +
    ["power cap"] = 200,
 +
    range = {
 +
      max = 6,
 +
      min = 6
 
     },
 
     },
    ["power cap"] = 50,
 
    rarity = 2,
 
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Earth = true,
 +
      Necromancy = true
 
     }
 
     }
 
   },
 
   },
   ["Blade Hands"] = {
+
   ["Call Canine Familiar"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true
+
       ["book of Callings"] = true,
 +
      ["book of the Hunter"] = true
 
     },
 
     },
     description = "Causes long, scythe-shaped blades to grow from the caster's hands, increasing melee damage significantly.",
+
     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 = {},
      CHAOTIC = true,
+
     level = 3,
      HELPFUL = true,
+
     name = "Call Canine Familiar",
      UTILITY = true
 
    },
 
     level = 5,
 
     name = "Blade Hands",
 
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
     rarity = 2,
+
     quote = "“There seemed a strange stillness over everything. But as I listened, I heard\n as if from down below in the valley the howling of many wolves. The Count's\n eyes gleamed, and he said.\n\n ‘Listen to them, the children of the night. What music they make!’ Seeing, I\n suppose, some expression in my face strange to him, he added, ‘Ah, sir, you\n dwellers in the city cannot enter into the feelings of the hunter.’”\n    -Bram Stoker, _Dracula_. 1897.",
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   Blink = {
+
   ["Call Imp"] = {
 
     books = {
 
     books = {
 
       ["book of Minor Magic"] = true,
 
       ["book of Minor Magic"] = true,
       ["book of Spatial Translocations"] = true
+
       ["book of Blood"] = true
 
     },
 
     },
     description = "Randomly translocates the caster a short distance.",
+
     description = "Calls forth a minor demon from the pits of Hell. The demon will fight alongside the caster for a time depending on spell power.",
 
     flags = {
 
     flags = {
       EMERGENCY = true,
+
       selfench = true,
       ESCAPE = true,
+
       unholy = true
      SELFENCH = true,
 
      UTILITY = true
 
 
     },
 
     },
 
     level = 2,
 
     level = 2,
     name = "Blink",
+
     name = "Call Imp",
 
     noise = {
 
     noise = {
 
       casting = 2,
 
       casting = 2,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 0,
+
     ["power cap"] = 100,
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Translocation = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   ["Bolt of Cold"] = {
+
   ["Cause Fear"] = {
 
     books = {
 
     books = {
       ["book of Ice"] = true
+
       ["book of Hexes"] = true,
 +
      ["book of the Dragon"] = true
 
     },
 
     },
     description = "Fires a penetrating bolt of frost.",
+
     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 = {
       DIR_OR_TARGET = true,
+
       area = true,
       NEEDS_TRACER = true
+
       WL_check = true
 
     },
 
     },
     level = 6,
+
     level = 4,
     name = "Bolt of Cold",
+
     name = "Cause Fear",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 3,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
 +
    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.",
 
     range = {
 
     range = {
       max = 5,
+
       max = 7,
       min = 5
+
       min = 7
 
     },
 
     },
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Hexes = true
      Ice = true
 
 
     }
 
     }
 
   },
 
   },
   ["Bolt of Draining"] = {
+
   ["Chain Lightning"] = {
 
     books = {
 
     books = {
       ["book of Death"] = true
+
       ["book of Annihilations"] = true
 
     },
 
     },
     description = "Fires a penetrating bolt of negative energy, which drains any living creature it strikes.",
+
     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's damage partially bypasses armour and resistance to electricity.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 5,
+
     level = 9,
     name = "Bolt of Draining",
+
     name = "Chain Lightning",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 25,
       effect = 2
+
       effect = 10
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
     range = {
+
     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.",
      max = 5,
 
      min = 5
 
    },
 
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Air = true,
       Necromancy = true
+
       Conjuration = true
 
     }
 
     }
 
   },
 
   },
   ["Bolt of Fire"] = {
+
   ["Confusing Touch"] = {
 
     books = {
 
     books = {
       ["book of Fire"] = true,
+
       ["book of Debilitation"] = true,
       ["book of the Dragon"] = true
+
       ["book of Touch"] = true
 
     },
 
     },
     description = "Fires a penetrating bolt of flames.",
+
     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 = {
       DIR_OR_TARGET = true,
+
       selfench = true,
       NEEDS_TRACER = true
+
       WL_check = true
 
     },
 
     },
     level = 6,
+
     level = 3,
     name = "Bolt of Fire",
+
     name = "Confusing Touch",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 2,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
    range = {
 
      max = 6,
 
      min = 6
 
    },
 
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Hexes = true
      Fire = true
 
 
     }
 
     }
 
   },
 
   },
   ["Bolt of Magma"] = {
+
   ["Conjure Ball Lightning"] = {
 
     books = {
 
     books = {
       ["book of Power"] = true,
+
       ["book of Chaos"] = true,
       ["book of the Earth"] = true
+
       ["book of the Spheres"] = 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 = "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.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       selfench = true
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 5,
+
     level = 6,
     name = "Bolt of Magma",
+
     name = "Conjure Ball Lightning",
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 6,
       effect = 2
+
       effect = 25
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    range = {
 
      max = 4,
 
      min = 4
 
    },
 
    rarity = 6,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Air = true,
       Earth = true,
+
       Conjuration = true
      Fire = true
 
 
     }
 
     }
 
   },
 
   },
   ["Borgnjor's Revivification"] = {
+
   ["Dazzling Flash"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["book of Spectacle"] = true,
 +
      ["book of the Senses"] = 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 = "The caster erupts in a scintillating display of light. Any living creature nearby may be dazzled and left stumbling blindly.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       area = true,
 +
      no_ghost = true
 
     },
 
     },
     level = 8,
+
     level = 3,
     name = "Borgnjor's Revivification",
+
     name = "Dazzling Flash",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 0,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 50,
     rarity = -1,
+
     range = {
 +
      max = 3,
 +
      min = 2
 +
    },
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Hexes = true,
 +
      Fire = true
 
     }
 
     }
 
   },
 
   },
   ["Borgnjor's Vile Clutch"] = {
+
   ["Death Channel"] = {
 
     books = {
 
     books = {
       ["book of Dreams"] = true,
+
       ["book of Decay"] = true,
 
       ["book of Unlife"] = true
 
       ["book of Unlife"] = 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 = "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 = {
       DIR_OR_TARGET = true
+
       helpful = true,
       NEEDS_TRACER = true
+
       selfench = true,
 +
      utility = true
 
     },
 
     },
     level = 5,
+
     level = 6,
     name = "Borgnjor's Vile Clutch",
+
     name = "Death Channel",
 
     noise = {
 
     noise = {
       casting = 0,
+
       casting = 5,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    range = {
 
      max = 6,
 
      min = 6
 
    },
 
    rarity = 6,
 
 
     schools = {
 
     schools = {
       Necromancy = true,
+
       Necromancy = true
      Earth = true
 
 
     }
 
     }
 
   },
 
   },
   ["Call Canine Familiar"] = {
+
   ["Death's Door"] = {
 
     books = {
 
     books = {
       ["book of Beasts"] = true,
+
       Necronomicon = true
       ["book of Callings"] = 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 further from death when the effect ends. It has no effect on those who are already undead.",
 +
    flags = {
 +
      no_ghost = true,
 +
       utility = true
 
     },
 
     },
    description = "Summons a solitary canine to the caster's aid.",
+
     level = 9,
    flags = {},
+
     name = "Death's Door",
     level = 3,
 
     name = "Call Canine Familiar",
 
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 6,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 200,
    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.",
 
    rarity = 3,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Necromancy = true
     },
+
     }
    ["summons limit"] = 1
 
 
   },
 
   },
   ["Call Imp"] = {
+
   Discord = {
 
     books = {
 
     books = {
       ["book of Callings"] = true,
+
       ["book of Chaos"] = true,
       ["book of Minor Magic"] = true
+
       ["the Unrestrained Analects"] = true
 
     },
 
     },
     description = "Calls forth a minor demon from the pits of Hell.",
+
     description = "Drives nearby creatures into an insane frenzy, causing them to mercilessly attack anything and everything nearby with great strength and speed.",
 
     flags = {
 
     flags = {
       SELFENCH = true,
+
       area = true,
       UNHOLY = true
+
       hasty = true,
 +
      WL_check = true
 
     },
 
     },
     level = 2,
+
     level = 8,
     name = "Call Imp",
+
     name = "Discord",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 6,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 200,
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Hexes = true
     },
+
     }
    ["summons limit"] = 3
 
 
   },
 
   },
   ["Cause Fear"] = {
+
   Disjunction = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Chaos"] = true,
      ["book of Enchantments"] = true,
+
       ["book of the Warp"] = 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 = "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.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       escape = true,
       MR_CHECK = true
+
       utility = true
 
     },
 
     },
     level = 4,
+
     level = 8,
     name = "Cause Fear",
+
     name = "Disjunction",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 6,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    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.",
 
 
     range = {
 
     range = {
       max = 8,
+
       max = 4,
       min = 8
+
       min = 4
 
     },
 
     },
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Hexes = true
+
       Translocation = true
 
     }
 
     }
 
   },
 
   },
   ["Chain Lightning"] = {
+
   ["Dispel Undead"] = {
 
     books = {
 
     books = {
       ["book of Annihilations"] = true
+
       ["book of Decay"] = true,
 +
      ["book of Touch"] = 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 = "Harms an adjacent undead creature greatly by interfering with the forces binding it together.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
 +
      needs_tracer = true
 
     },
 
     },
     level = 8,
+
     level = 4,
     name = "Chain Lightning",
+
     name = "Dispel Undead",
 
     noise = {
 
     noise = {
       casting = 8,
+
       casting = 4,
       effect = 25
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
     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 = {
    rarity = -1,
+
      max = 1,
     schools = {
+
      min = 1
       Air = true,
+
    },
      Conjuration = true
+
     schools = {
 +
       Necromancy = true
 
     }
 
     }
 
   },
 
   },
   Confuse = {
+
   Dispersal = {
 
     books = {
 
     books = {
       ["book of Maledictions"] = true,
+
       ["book of the Warp"] = true,
       ["book of Misfortune"] = true
+
       ["There-And-Back Book"] = true
 
     },
 
     },
     description = "Induces a state of bewilderment and confusion in a creature's mind.",
+
     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 = {
       DIR_OR_TARGET = true,
+
       area = true,
       MR_CHECK = true,
+
       escape = true
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 3,
+
     level = 6,
     name = "Confuse",
+
     name = "Dispersal",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 5,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
 
     range = {
 
     range = {
       max = 7,
+
       max = 4,
       min = 7
+
       min = 1
 
     },
 
     },
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Hexes = true
+
       Translocation = true
 
     }
 
     }
 
   },
 
   },
   ["Confusing Touch"] = {
+
   ["Dragon's Call"] = {
 
     books = {
 
     books = {
       ["book of Maledictions"] = true,
+
       ["book of the Dragon"] = 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 = "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 = {},
     level = 3,
+
     level = 9,
     name = "Confusing Touch",
+
     name = "Dragon's Call",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 7,
       effect = 0
+
       effect = 15
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 200,
     rarity = 1,
+
     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.",
 
     schools = {
 
     schools = {
       Hexes = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   ["Conjure Ball Lightning"] = {
+
   Enfeeble = {
 
     books = {
 
     books = {
       ["book of the Sky"] = true
+
       ["book of Hexes"] = true,
 +
      ["book of Misfortune"] = 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 = "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 = {
       SELFENCH = true
+
       dir_or_target = true,
 +
      needs_tracer = true,
 +
      WL_check = true
 
     },
 
     },
     level = 6,
+
     level = 7,
     name = "Conjure Ball Lightning",
+
     name = "Enfeeble",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 7,
       effect = 25
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 10,
+
     range = {
 +
      max = 7,
 +
      min = 7
 +
    },
 
     schools = {
 
     schools = {
       Air = true,
+
       Hexes = true
      Conjuration = true
 
 
     }
 
     }
 
   },
 
   },
   ["Conjure Flame"] = {
+
   ["Ensorcelled Hibernation"] = {
 
     books = {
 
     books = {
       ["book of Clouds"] = true,
+
       ["book of Burglary"] = true,
       ["book of Flames"] = true,
+
       ["book of Dreams"] = true
      ["book of Minor Magic"] = 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 = "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 = {
       NOT_SELF = true,
+
       dir_or_target = true,
       TARGET = true
+
       needs_tracer = true,
 +
      not_self = true,
 +
      WL_check = true
 
     },
 
     },
     level = 3,
+
     level = 2,
     name = "Conjure Flame",
+
     name = "Ensorcelled Hibernation",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 0,
       effect = 2
+
       effect = 0
 +
    },
 +
    ["power cap"] = 50,
 +
    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
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Hexes = true,
       Fire = true
+
       Ice = true
 
     }
 
     }
 
   },
 
   },
   ["Controlled Blink"] = {
+
   ["Eringya's Noxious Bog"] = {
 
     books = {
 
     books = {
       ["book of the Warp"] = true
+
       ["Fen Folio"] = true,
 +
      ["Great Wizards, Vol. II"] = 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 = "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 = {
 
     flags = {
       EMERGENCY = true,
+
       area = true,
       ESCAPE = true,
+
       no_ghost = true
      UTILITY = true
 
 
     },
 
     },
     level = 8,
+
     level = 6,
     name = "Controlled Blink",
+
     name = "Eringya's Noxious Bog",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 6,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 0,
+
     ["power cap"] = 200,
     rarity = 15,
+
     range = {
 +
      max = 4,
 +
      min = 4
 +
    },
 
     schools = {
 
     schools = {
       Translocation = true
+
       Alchemy = true
 
     }
 
     }
 
   },
 
   },
   Corona = {
+
   ["Fire Storm"] = {
 
     books = {
 
     books = {
       ["book of Cantrips"] = true,
+
       ["book of Annihilations"] = true
      ["book of Debilitation"] = 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 = "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.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true,
       MR_CHECK = true,
+
       needs_tracer = true,
       NEEDS_TRACER = true,
+
       target = true
      NOT_SELF = true
 
 
     },
 
     },
     level = 1,
+
     level = 9,
     name = "Corona",
+
     name = "Fire Storm",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 9,
       effect = 2
+
       effect = 25
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
 +
    quote = "“Some have said there is no subtlety to destruction. You know what? They're\n dead.”\n    -Jaya Ballard, task mage (Magic: the Gathering).",
 
     range = {
 
     range = {
       max = 8,
+
       max = 5,
       min = 8
+
       min = 5
 
     },
 
     },
    rarity = 2,
 
 
     schools = {
 
     schools = {
       Hexes = true
+
       Conjuration = true,
 +
      Fire = true
 
     }
 
     }
 
   },
 
   },
   ["Corpse Rot"] = {
+
   Fireball = {
 
     books = {
 
     books = {
       ["book of Death"] = true,
+
       ["book of the Dragon"] = true,
       ["Fen Folio"] = true
+
       ["book of the Spheres"] = 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 = "Hurls an explosive ball of fire.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       dir_or_target = true,
       NEUTRAL = true,
+
       needs_tracer = true
      UNCLEAN = true
 
 
     },
 
     },
     level = 2,
+
     level = 5,
     name = "Corpse Rot",
+
     name = "Fireball",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 5,
       effect = 0
+
       effect = 15
 +
    },
 +
    ["power cap"] = 200,
 +
    range = {
 +
      max = 5,
 +
      min = 5
 
     },
 
     },
    ["power cap"] = 0,
 
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Conjuration = true,
 +
      Fire = true
 
     }
 
     }
 
   },
 
   },
   Darkness = {
+
   ["Flame Wave"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of Flames"] = true,
       ["book of Dreams"] = true
+
       ["book of Scorching"] = true
    },
 
    description = "Dims the light of the dungeon, reducing the range of vision.",
 
    flags = {},
 
    level = 6,
 
    name = "Darkness",
 
    noise = {
 
      casting = 3,
 
      effect = 0
 
    },
 
    ["power cap"] = 200,
 
    quote = "“If I must die, I will encounter darkness as a bride,\n    And hug it in my arms.”\n    -William Shakespeare, “Measure for Measure”",
 
    rarity = 12,
 
    schools = {
 
      Hexes = true
 
    }
 
  },
 
  ["Dazzling Flash"] = {
 
    books = {
 
      ["book of Conjurations"] = true,
 
      ["book of Maledictions"] = true
 
 
     },
 
     },
     description = "The caster erupts in a scintillating display of light. Any living creature nearby may be dazzled and left stumbling blindly.",
+
     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 = {
       AREA = true,
+
       area = true
      NO_GHOST = true
 
 
     },
 
     },
     level = 3,
+
     level = 4,
     name = "Dazzling Flash",
+
     name = "Flame Wave",
 
     noise = {
 
     noise = {
 
       casting = 0,
 
       casting = 0,
       effect = 0
+
       effect = 12
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
 
     range = {
 
     range = {
 
       max = 3,
 
       max = 3,
       min = 2
+
       min = 3
 
     },
 
     },
    rarity = 2,
 
 
     schools = {
 
     schools = {
 
       Conjuration = true,
 
       Conjuration = true,
       Hexes = true
+
       Fire = true
 
     }
 
     }
 
   },
 
   },
   ["Dazzling Spray"] = {
+
   Foxfire = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true,
+
       ["book of Fire"] = true
      ["book of Maledictions"] = true
 
 
     },
 
     },
     description = "Fires a spread of scintillating energy bolts from the caster's fingertips. Any living creature they strike may be dazzled and left stumbling blindly.",
+
     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 = {
       DIR_OR_TARGET = true,
+
       selfench = true
      NOT_SELF = true
 
 
     },
 
     },
     level = 3,
+
     level = 1,
     name = "Dazzling Spray",
+
     name = "Foxfire",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 1,
       effect = 0
+
       effect = 1
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 25,
    range = {
 
      max = 5,
 
      min = 5
 
    },
 
    rarity = 2,
 
 
     schools = {
 
     schools = {
 
       Conjuration = true,
 
       Conjuration = true,
       Hexes = true
+
       Fire = true
 
     }
 
     }
 
   },
 
   },
   ["Death Channel"] = {
+
   Freeze = {
 
     books = {
 
     books = {
       ["book of Unlife"] = true
+
       ["book of Frost"] = true
 
     },
 
     },
     description = "Raises living creatures slain by the caster and their allies, reducing them to a state of spectral slavery.",
+
     description = "Freezes an adjacent creature, dealing damage that bypasses any armour the target may have. This may temporarily slow cold-blooded creatures.",
 
     flags = {
 
     flags = {
       HELPFUL = true,
+
       dir_or_target = true,
       UTILITY = true
+
       not_self = true
 
     },
 
     },
     level = 6,
+
     level = 1,
     name = "Death Channel",
+
     name = "Freeze",
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 1,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 25,
     rarity = 10,
+
     range = {
 +
      max = 1,
 +
      min = 1
 +
    },
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Ice = true
 
     }
 
     }
 
   },
 
   },
   ["Death's Door"] = {
+
   ["Freezing Cloud"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["book of Vapours"] = true,
 +
      ["Trismegistus Codex"] = 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 = "Conjures up a large cloud of lethally cold vapour.",
 
     flags = {
 
     flags = {
       EMERGENCY = true,
+
       area = true,
       NO_GHOST = true,
+
       cloud = true,
       UTILITY = true
+
       needs_tracer = true,
 +
      target = true
 
     },
 
     },
     level = 8,
+
     level = 5,
     name = "Death's Door",
+
     name = "Freezing Cloud",
 
     noise = {
 
     noise = {
 
       casting = 6,
 
       casting = 6,
       effect = 0
+
       effect = 2
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = -1,
+
     range = {
 +
      max = 5,
 +
      min = 5
 +
    },
 
     schools = {
 
     schools = {
       Charms = true,
+
       Air = true,
       Necromancy = true
+
       Conjuration = true,
 +
      Ice = true
 
     }
 
     }
 
   },
 
   },
   ["Deflect Missiles"] = {
+
   ["Frozen Ramparts"] = {
 
     books = {
 
     books = {
       ["book of Enchantments"] = true,
+
       ["book of Frost"] = true,
       ["book of the Sky"] = true
+
       ["book of Sloth"] = true
 
     },
 
     },
     description = "Protects the caster from all kinds of projectile attacks, making them significantly easier to dodge. It is highly effective against both single-target and penetrating attacks. Each time a missile is deflected the spell has a chance of expiring, with a lower chance of expiry at high power.",
+
     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.\n\nThe ice will crack and fall away if the caster moves to a new position.",
 
     flags = {
 
     flags = {
       HELPFUL = true,
+
       area = true,
       UTILITY = true
+
       no_ghost = true
 
     },
 
     },
     level = 6,
+
     level = 3,
     name = "Deflect Missiles",
+
     name = "Frozen Ramparts",
 
     noise = {
 
     noise = {
 
       casting = 3,
 
       casting = 3,
       effect = 0
+
       effect = 8
 +
    },
 +
    ["power cap"] = 50,
 +
    range = {
 +
      max = 2,
 +
      min = 2
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 7,
 
 
     schools = {
 
     schools = {
       Air = true,
+
       Ice = true
      Charms = true
 
 
     }
 
     }
 
   },
 
   },
   Discord = {
+
   ["Fulminant Prism"] = {
 
     books = {
 
     books = {
       ["book of Hexes"] = true
+
       ["book of Blasting"] = true,
 +
      ["book of Conjurations"] = true
 
     },
 
     },
     description = "Drives nearby creatures into an insane frenzy, causing them to mercilessly attack anything and everything nearby with great strength and speed.",
+
     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.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       area = true,
       HASTY = true
+
       not_self = true,
 +
      target = true
 
     },
 
     },
     level = 8,
+
     level = 4,
     name = "Discord",
+
     name = "Fulminant Prism",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 7,
+
     range = {
 +
      max = 4,
 +
      min = 4
 +
    },
 
     schools = {
 
     schools = {
       Hexes = true
+
       Conjuration = true,
 +
      Alchemy = true
 
     }
 
     }
 
   },
 
   },
   Disjunction = {
+
   Hailstorm = {
 
     books = {
 
     books = {
       ["book of the Warp"] = true
+
      ["book of Frost"] = true,
 +
       ["book of the Tundra"] = 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 = "Conjures a cannonade of hail. The eye of the storm is wide enough that monsters adjacent to the caster are unaffected. Due to the strong impact and cutting edges a significant portion of its damage bypasses cold resistance.",
 
     flags = {
 
     flags = {
       ESCAPE = true,
+
       area = true
      UTILITY = true
 
 
     },
 
     },
     level = 8,
+
     level = 3,
     name = "Disjunction",
+
     name = "Hailstorm",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
     rarity = 15,
+
     range = {
 +
      max = 3,
 +
      min = 3
 +
    },
 
     schools = {
 
     schools = {
       Translocation = true
+
       Conjuration = true,
 +
      Ice = true
 
     }
 
     }
 
   },
 
   },
   ["Dispel Undead"] = {
+
   Haunt = {
 
     books = {
 
     books = {
       ["book of Death"] = true
+
       ["book of Death"] = true,
 +
      ["Necronomicon"] = true
 
     },
 
     },
     description = "Harms an adjacent undead creature greatly by interfering with the forces binding it together.",
+
     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 = {
       DIR_OR_TARGET = true,
+
       mons_abjure = true,
       NEEDS_TRACER = true
+
       not_self = true,
 +
      target = true
 
     },
 
     },
     level = 5,
+
     level = 7,
     name = "Dispel Undead",
+
     name = "Haunt",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 6,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 200,
 
     range = {
 
     range = {
       max = 1,
+
       max = 7,
       min = 1
+
       min = 7
 
     },
 
     },
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Necromancy = true,
 +
      Summoning = true
 
     }
 
     }
 
   },
 
   },
   Dispersal = {
+
   ["Ignite Poison"] = {
 
     books = {
 
     books = {
       ["book of the Warp"] = true
+
       ["Everburning Encyclopedia"] = true,
 +
      ["Trismegistus Codex"] = 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 = "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 = {
       AREA = true,
+
       area = true
      ESCAPE = true
 
 
     },
 
     },
     level = 6,
+
     level = 4,
     name = "Dispersal",
+
     name = "Ignite Poison",
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
    range = {
 
      max = 4,
 
      min = 1
 
    },
 
    rarity = 15,
 
 
     schools = {
 
     schools = {
       Translocation = true
+
       Fire = true,
 +
      Alchemy = true,
 
     }
 
     }
 
   },
 
   },
   ["Dragon Form"] = {
+
   Ignition = {
 
     books = {
 
     books = {
       ["book of the Dragon"] = true,
+
       ["Everburning Encyclopedia"] = true,
       ["book of Transfigurations"] = true
+
       ["book of Spontaneous Combustion"] = 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 = "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 = {
       CHAOTIC = true,
+
       area = true
      HELPFUL = true,
 
      UTILITY = true
 
 
     },
 
     },
     level = 7,
+
     level = 8,
     name = "Dragon Form",
+
     name = "Ignition",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 8,
       effect = 0
+
       effect = 15
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 8,
 
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Fire = true
 
     }
 
     }
 
   },
 
   },
   ["Dragon's Call"] = {
+
   Infestation = {
 
     books = {
 
     books = {
       ["book of the Dragon"] = true
+
       ["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
 
     },
 
     },
    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.",
+
     level = 8,
    flags = {},
+
     name = "Infestation",
     level = 9,
 
     name = "Dragon's Call",
 
 
     noise = {
 
     noise = {
       casting = 7,
+
       casting = 8,
       effect = 15
+
       effect = 4
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     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.",
+
     range = {
     rarity = 15,
+
      max = 7,
 +
      min = 7
 +
     },
 
     schools = {
 
     schools = {
       Summoning = true
+
       Necromancy = true
 
     }
 
     }
 
   },
 
   },
   ["Ensorcelled Hibernation"] = {
+
   ["Inner Flame"] = {
 
     books = {
 
     books = {
       ["book of Dreams"] = true,
+
       ["book of Flames"] = true,
       ["book of Maledictions"] = true
+
       ["book of Spontaneous Combustion"] = 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 = "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 = {
       DIR_OR_TARGET = true,
+
       not_self = true,
       MR_CHECK = true,
+
       target = true,
       NEEDS_TRACER = true,
+
       WL_check = true
      NOT_SELF = true
 
 
     },
 
     },
     level = 2,
+
     level = 3,
     name = "Ensorcelled Hibernation",
+
     name = "Inner Flame",
 
     noise = {
 
     noise = {
       casting = 0,
+
       casting = 3,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 56,
+
     ["power cap"] = 100,
    quote = "“Sweet dreams are made of this; who am I to disagree?”\n    -Eurythmics, “Sweet Dreams (Are Made of This)”. 1983.",
 
 
     range = {
 
     range = {
       max = 8,
+
       max = 7,
       min = 8
+
       min = 7
 
     },
 
     },
    rarity = 2,
 
 
     schools = {
 
     schools = {
       Hexes = true,
+
       Fire = true,
       Ice = true
+
       Hexes = true
 
     }
 
     }
 
   },
 
   },
   ["Excruciating Wounds"] = {
+
   Irradiate = {
 
     books = {
 
     books = {
       ["book of Death"] = true
+
       ["book of Spontaneous Combustion"] = true,
 +
      ["book of Transmutation"] = true
 
     },
 
     },
     description = "Temporarily infuses the weapon held by the caster with the essence of pain itself. It will not affect artefact weapons.",
+
     description = "Transmutes an ultra-thin layer of the caster's skin (or equivalent) directly into pure magical energy, blasting adjacent creatures. 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.",
 
     flags = {
 
     flags = {
       HELPFUL = true
+
       area = true,
 +
      chaotic = true
 
     },
 
     },
 
     level = 5,
 
     level = 5,
     name = "Excruciating Wounds",
+
     name = "Irradiate",
 
     noise = {
 
     noise = {
 
       casting = 4,
 
       casting = 4,
       effect = 15
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 11,
+
     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.",
    schools = {
 
      Charms = true,
 
      Necromancy = 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. A portion of its damage bypasses fire resistance.",
 
    flags = {
 
      AREA = true,
 
      NEEDS_TRACER = true,
 
      TARGET = true
 
    },
 
    level = 9,
 
    name = "Fire Storm",
 
    noise = {
 
      casting = 9,
 
      effect = 25
 
    },
 
    ["power cap"] = 200,
 
    quote = "“Some have said there is no subtlety to destruction. You know what? They're dead.”\n    -Jaya Ballard, task mage (Magic: the Gathering)",
 
 
     range = {
 
     range = {
       max = 5,
+
       max = 1,
       min = 5
+
       min = 1
 
     },
 
     },
    rarity = -1,
 
 
     schools = {
 
     schools = {
 
       Conjuration = true,
 
       Conjuration = true,
       Fire = true
+
       Alchemy = true
 
     }
 
     }
 
   },
 
   },
   Fireball = {
+
   ["Iskenderun's Battlesphere"] = {
 
     books = {
 
     books = {
       ["book of Fire"] = true,
+
       ["book of Power"] = true,
      ["book of Flames"] = true,
+
       ["book of the Spheres"] = true
       ["book of the Tempests"] = true
 
 
     },
 
     },
     description = "Hurls an explosive ball of fire. This spell does not cost any spell levels if the learner already knows Delayed Fireball.",
+
     description = "Conjures a small globe of magical energy. Each time its creator casts a spell from the Conjuration school (other than Battlesphere itself or Spellforged Servitor), the battlesphere will launch its own volley of energy at a random foe. With increasing power, the battlesphere lasts longer and deals more damage per volley.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       utility = true
      NEEDS_TRACER = true
 
 
     },
 
     },
 
     level = 5,
 
     level = 5,
     name = "Fireball",
+
     name = "Iskenderun's Battlesphere",
 
     noise = {
 
     noise = {
 
       casting = 5,
 
       casting = 5,
       effect = 15
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
     range = {
+
     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.",
      max = 5,
 
      min = 5
 
    },
 
     rarity = 4,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Conjuration = true
      Fire = true
 
 
     }
 
     }
 
   },
 
   },
   ["Flame Tongue"] = {
+
   ["Iskenderun's Mystic Blast"] = {
 
     books = {
 
     books = {
       ["book of Flames"] = true,
+
       ["book of Blasting"] = true,
       ["book of the Dragon"] = true
+
       ["book of Weapons"] = true
 
     },
 
     },
     description = "Creates a short burst of flame.",
+
     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.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 1,
+
     level = 4,
     name = "Flame Tongue",
+
     name = "Iskenderun's Mystic Blast",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 4,
       effect = 2
+
       effect = 10
 
     },
 
     },
     ["power cap"] = 40,
+
     ["power cap"] = 100,
 
     range = {
 
     range = {
       max = 5,
+
       max = 2,
 
       min = 2
 
       min = 2
 
     },
 
     },
    rarity = 4,
 
 
     schools = {
 
     schools = {
 
       Conjuration = true,
 
       Conjuration = true,
       Fire = true
+
       Translocation = true
 
     }
 
     }
 
   },
 
   },
   ["Force Lance"] = {
+
   ["Leda's Liquefaction"] = {
 
     books = {
 
     books = {
       ["book of the Warp"] = true
+
       ["book of the Earth"] = true,
 +
      ["book of Sloth"] = true
 
     },
 
     },
     description = "Fires a shaft of concussive force. If the impact deals damage, it may knock the target back.",
+
     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.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true
      NEEDS_TRACER = true
 
 
     },
 
     },
 
     level = 4,
 
     level = 4,
     name = "Force Lance",
+
     name = "Leda's Liquefaction",
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 3,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
    range = {
 
      max = 3,
 
      min = 3
 
    },
 
    rarity = 15,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Earth = true,
       Translocation = true
+
       Alchemy = true
 
     }
 
     }
 
   },
 
   },
   Freeze = {
+
   ["Lee's Rapid Deconstruction"] = {
 
     books = {
 
     books = {
       ["book of Frost"] = true
+
       ["book of Iron"] = true,
 +
      ["book of the Earth"] = true
 
     },
 
     },
     description = "Freezes an adjacent creature. This may temporarily slow cold-blooded creatures.",
+
     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.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       target = true
      NOT_SELF = true
 
 
     },
 
     },
     level = 1,
+
     level = 5,
     name = "Freeze",
+
     name = "Lee's Rapid Deconstruction",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 4,
       effect = 0
+
       effect = 20
 
     },
 
     },
     ["power cap"] = 25,
+
     ["power cap"] = 200,
 +
    quote = "“Now the house was full of men and women; and all the lords of the Philistines\n were there; and there were upon the roof about three thousand men and women,\n that beheld while Samson made sport.\n\n And Samson called unto the LORD, and said, O Lord GOD, remember me, I pray\n thee, and strengthen me, I pray thee, only this once, O God, that I may be at\n once avenged of the Philistines for my two eyes.\n\n And Samson took hold of the two middle pillars upon which the house stood, and\n on which it was borne up, of the one with his right hand, and of the other\n with his left.\n\n And Samson said, Let me die with the Philistines. And he bowed himself with\n all his might; and the house fell upon the lords, and upon all the people that\n were therein. So the dead which he slew at his death were more than they which\n he slew in his life.”\n    -KJV Bible, Judges 16:27-30.",
 
     range = {
 
     range = {
       max = 1,
+
       max = 7,
       min = 1
+
       min = 7
 
     },
 
     },
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Ice = true
+
       Earth = true
 
     }
 
     }
 
   },
 
   },
   ["Freezing Cloud"] = {
+
   ["Lehudib's Crystal Spear"] = {
 
     books = {
 
     books = {
       ["book of Clouds"] = true,
+
       ["book of Armaments"] = true,
       ["book of Ice"] = true
+
       ["book of the Moon"] = true
 
     },
 
     },
     description = "Conjures up a large cloud of lethally cold vapour.",
+
     description = "Hurls a lethally sharp shard of crystal.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       dir_or_target = true,
       CLOUD = true,
+
       needs_tracer = true
      NEEDS_TRACER = true,
 
      TARGET = true
 
 
     },
 
     },
     level = 6,
+
     level = 8,
     name = "Freezing Cloud",
+
     name = "Lehudib's Crystal Spear",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 8,
       effect = 2
+
       effect = 8
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
 
     range = {
 
     range = {
       max = 5,
+
       max = 3,
       min = 5
+
       min = 3
 
     },
 
     },
    rarity = 6,
 
 
     schools = {
 
     schools = {
      Air = true,
 
 
       Conjuration = true,
 
       Conjuration = true,
       Ice = true
+
       Earth = true
 
     }
 
     }
 
   },
 
   },
   ["Fulminant Prism"] = {
+
   ["Lesser Beckoning"] = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true,
+
       ["book of Displacement"] = true,
       ["book of Power"] = true
+
       ["book of Spatial Translocations"] = 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 = "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,
       TARGET = true
+
       not_self = true
 
     },
 
     },
     level = 4,
+
     level = 2,
     name = "Fulminant Prism",
+
     name = "Lesser Beckoning",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 2,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 50,
 
     range = {
 
     range = {
       max = 4,
+
       max = 5,
       min = 4
+
       min = 3
 
     },
 
     },
    rarity = 3,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Translocation = true
      Hexes = true
 
 
     }
 
     }
 
   },
 
   },
   ["Gell's Gravitas"] = {
+
   ["Magic Dart"] = {
 
     books = {
 
     books = {
       ["book of Spatial Translocations"] = true,
+
       ["book of Conjurations"] = true,
       ["book of the Warp"] = true
+
       ["book of Minor Magic"] = 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 = "Fires a small bolt of magical energy which never misses.",
 
     flags = {
 
     flags = {
       NEEDS_TRACER = true,
+
       dir_or_target = true,
       NOT_SELF = true,
+
       needs_tracer = true
      TARGET = true
 
 
     },
 
     },
     level = 3,
+
     level = 1,
     name = "Gell's Gravitas",
+
     name = "Magic Dart",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 1,
       effect = 0
+
       effect = 1
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 25,
 
     range = {
 
     range = {
 
       max = 7,
 
       max = 7,
 
       min = 7
 
       min = 7
 
     },
 
     },
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Translocation = true
+
       Conjuration = true
 
     }
 
     }
 
   },
 
   },
   Glaciate = {
+
   ["Malign Gateway"] = {
 
     books = {
 
     books = {
       ["book of Annihilations"] = true
+
       ["Grand Grimoire"] = true
 
     },
 
     },
     description = "Conjures forth a mighty blast of ice. Creatures within its cone-shaped area of effect take damage, with higher damage being dealt to those close to the caster. Those hit by the blast are encased in ice, slowing their movement, and those killed by the blast may be frozen into solid blocks of ice. A significant portion of its damage bypasses cold resistance.",
+
     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 = {
       AREA = true,
+
       chaotic = true,
       DIR_OR_TARGET = true,
+
       unholy = true
      NOT_SELF = true
 
 
     },
 
     },
     level = 9,
+
     level = 7,
     name = "Glaciate",
+
     name = "Malign Gateway",
 
     noise = {
 
     noise = {
       casting = 9,
+
       casting = 6,
       effect = 25
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    range = {
 
      max = 6,
 
      min = 6
 
    },
 
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Summoning = true,
       Ice = true
+
       Translocation = true
 
     }
 
     }
 
   },
 
   },
   Haunt = {
+
   ["Manifold Assault"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["book of the Warp"] = true,
 +
      ["book of Battle"] = 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 = "Warps space into paradoxical configurations in order to strike many visible targets with one melee attack. At high power, it can be used to strike more enemies at once. Very high power is required to launch multiple unarmed strikes in this fashion, since greater 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 attack. It's imprecise, so it can't do extra damage against unsuspecting foes.",
 
     flags = {
 
     flags = {
       MONS_ABJURE = true,
+
       no_ghost = true
      NOT_SELF = true,
 
      TARGET = true
 
 
     },
 
     },
 
     level = 7,
 
     level = 7,
     name = "Haunt",
+
     name = "Manifold Assault",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 5,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Necromancy = true,
+
       Translocation = true
      Summoning = true
 
 
     }
 
     }
 
   },
 
   },
   ["Hydra Form"] = {
+
   ["Maxwell's Capacitive Coupling"] = {
 
     books = {
 
     books = {
       ["book of Transfigurations"] = true,
+
       ["book of Spectacle"] = true,
       ["Fen Folio"] = true
+
       ["Maxwell's Memoranda"] = 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.\n\nThe form's number of heads is fixed upon casting the spell, and increases with power.",
+
     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.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       no_ghost = true
      HELPFUL = true,
 
      UTILITY = true
 
 
     },
 
     },
     level = 6,
+
     level = 8,
     name = "Hydra Form",
+
     name = "Maxwell's Capacitive Coupling",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 7,
       effect = 0
+
       effect = 25
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 8,
+
     range = {
 +
      max = 7,
 +
      min = 7
 +
    },
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Air = true
 
     }
 
     }
 
   },
 
   },
   ["Ice Form"] = {
+
   ["Mephitic Cloud"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true,
+
       ["book of Vapours"] = true,
       ["book of Ice"] = true
+
       ["book of the Senses"] = true
 
     },
 
     },
     description = "Transforms the caster into a frozen ice-creature, light enough to float on water. The caster becomes incredibly resistant to cold, and resistant to poison, but vulnerable to fire and unable to evoke wands.",
+
     description = "Conjures up a short-lived cloud of noxious fumes, which may cause confusion in any creature not resistant to poison. Tougher, more experienced creatures are less likely to be affected.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       area = true,
       HELPFUL = true,
+
       cloud = true,
       UTILITY = true
+
       dir_or_target = true,
 +
      needs_tracer = true
 
     },
 
     },
     level = 4,
+
     level = 3,
     name = "Ice Form",
+
     name = "Mephitic Cloud",
 
     noise = {
 
     noise = {
 
       casting = 3,
 
       casting = 3,
       effect = 0
+
       effect = 15
 
     },
 
     },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
     rarity = 2,
+
     quote = "“Seit mehreren Jahren schon hatte die indische Cholera eine verstärkte\n Neigung zur Ausbreitung und Wanderung an den Tag gelegt. Erzeugt aus\n den warmen Moraesten des Ganges-Deltas, aufgestiegen mit dem\n mephitischen Odem jener üppig-untauglichen, von Menschen gemiedenen\n Urwelt- und Inselwildnis, in deren Bambusdickichten der Tiger kauert,\n hatte die Seuche in ganz Hindustan andauernd und ungewöhnlich heftig\n gewütet, hatte östlich nach China, westlich nach Afghanistan und\n Persien übergegriffen und, den Hauptstraßen des Karawanenverkehrs\n folgend, ihre Schrecken bis Astrachan, ja selbst bis Moskau getragen.”\n    -Thomas Mann, _Der Tod in Venedig_, 1911.",
 +
    range = {
 +
      max = 4,
 +
      min = 4
 +
    },
 
     schools = {
 
     schools = {
       Ice = true,
+
       Air = true,
       Transmutation = true
+
       Conjuration = true,
 +
      Alchemy = true
 
     }
 
     }
 
   },
 
   },
   ["Ignite Poison"] = {
+
   ["Metabolic Englaciation"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Sloth"] = true,
       ["book of Fire"] = true
+
       ["book of Winter"] = 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 = "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 = {
       AREA = true
+
       area = true
 
     },
 
     },
     level = 3,
+
     level = 5,
     name = "Ignite Poison",
+
     name = "Metabolic Englaciation",
 
     noise = {
 
     noise = {
 
       casting = 4,
 
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 200,
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Fire = true,
+
       Hexes = true,
       Poison = true,
+
       Ice = true
      Transmutation = true
 
 
     }
 
     }
 
   },
 
   },
["Ignition"] = {
+
  ["Monstrous Menagerie"] = {
 
     books = {
 
     books = {
       ["book of the Tempests"] = true,
+
       ["book of Beasts"] = true
      ["book of Fire"] = 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 = "Summons a powerful exotic creature to the caster's aid: a manticore, a lindwurm, or, at high power, even a sphinx. Casting the spell at higher power also increases the strength of the beasts themselves.",
 
     flags = {
 
     flags = {
       AREA = true
+
       mons_abjure = true
 
     },
 
     },
     level = 8,
+
     level = 7,
     name = "Ignition",
+
     name = "Monstrous Menagerie",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 5,
       effect = 15
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Fire = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   Infestation = {
+
   ["Olgreb's Toxic Radiance"] = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["the Unrestrained Analects"] = true,
 +
      ["Young Poisoner's Handbook"] = 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 = "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 = {
       TARGET = true,
+
       area = true
      UNCLEAN = true
 
 
     },
 
     },
     level = 8,
+
     level = 4,
     name = "Infestation",
+
     name = "Olgreb's Toxic Radiance",
 
     noise = {
 
     noise = {
       casting = 8,
+
       casting = 2,
       effect = 4
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
    ["power cap"] = 100,
     range = {
+
    schools = {
 +
      Alchemy = true
 +
    }
 +
  },
 +
  ["Orb of Destruction"] = {
 +
    books = {
 +
      ["book of Dangerous Friends"] = true,
 +
      ["book of the Spheres"] = 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.",
 +
    flags = {
 +
      dir_or_target = true,
 +
      needs_tracer = true,
 +
      not_self = true
 +
    },
 +
    level = 7,
 +
    name = "Orb of Destruction",
 +
    noise = {
 +
      casting = 7,
 +
      effect = 0
 +
    },
 +
     ["power cap"] = 200,
 +
     range = {
 
       max = 7,
 
       max = 7,
 
       min = 7
 
       min = 7
 
     },
 
     },
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Conjuration = true
 
     }
 
     }
 
   },
 
   },
   Infusion = {
+
   ["Ozocubu's Armour"] = {
 
     books = {
 
     books = {
 +
      ["book of Winter"] = true,
 
       ["book of Battle"] = true
 
       ["book of Battle"] = 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 = "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 = {
       UTILITY = true
+
       no_ghost = true
 
     },
 
     },
     level = 1,
+
     level = 3,
     name = "Infusion",
+
     name = "Ozocubu's Armour",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 25,
+
     ["power cap"] = 100,
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Charms = true
+
       Ice = true
 
     }
 
     }
 
   },
 
   },
   ["Inner Flame"] = {
+
   ["Ozocubu's Refrigeration"] = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Ice"] = true,
       ["book of Flames"] = true
+
       ["the Unrestrained Analects"] = true
 
     },
 
     },
     description = "Fills an enemy with an intense fire, to be explosively released upon death. The size of the explosion caused is dependent on the size of the target.",
+
     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 = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true
      MR_CHECK = true,
 
      NEUTRAL = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 3,
+
     level = 7,
     name = "Inner Flame",
+
     name = "Ozocubu's Refrigeration",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 5,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Fire = true,
+
       Ice = true
      Hexes = true
 
 
     }
 
     }
 
   },
 
   },
   Invisibility = {
+
   ["Passage of Golubria"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of the Moon"] = true,
       ["book of Party Tricks"] = true
+
       ["Great Wizards, Vol. VII"] = true
 
     },
 
     },
     description = "Turns a targeted creature invisible. Turning invisible causes magical contamination and may eventually cause glowing, nullifying the invisibility.",
+
     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.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       escape = true,
       EMERGENCY = true,
+
       neutral = true,
       HELPFUL = true,
+
       selfench = true,
       NEEDS_TRACER = true,
+
       target = true
      SELFENCH = true
 
 
     },
 
     },
     level = 6,
+
     level = 4,
     name = "Invisibility",
+
     name = "Passage of Golubria",
 
     noise = {
 
     noise = {
       casting = 0,
+
       casting = 3,
       effect = 2
+
       effect = 8
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
 
     range = {
 
     range = {
 
       max = 7,
 
       max = 7,
       min = 7
+
       min = 2
 
     },
 
     },
    rarity = 7,
 
 
     schools = {
 
     schools = {
       Hexes = true
+
       Translocation = true
 
     }
 
     }
 
   },
 
   },
   ["Iron Shot"] = {
+
   Passwall = {
 
     books = {
 
     books = {
       ["book of Power"] = true,
+
       ["book of Burglary"] = true,
       ["book of the Earth"] = true
+
       ["book of Geomancy"] = true
 
     },
 
     },
     description = "Hurls a large and heavy metal shot.",
+
     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.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       escape = true,
       NEEDS_TRACER = true
+
       not_self = true,
 +
      target = true,
 +
      utility = true
 
     },
 
     },
     level = 6,
+
     level = 3,
     name = "Iron Shot",
+
     name = "Passwall",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 0,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 120,
 +
    quote = "“He says the best way out is always through.”\n    -Robert Frost, _A Servant to Servants_. 1915.",
 
     range = {
 
     range = {
       max = 4,
+
       max = 3,
       min = 4
+
       min = 3
 
     },
 
     },
    rarity = 6,
 
 
     schools = {
 
     schools = {
      Conjuration = true,
 
 
       Earth = true
 
       Earth = true
 
     }
 
     }
 
   },
 
   },
   Irradiate = {
+
   Petrify = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Transmutation"] = true,
       ["book of Transfigurations"] = true
+
       ["book of Sloth"] = true
 
     },
 
     },
     description = "Transmutes an ultra-thin layer of the caster's skin (or equivalent) directly into pure magical energy, blasting and deforming adjacent creatures. The caster is not left entirely unaffected; some of the magic lingers, enough to leave them dangerously contaminated after a few castings.",
+
     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.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       dir_or_target = true,
       CHAOTIC = true
+
       needs_tracer = true,
 +
      WL_check = true
 
     },
 
     },
     level = 5,
+
     level = 4,
     name = "Irradiate",
+
     name = "Petrify",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
    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 = {
 
     range = {
       max = 1,
+
       max = 6,
       min = 1
+
       min = 6
 
     },
 
     },
    rarity = 8,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Alchemy = true,
       Transmutation = true
+
       Earth = true
 
     }
 
     }
 
   },
 
   },
   ["Iskenderun's Battlesphere"] = {
+
   ["Polar Vortex"] = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true
+
       ["book of Ice"] = 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 = "Turns the air around the caster into a freezing vortex, doing tremendous damage to everyone caught in it that can only partially be 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 = {
       UTILITY = true
+
       area = true
 
     },
 
     },
     level = 5,
+
     level = 9,
     name = "Iskenderun's Battlesphere",
+
     name = "Polar Vortex",
 
     noise = {
 
     noise = {
 
       casting = 5,
 
       casting = 5,
       effect = 0
+
       effect = 15
 +
    },
 +
    ["power cap"] = 200,
 +
    range = {
 +
      max = 5,
 +
      min = 5
 
     },
 
     },
    ["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,
+
       Ice = true
      Conjuration = true
 
 
     }
 
     }
 
   },
 
   },
   ["Iskenderun's Mystic Blast"] = {
+
   Sandblast = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true,
+
       ["book of Geomancy"] = true
      ["book of Power"] = true
 
 
     },
 
     },
     description = "Throws a crackling sphere of destructive energy. The sphere will sometimes explode on impact, and the chance of it doing so is higher if the sphere has traveled less distance.",
+
     description = "Blasts a target with high-velocity rock shards. Gathering the rock from ambient grit is slow, making this spell take half again as long to cast as most. Its damage is strongly reduced by armour.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       dir_or_target = true,
       NEEDS_TRACER = true
+
       needs_tracer = true,
 +
      not_self = true
 
     },
 
     },
     level = 4,
+
     level = 1,
     name = "Iskenderun's Mystic Blast",
+
     name = "Sandblast",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 1,
       effect = 10
+
       effect = 2
 
     },
 
     },
 
     ["power cap"] = 50,
 
     ["power cap"] = 50,
 
     range = {
 
     range = {
       max = 6,
+
       max = 4,
       min = 6
+
       min = 4
 
     },
 
     },
    rarity = 3,
 
 
     schools = {
 
     schools = {
       Conjuration = true
+
       Earth = true
 
     }
 
     }
 
   },
 
   },
   ["Leda's Liquefaction"] = {
+
   Scorch = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Scorching"] = true
      ["book of the Earth"] = true,
 
      ["Fen Folio"] = true
 
 
     },
 
     },
     description = "Liquefies the ground around the caster, making it difficult to move through. Any movement through liquefied ground will be slowed, and attempts to attack 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.",
+
     description = "Scorches a random foe. Those injured by this have their resistance to fire burned away for a short time.",
 
     flags = {
 
     flags = {
       AREA = true
+
       no_ghost = true
 
     },
 
     },
     level = 4,
+
     level = 2,
     name = "Leda's Liquefaction",
+
     name = "Scorch",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 4,
       effect = 0
+
      effect = 8
 +
    },
 +
    ["power cap"] = 50,
 +
    range = {
 +
      max = 3,
 +
       min = 3
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Earth = true,
+
       Fire = true
      Hexes = true
 
 
     }
 
     }
 
   },
 
   },
   ["Lee's Rapid Deconstruction"] = {
+
   ["Searing Ray"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of Conjurations"] = true
      ["book of Geomancy"] = 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 or medium-sized explosion. Metal targets will cause a small but particularly damaging explosion, and targets made from crystal will cause a large and extremely damaging explosion.\n\nAt high power, this spell is capable of destroying some walls: rock, stone or metal walls have a chance of being destroyed with at least 5, 6 or 7 bars of power. Crystal walls are particularly brittle and have a chance of being destroyed at any power level.",
+
     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 = {
       TARGET = true
+
       dir_or_target = true,
 +
      needs_tracer = true
 
     },
 
     },
     level = 5,
+
     level = 2,
     name = "Lee's Rapid Deconstruction",
+
     name = "Searing Ray",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 2,
       effect = 20
+
       effect = 2
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 50,
    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 = {
 
     range = {
       max = 7,
+
       max = 4,
       min = 7
+
       min = 4
 
     },
 
     },
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Earth = true
+
       Conjuration = true
 
     }
 
     }
 
   },
 
   },
   ["Lehudib's Crystal Spear"] = {
+
   Shatter = {
 
     books = {
 
     books = {
 
       ["book of Annihilations"] = true
 
       ["book of Annihilations"] = true
 
     },
 
     },
     description = "Hurls a lethally sharp shard of crystal.",
+
     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
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 8,
+
     level = 9,
     name = "Lehudib's Crystal Spear",
+
     name = "Shatter",
 
     noise = {
 
     noise = {
       casting = 8,
+
       casting = 7,
       effect = 2
+
       effect = 30
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
     range = {
+
     quote = "“So the people shouted when the priests blew with the trumpets: and it came to\n pass, when the people heard the sound of the trumpet, and the people shouted\n with a great shout, that the wall fell down flat, so that the people went up\n into the city, every man straight before him, and they took the city.\n\n And they utterly destroyed all that was in the city, both man and woman, young\n and old, and ox, and sheep, and ass, with the edge of the sword.”\n    -KJV Bible, Joshua 6:20-21.",
      max = 3,
 
      min = 3
 
    },
 
    rarity = -1,
 
 
     schools = {
 
     schools = {
      Conjuration = true,
 
 
       Earth = true
 
       Earth = true
 
     }
 
     }
 
   },
 
   },
   ["Lesser Beckoning"] = {
+
   Shock = {
 
     books = {
 
     books = {
       ["book of Party Tricks"] = true,
+
       ["book of Air"] = true
      ["book of Spatial Translocations"] = true
 
 
     },
 
     },
     description = "Beckons the target forward, attempting to place them adjacent to the caster.",
+
     description = "Throws a bouncing bolt of electricity. It partially bypasses armour.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       dir_or_target = true,
       NEEDS_TRACER = true,
+
       needs_tracer = true
      NOT_SELF = true
 
 
     },
 
     },
     level = 3,
+
     level = 1,
     name = "Lesser Beckoning",
+
     name = "Shock",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 1,
       effect = 2
+
       effect = 1
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 25,
 
     range = {
 
     range = {
 
       max = 7,
 
       max = 7,
       min = 2
+
       min = 7
 
     },
 
     },
    rarity = 7,
 
 
     schools = {
 
     schools = {
       Translocation = true
+
       Air = true,
 +
      Conjuration = true
 
     }
 
     }
 
   },
 
   },
   ["Lightning Bolt"] = {
+
   Silence = {
 
     books = {
 
     books = {
       ["book of Air"] = true,
+
       ["book of the Moon"] = true,
       ["book of the Tempests"] = true
+
       ["book of the Senses"] = 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 = "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.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       area = true
      NEEDS_TRACER = true
 
 
     },
 
     },
 
     level = 5,
 
     level = 5,
     name = "Lightning Bolt",
+
     name = "Silence",
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 4,
       effect = 25
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    range = {
 
      max = 7,
 
      min = 4
 
    },
 
    rarity = 4,
 
 
     schools = {
 
     schools = {
 
       Air = true,
 
       Air = true,
       Conjuration = true
+
       Hexes = true
 
     }
 
     }
 
   },
 
   },
   ["Magic Dart"] = {
+
   Slow = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true,
+
       ["book of Debilitation"] = true
      ["book of Minor Magic"] = true
 
 
     },
 
     },
     description = "Fires a small bolt of magical energy which never misses.",
+
     description = "Slows the actions of a creature.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       dir_or_target = true,
       NEEDS_TRACER = true
+
       needs_tracer = true,
 +
      WL_check = true
 
     },
 
     },
 
     level = 1,
 
     level = 1,
     name = "Magic Dart",
+
     name = "Slow",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 2,
       effect = 2
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 25,
 
     ["power cap"] = 25,
Line 1,718: Line 1,625:
 
       min = 7
 
       min = 7
 
     },
 
     },
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Conjuration = true
+
       Hexes = true
 
     }
 
     }
 
   },
 
   },
   ["Malign Gateway"] = {
+
   ["Spellforged Servitor"] = {
 
     books = {
 
     books = {
       ["Grand Grimoire"] = true
+
       ["book of Dangerous Friends"] = true,
    },
+
      ["book of Power"] = 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.",
 
    flags = {
 
      CHAOTIC = true,
 
      UNHOLY = 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. The strength of the servitor increases with spell power.",
 +
    flags = {},
 
     level = 7,
 
     level = 7,
     name = "Malign Gateway",
+
     name = "Spellforged Servitor",
 
     noise = {
 
     noise = {
 
       casting = 6,
 
       casting = 6,
Line 1,739: Line 1,643:
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 100,
+
     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”",
 
     schools = {
 
     schools = {
       Summoning = true,
+
       Conjuration = true,
       Translocation = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   ["Mephitic Cloud"] = {
+
   Starburst = {
 
     books = {
 
     books = {
       ["book of Clouds"] = true,
+
       ["book of Fire"] = true,
       ["book of Minor Magic"] = true,
+
       ["book of Spectacle"] = true
      ["Young Poisoner's Handbook"] = true
 
 
     },
 
     },
     description = "Conjures up a short-lived cloud of noxious fumes, which may cause confusion.",
+
     description = "Releases penetrating bolts of fire from the caster in every direction.",
 
     flags = {
 
     flags = {
       AREA = true,
+
       area = true
      CLOUD = true,
 
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 3,
+
     level = 6,
     name = "Mephitic Cloud",
+
     name = "Starburst",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 6,
       effect = 15
+
       effect = 6
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
 
     range = {
 
     range = {
       max = 4,
+
       max = 5,
       min = 4
+
       min = 5
 
     },
 
     },
    rarity = 1,
 
 
     schools = {
 
     schools = {
      Air = true,
 
 
       Conjuration = true,
 
       Conjuration = true,
       Poison = true
+
       Fire = true
 
     }
 
     }
 
   },
 
   },
   ["Metabolic Englaciation"] = {
+
   ["Static Discharge"] = {
 
     books = {
 
     books = {
       ["book of Ice"] = true,
+
       ["book of Storms"] = true
      ["book of Misfortune"] = 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 = "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.",
 
     flags = {
 
     flags = {
       AREA = true
+
       area = true
 
     },
 
     },
     level = 5,
+
     level = 2,
     name = "Metabolic Englaciation",
+
     name = "Static Discharge",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
     rarity = 1,
+
     range = {
 +
      max = 1,
 +
      min = 1
 +
    },
 
     schools = {
 
     schools = {
       Hexes = true,
+
       Air = true,
       Ice = true
+
       Conjuration = true
 
     }
 
     }
 
   },
 
   },
   ["Monstrous Menagerie"] = {
+
   ["Sticky Flame"] = {
 
     books = {
 
     books = {
       ["Grand Grimoire"] = true
+
       ["book of Flames"] = true,
 +
      ["Everburning Encyclopedia"] = 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 = "Unleashes a short-ranged spray of incindiary 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.",
 
     flags = {
 
     flags = {
       MONS_ABJURE = true
+
       dir_or_target = true,
 +
      needs_tracer = true
 
     },
 
     },
     level = 7,
+
     level = 4,
     name = "Monstrous Menagerie",
+
     name = "Sticky Flame",
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 4,
       effect = 0
+
       effect = 1
 +
    },
 +
    ["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\n for the rest of his life.”\n    -Terry Pratchett, “Jingo”. 1997.",
 +
    range = {
 +
      max = 1,
 +
      min = 1
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Alchemy = true,
     },
+
      Fire = true
    ["summons limit"] = 3
+
     }
 
   },
 
   },
   Necromutation = {
+
   Sting = {
 
     books = {
 
     books = {
       Necronomicon = true
+
       ["Young Poisoner's Handbook"] = true,
 +
      ["book of Cantrips"] = 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 also gains some of the more dubious benefits of having an undead body, such as a vulnerability to holy weapons and an inability to consume potions.",
+
     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.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       dir_or_target = true,
       HELPFUL = true
+
       needs_tracer = true
 
     },
 
     },
     level = 8,
+
     level = 1,
     name = "Necromutation",
+
     name = "Sting",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 1,
       effect = 0
+
       effect = 1
 +
    },
 +
    ["power cap"] = 25,
 +
    range = {
 +
      max = 3,
 +
      min = 3
 
     },
 
     },
    ["power cap"] = 200,
 
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Necromancy = true,
+
       Alchemy = true,
       Transmutation = true
+
       Conjuration = true
 
     }
 
     }
 
   },
 
   },
   ["Olgreb's Toxic Radiance"] = {
+
   ["Stone Arrow"] = {
 
     books = {
 
     books = {
       ["Young Poisoner's Handbook"] = true
+
       ["book of Armaments"] = true,
 +
      ["book of Geomancy"] = true
 
     },
 
     },
     description = "Causes the caster to radiate toxic energy, continuously inflicting poison on everything nearby for as long as the spell lasts.",
+
     description = "Fires a sharp spine of rock.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
 +
      needs_tracer = true
 
     },
 
     },
     level = 4,
+
     level = 3,
     name = "Olgreb's Toxic Radiance",
+
     name = "Stone Arrow",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 3,
       effect = 0
+
       effect = 3
 +
    },
 +
    ["power cap"] = 50,
 +
    range = {
 +
      max = 4,
 +
      min = 4
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Poison = true
+
       Conjuration = true,
 +
      Earth = true
 
     }
 
     }
 
   },
 
   },
   ["Orb of Destruction"] = {
+
   ["Sublimation of Blood"] = {
 
     books = {
 
     books = {
       ["book of Power"] = true
+
       ["book of Transmutation"] = true,
 +
      ["book of Blood"] = 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 = "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 = {
       DIR_OR_TARGET = true,
+
       utility = true
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 7,
+
     level = 2,
     name = "Orb of Destruction",
+
     name = "Sublimation of Blood",
 
     noise = {
 
     noise = {
       casting = 7,
+
       casting = 2,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 6,
 
 
     schools = {
 
     schools = {
       Conjuration = true
+
       Necromancy = true
 
     }
 
     }
 
   },
 
   },
   ["Ozocubu's Armour"] = {
+
   ["Summon Cactus Giant"] = {
 
     books = {
 
     books = {
       ["book of Frost"] = true
+
       ["book of Scorching"] = true,
 +
      ["book of the Wilderness"] = true
 
     },
 
     },
     description = "Envelops the caster's body in a protective layer of thick ice. This will slow the caster's movement slightly, and provides no special protection against cold. The spell will not function for casters already wearing heavy armour (any body armour with an encumbrance rating of 5 or more).",
+
     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 = {},
      NO_GHOST = true
+
     level = 6,
    },
+
     name = "Summon Cactus Giant",
     level = 3,
+
     noise = {
     name = "Ozocubu's Armour",
+
       casting = 4,
     noise = {
 
       casting = 3,
 
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 200,
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Charms = true,
+
       Summoning = true
      Ice = true
 
 
     }
 
     }
 
   },
 
   },
   ["Ozocubu's Refrigeration"] = {
+
   ["Summon Forest"] = {
 
     books = {
 
     books = {
       ["book of Ice"] = true
+
       ["book of the Wilderness"] = true,
 +
      ["Fen Folio"] = true
 
     },
 
     },
     description = "Drains heat from the caster and their surroundings, causing harm to all creatures not resistant to cold and preventing the caster from using potions for a brief duration.",
+
     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 = {},
      AREA = true
+
     level = 5,
    },
+
     name = "Summon Forest",
     level = 6,
 
     name = "Ozocubu's Refrigeration",
 
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 4,
       effect = 0
+
       effect = 10
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Ice = true
+
       Summoning = true,
 +
      Translocation = true
 
     }
 
     }
 
   },
 
   },
   Pain = {
+
   ["Summon Horrible Things"] = {
 
     books = {
 
     books = {
       ["book of Necromancy"] = true
+
       ["Grand Grimoire"] = true
 
     },
 
     },
     description = "Inflicts an extremely painful injury upon one living creature. The caster suffers minor damage from the backlash.",
+
     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. The number of abominations summoned increases with spell power.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       chaotic = true,
       MR_CHECK = true,
+
       mons_abjure = true,
       NEEDS_TRACER = true
+
       unholy = true
 
     },
 
     },
     level = 1,
+
     level = 8,
     name = "Pain",
+
     name = "Summon Horrible Things",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 6,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 25,
+
     ["power cap"] = 200,
    range = {
 
      max = 5,
 
      min = 5
 
    },
 
    rarity = 3,
 
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   ["Passage of Golubria"] = {
+
   ["Summon Hydra"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of Blood"] = true,
       ["book of Spatial Translocations"] = true
+
       ["Fen Folio"] = 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 = "Summons a many-headed hydra to fight alongside the caster for a short time. Spell power determines the number of heads.",
 
     flags = {
 
     flags = {
       ESCAPE = true,
+
       mons_abjure = true
      NEUTRAL = true,
 
      SELFENCH = true,
 
      TARGET = true
 
 
     },
 
     },
     level = 4,
+
     level = 7,
     name = "Passage of Golubria",
+
     name = "Summon Hydra",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 6,
       effect = 8
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 0,
+
     ["power cap"] = 200,
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Translocation = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   Passwall = {
+
   ["Summon Ice Beast"] = {
 
     books = {
 
     books = {
       ["book of Burglary"] = true,
+
       ["book of Beasts"] = 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 = "Calls forth a beast of ice to serve the caster. The strength of the beast depends on spell power.",
     flags = {
+
     flags = {},
      DIR = true,
+
     level = 3,
      ESCAPE = true,
+
     name = "Summon Ice Beast",
      NOT_SELF = true,
 
      UTILITY = true
 
    },
 
     level = 2,
 
     name = "Passwall",
 
 
     noise = {
 
     noise = {
       casting = 0,
+
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
    quote = "“He says the best way out is always through.”\n    -Robert Frost, _A Servant to Servants_. 1915.",
 
    range = {
 
      max = 7,
 
      min = 1
 
    },
 
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Earth = true,
+
       Ice = true,
       Transmutation = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   Petrify = {
+
   ["Summon Lightning Spire"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Storms"] = true,
       ["book of Geomancy"] = true,
+
       ["book of Iron"] = 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.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      MR_CHECK = true,
 
      NEEDS_TRACER = 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. The strength of the spire depends on spell power.",
 +
    flags = {},
 
     level = 4,
 
     level = 4,
     name = "Petrify",
+
     name = "Summon Lightning Spire",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 2,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Earth = true,
+
       Air = true,
       Transmutation = true
+
       Summoning = true
 
     }
 
     }
 
   },
 
   },
   ["Poison Arrow"] = {
+
   ["Summon Mana Viper"] = {
 
     books = {
 
     books = {
       ["book of Annihilations"] = true
+
       ["book of Beasts"] = true,
 +
      ["book of the Wilderness"] = true
 
     },
 
     },
     description = "Fires a magical arrow coated with the most vile and noxious toxin. Even those resistant to poison will be poisoned by it, and a small portion of its direct damage bypasses poison resistance.",
+
     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 = {
       DIR_OR_TARGET = true,
+
       mons_abjure = true
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 6,
+
     level = 5,
     name = "Poison Arrow",
+
     name = "Summon Mana Viper",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 4,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
     range = {
+
     schools = {
       max = 6,
+
       Hexes = true,
       min = 6
+
       Summoning = 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
 
     },
 
     },
     rarity = -1,
+
     ["power cap"] = 25,
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Summoning = true
      Poison = true
 
 
     }
 
     }
 
   },
 
   },
   ["Poisonous Vapours"] = {
+
   Swiftness = {
 
     books = {
 
     books = {
       ["Young Poisoner's Handbook"] = true,
+
       ["book of Air"] = true,
       ["book of Clouds"] = true
+
       ["book of Burglary"] = 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 = "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 = {
       NOT_SELF = true,
+
       hasty = true,
       TARGET = true
+
       selfench = true,
 +
      utility = true
 
     },
 
     },
     level = 2,
+
     level = 3,
     name = "Poisonous Vapours",
+
     name = "Swiftness",
 
     noise = {
 
     noise = {
 
       casting = 2,
 
       casting = 2,
       effect = 4
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
     range = {
+
     quote = "“JUST WALK OUT\n you can leave!!!\n  work\n  social thing\n  movies\n  home\n  class\n  dentist\n  clothes shoppi\n  too fancy weed store\n  cops if your quick\n  friend ships\n IF IT SUCKS... HIT DA BRICKS!!\n real winners quit” [sic]\n  -Admin, @dasharez0ne Twitter. March 30, 2018",
      max = 7,
+
     schools = {
      min = 7
+
       Air = true
    },
 
    rarity = 6,
 
     schools = {
 
       Air = true,
 
      Poison = true
 
 
     }
 
     }
 
   },
 
   },
   ["Portal Projectile"] = {
+
   ["Teleport Other"] = {
 
     books = {
 
     books = {
       ["book of Debilitation"] = true,
+
       ["book of Displacement"] = true,
       ["book of the Warp"] = true
+
       ["There-And-Back Book"] = true
 +
    },
 +
    description = "Randomly translocates a targeted creature.",
 +
    flags = {
 +
      dir_or_target = true,
 +
      escape = true,
 +
      needs_tracer = true,
 +
      not_self = true,
 +
      WL_check = 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.",
 
    flags = {},
 
 
     level = 3,
 
     level = 3,
     name = "Portal Projectile",
+
     name = "Teleport Other",
 
     noise = {
 
     noise = {
 
       casting = 3,
 
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
     rarity = 10,
+
     range = {
 +
      max = 7,
 +
      min = 7
 +
    },
 
     schools = {
 
     schools = {
       Translocation = true,
+
       Translocation = true
      Hexes = true
 
 
     }
 
     }
 
   },
 
   },
   Recall = {
+
   ["Tukima's Dance"] = {
 
     books = {
 
     books = {
       ["book of Summonings"] = true,
+
       ["book of Weapons"] = true,
       ["book of Unlife"] = true
+
       ["Great Wizards, Vol. VII"] = true
 
     },
 
     },
     description = "Recalls any friendly creatures on the same level to a position adjacent to the caster, over a short duration.",
+
     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\nCertain powerful named artefacts cannot be animated, and any properties that require skill in evocations will not be active.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       dir_or_target = true,
 +
      needs_tracer = true,
 +
      not_self = true,
 +
      WL_check = true
 
     },
 
     },
 
     level = 3,
 
     level = 3,
     name = "Recall",
+
     name = "Tukima's Dance",
 
     noise = {
 
     noise = {
 
       casting = 3,
 
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 0,
+
     ["power cap"] = 100,
     rarity = 10,
+
     range = {
 +
      max = 7,
 +
      min = 7
 +
    },
 
     schools = {
 
     schools = {
       Summoning = true,
+
       Hexes = true
      Translocation = true
 
 
     }
 
     }
 
   },
 
   },
   Regeneration = {
+
   ["Vampiric Draining"] = {
 
     books = {
 
     books = {
       ["book of Battle"] = true,
+
       ["book of Debilitation"] = true,
 
       ["book of Necromancy"] = true
 
       ["book of Necromancy"] = true
 
     },
 
     },
     description = "Reanimates parts of the caster's wounds. This unnatural act dramatically but temporarily increases the caster's health regeneration, while also speeding their metabolism.",
+
     description = "Steals the life of an adjacent living creature and grants it to the caster.",
 
     flags = {
 
     flags = {
       SELFENCH = true,
+
       dir_or_target = true,
       UTILITY = true
+
       not_self = true
 
     },
 
     },
 
     level = 3,
 
     level = 3,
     name = "Regeneration",
+
     name = "Vampiric Draining",
 
     noise = {
 
     noise = {
 
       casting = 3,
 
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
     rarity = 3,
+
     range = {
 +
      max = 1,
 +
      min = 1
 +
    },
 
     schools = {
 
     schools = {
      Charms = true,
 
 
       Necromancy = true
 
       Necromancy = true
 
     }
 
     }
 
   },
 
   },
   ["Ring of Flames"] = {
+
   ["Yara's Violent Unravelling"] = {
 
     books = {
 
     books = {
       ["book of Clouds"] = true,
+
       ["book of Misfortune"] = true,
       ["book of Fire"] = true
+
       ["Great Wizards, Vol. VII"] = 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 = "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 = {
       AREA = true
+
       chaotic = true,
 +
      no_ghost = true,
 +
      target = true
 
     },
 
     },
     level = 7,
+
     level = 5,
     name = "Ring of Flames",
+
     name = "Yara's Violent Unravelling",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 5,
       effect = 0
+
       effect = 15
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
     rarity = 6,
+
     range = {
 +
      max = 7,
 +
      min = 7
 +
    },
 
     schools = {
 
     schools = {
       Charms = true,
+
       Hexes = true,
       Fire = true
+
       Alchemy = true
 
     }
 
     }
 
   },
 
   },
   Sandblast = {
+
   ["Plasma Beam"] = {
 
     books = {
 
     books = {
       ["book of Geomancy"] = true
+
       ["book of Fire"] = true,
 +
      ["book of Lightning"] = true
 
     },
 
     },
     description = "Creates a short blast of high-velocity particles. It has increased power and range when the caster provides some source (by wielding a stone), but will still have some effect with no source wielded. Its damage is strongly reduced by armour.",
+
     description = "Fires a penetrating beam of plasma at one of the caster's most distant foes. The ionized beam bypasses half of defenders' armour, and a second beam of fire follows in its wake.",
 
     flags = {
 
     flags = {
       DIR_OR_TARGET = true,
+
       needs_tracer = true
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
 
     },
 
     },
     level = 1,
+
     level = 6,
     name = "Sandblast",
+
     name = "Plasma Beam",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 6,
       effect = 0
+
       effect = 20
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
 
     range = {
 
     range = {
       max = 2,
+
       max = 7,
       min = 2
+
       min = 7
 
     },
 
     },
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Earth = true
+
       Fire = true,
 +
      Air = true
 
     }
 
     }
 
   },
 
   },
   ["Searing Ray"] = {
+
   ["Volatile Blastmotes"] = {
 
     books = {
 
     books = {
       ["book of Conjurations"] = true
+
       ["book of Blasting"] = true,
 +
      ["book of Spectacle"] = true
 
     },
 
     },
     description = "Fires a continuous ray of arcane energy from the caster's hands. Though initially mild, 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 grow in strength until it becomes a surging beam able to tear clean through the ranks of the caster's foes.",
+
     description = "Brings forth a cloud of volatile blastmotes around the caster, which explode when something moves into them or when they're exposed to open flames. The explosion is concussive, knocking adjacent creatures away. Damage done rises with the spell's power.",
 
     flags = {
 
     flags = {
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 2,
+
     level = 3,
     name = "Searing Ray",
+
     name = "Volatile Blastmotes",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 3,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
     range = {
+
     schools = {
       max = 4,
+
       Fire = true,
       min = 4
+
       Translocation = true,
 
     },
 
     },
    rarity = 3,
 
    schools = {
 
      Conjuration = true
 
    }
 
 
   },
 
   },
   ["Shadow Creatures"] = {
+
   ["Kiss of Death"] = {
 
     books = {
 
     books = {
       ["book of Dreams"] = true,
+
       ["book of Touch"] = true
      ["book of Summonings"] = true
 
 
     },
 
     },
     description = "Creates replicas of creatures native to the caster's current location, weaving them from shadows and threads of Abyssal matter.",
+
     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 = {
       MONS_ABJURE = true
+
       unclean = true,
 +
      dir_or_target = true,
 +
      not_self = true,
 
     },
 
     },
     level = 6,
+
     level = 1,
     name = "Shadow Creatures",
+
     name = "Kiss of Death",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 1,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 0,
+
     ["power cap"] = 25,
     rarity = 11,
+
     range = {
 +
      max = 1,
 +
      min = 0
 +
    },
 
     schools = {
 
     schools = {
       Summoning = true
+
       Conjuration = true,
 +
      Necromancy = true,
 
     },
 
     },
    ["summons limit"] = 4
 
 
   },
 
   },
   Shatter = {
+
   ["Momentum Strike"] = {
 
     books = {
 
     books = {
       ["book of the Earth"] = true,
+
       ["book of Spatial Translocations"] = true,
      ["book of the Tempests"] = true
 
 
     },
 
     },
     description = "Causes an enormous burst of concussive force around the caster. Flying and gelatinous creatures can escape the worst effects, and insubstantial creatures are entirely unaffected, but all others will be gravely injured by the blast. It may also destroy nearby walls.",
+
     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 = {
       AREA = true
+
 
 +
       not_self = true,
 
     },
 
     },
     level = 9,
+
     level = 2,
     name = "Shatter",
+
     name = "Momentum Strike",
 
     noise = {
 
     noise = {
       casting = 7,
+
       casting = 2,
       effect = 30
+
       effect = 0
 +
    },
 +
    ["power cap"] = 50,
 +
    range = {
 +
      max = 4,
 +
      min = 4
 
     },
 
     },
    ["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.",
 
    rarity = 10,
 
 
     schools = {
 
     schools = {
       Earth = true
+
       Conjuration = true,
     }
+
      Translocation = true,
 +
     },
 
   },
 
   },
   Shock = {
+
   ["Arcjolt"] = {
 
     books = {
 
     books = {
       ["book of Air"] = true
+
       ["book of Lightning"] = true,
 +
      ["Maxwell's Memoranda"] = true,
 
     },
 
     },
     description = "Throws a bouncing bolt of electricity. It partially bypasses armour.",
+
     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,
+
       dir_or_target = true,
       NEEDS_TRACER = true
+
       not_self = true,
 
     },
 
     },
     level = 1,
+
     level = 5,
     name = "Shock",
+
     name = "Arcjolt",
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 5,
       effect = 2
+
       effect = 10
 
     },
 
     },
     ["power cap"] = 25,
+
     ["power cap"] = 200,
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 4,
 
 
     schools = {
 
     schools = {
 +
      Conjuration = true,
 
       Air = true,
 
       Air = true,
      Conjuration = true
+
     },
     }
 
 
   },
 
   },
   ["Shroud of Golubria"] = {
+
   ["Vhi's Electric Charge"] = {
 
     books = {
 
     books = {
       ["book of Battle"] = true,
+
       ["book of Lightning"] = true,
       ["book of Spatial Translocations"] = true
+
       ["Maxwell's Memoranda"] = 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 = "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.",
 
     flags = {
 
     flags = {
       SELFENCH = true
+
       not_self = true,
 
     },
 
     },
     level = 2,
+
     level = 4,
     name = "Shroud of Golubria",
+
     name = "Vhi's Electric Charge",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 50,
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Charms = true,
+
       Translocation = true,
       Translocation = true
+
       Air = true,
     }
+
     },
 
   },
 
   },
   Silence = {
+
   ["Jinxbite"] = {
 
     books = {
 
     books = {
       ["book of Dreams"] = true,
+
       ["book of Misfortune"] = true,
       ["book of Enchantments"] = true,
+
       ["book of Party Tricks"] = 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 = "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 = {
       AREA = true
+
       WL_check = true,
 
     },
 
     },
     level = 5,
+
     level = 2,
     name = "Silence",
+
     name = "Jinxbite",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 2,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 50,
     rarity = 7,
+
     range = {
 +
      max = 1,
 +
      min = 1
 +
    },
 
     schools = {
 
     schools = {
       Air = true,
+
       Hexes = true,
      Hexes = true
+
     },
     }
 
 
   },
 
   },
   Simulacrum = {
+
   ["Mercury Vapours"] = {
 
     books = {
 
     books = {
       ["book of Ice"] = true,
+
       ["book of Vapours"] = true,
       ["book of Unlife"] = true
+
       ["Young Poisoner's Handbook"] = true
 +
    },
 +
    description = "Briefly transmutes the air around a target into gaseous mercury, poisoning those who breathe it in. Further, the target and adjacent creatures (living or otherwise) may be weakened by mere exposure to the alchemical substance.",
 +
    flags = {
 +
      not_self = true,
 +
      target = 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.",
+
     level = 2,
    flags = {},
+
     name = "Mercury Vapours",
     level = 6,
 
     name = "Simulacrum",
 
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 2,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 50,
     rarity = 10,
+
     range = {
 +
      max = 3,
 +
      min = 3
 +
    },
 
     schools = {
 
     schools = {
       Ice = true,
+
       Air = true,
       Necromancy = true
+
       Alchemy = true
 
     }
 
     }
 
   },
 
   },
   Slow = {
+
   ["Sigil of Binding"] = {
 
     books = {
 
     books = {
 
       ["book of Debilitation"] = true,
 
       ["book of Debilitation"] = true,
       ["book of Minor Magic"] = true
+
       ["book of the Hunter"] = true,
 
     },
 
     },
     description = "Slows the actions of a creature.",
+
     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 and preventing subsequent binding effects.<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,
+
       WL_check = true,
      MR_CHECK = true,
 
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 2,
+
     level = 3,
     name = "Slow",
+
     name = "Sigil of Binding",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 3,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 100,
 
     range = {
 
     range = {
       max = 7,
+
       max = 2,
       min = 7
+
       min = 2
 
     },
 
     },
    rarity = 1,
 
 
     schools = {
 
     schools = {
       Hexes = true
+
       Hexes = true,
     }
+
     },
 
   },
 
   },
   ["Song of Slaying"] = {
+
   ["Brom's Barrelling Boulder"] = {
 
     books = {
 
     books = {
       ["book of Battle"] = true
+
       ["book of Geomancy"] = true,
 +
      ["book of the Spheres"] = true,
 
     },
 
     },
     description = "Recites ancient verses of battle. Each non-summoned enemy the caster slays in combat during this recitation temporarily enhances their melee and ranged skills. The bonus only lasts for the duration of the song; casting this spell while already singing will start a new song, not extend an existing one.",
+
     description = "Unleashes a massive rolling boulder in a given cardinal direction. The boulder squashes and knocks back creatures it strikes, suffering wear and tear with each hit. If it strikes a wall, it will explode into fragments of rock, doing damage that is strongly reduced by armour.",
 
     flags = {
 
     flags = {
       UTILITY = true
+
       not_self = true,
 
     },
 
     },
     level = 2,
+
     level = 4,
     name = "Song of Slaying",
+
     name = "Brom's Barrelling Boulder",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 5,
       effect = 8
+
       effect = 0
 +
    },
 +
    ["power cap"] = 200,
 +
    range = {
 +
      max = 1,
 +
      min = 1
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Charms = true
+
       Earth = true,
     }
+
      Conjuration = true,
 +
     },
 
   },
 
   },
   ["Spectral Weapon"] = {
+
   ["Dimensional Bullseye"] = {
 
     books = {
 
     books = {
       ["book of Battle"] = true
+
       ["book of Weapons"] = true,
 +
      ["book of the Hunter"] = 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 = "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 = {},
      NO_GHOST = true,
+
     level = 4,
      SELFENCH = true,
+
     name = "Dimensional Bullseye",
      UTILITY = true
 
    },
 
     level = 3,
 
     name = "Spectral Weapon",
 
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 200,
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Charms = true,
+
       Hexes = true,
       Hexes = true
+
       Translocation = true,
     }
+
     },
 
   },
 
   },
   ["Spellforged Servitor"] = {
+
   ["Summon Blazeheart Golem"] = {
 
     books = {
 
     books = {
       ["book of Power"] = true
+
       ["book of Callings"] = true,
 +
      ["book of Dangerous Friends"] = 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 = "Summons a volatile elemental spark encased in a shell of slag iron. It is capable of raining down powerful blows on its summoner's adversaries - so powerful that the golem itself is often damaged by their impact.<br><br> Only tenuously bound to this world, the flames within it will rapidly go dormant whenever its summoner leaves its side. If its shell is ever destroyed while still active, the exposed core will violently detonate a moment later.",
 
     flags = {},
 
     flags = {},
     level = 7,
+
     level = 4,
     name = "Spellforged Servitor",
+
     name = "Summon Blazeheart Golem",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
    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\"",
 
    rarity = 6,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Fire = true,
 
       Summoning = true
 
       Summoning = true
 
     },
 
     },
    ["summons limit"] = 1
 
 
   },
 
   },
   ["Spider Form"] = {
+
   ["Martyr's Knell"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true
+
       ["book of Decay"] = true,
 +
      ["book of Necromancy"] = 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 = "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 = {},
      CHAOTIC = true,
+
     level = 4,
      HELPFUL = true,
+
     name = "Martyr's Knell",
      UTILITY = true
 
    },
 
     level = 3,
 
     name = "Spider Form",
 
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 4,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 100,
    rarity = 2,
 
 
     schools = {
 
     schools = {
       Poison = true,
+
       Necromancy = true,
       Transmutation = true
+
       Summoning = true
     }
+
     },
 
   },
 
   },
   ["Static Discharge"] = {
+
   ["Curse of Agony"] = {
 
     books = {
 
     books = {
       ["book of Air"] = true,
+
       ["book of Necromancy"] = true,
       ["book of the Tempests"] = true
+
       ["book of the Senses"] = 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 = "Curses a foe, halving their remaining health after the next two times thatthe caster strikes them in melee.",
 
     flags = {
 
     flags = {
       AREA = true
+
       dir_or_target = true,
 +
      needs_tracer = true,
 +
      not_self = true,
 +
      WL_check = true
 
     },
 
     },
     level = 3,
+
     level = 5,
     name = "Static Discharge",
+
     name = "Curse of Agony",
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 5,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 100,
+
     ["power cap"] = 200,
 
     range = {
 
     range = {
       max = 1,
+
       max = 3,
       min = 1
+
       min = 3
 
     },
 
     },
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Air = true,
+
       Necromancy = true,
      Conjuration = true
+
     },
     }
 
 
   },
 
   },
   ["Statue Form"] = {
+
   ["Sculpt Simulacrum"] = {
 
     books = {
 
     books = {
       ["book of the Earth"] = true,
+
      ["book of Ice"] = true,
       ["book of Transfigurations"] = true
+
       ["book of the Tundra"] = true,
 +
       ["book of Winter"] = true
 
     },
 
     },
     description = "Transforms the caster into a slow but extremely robust stone statue, capable of dealing powerful blows with weapons or bare fists. The caster's stone body is insulated from electricity and gains resistance to poison, rotting and negative energy.",
+
     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.",
 
     flags = {
 
     flags = {
       CHAOTIC = true,
+
       dir_or_target = true,
       HELPFUL = true,
+
       needs_tracer = true
      UTILITY = true
 
 
     },
 
     },
 
     level = 6,
 
     level = 6,
     name = "Statue Form",
+
     name = "Sculpt Simulacrum",
 
     noise = {
 
     noise = {
       casting = 5,
+
       casting = 6,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 150,
+
     ["power cap"] = 200,
     rarity = 8,
+
     range = {
 +
      max = 1,
 +
      min = 1
 +
    },
 
     schools = {
 
     schools = {
       Earth = true,
+
       Ice = true,
       Transmutation = true
+
       Alchemy = true
     }
+
     },
 
   },
 
   },
   ["Sticks to Snakes"] = {
+
   ["Bombard"] = {
 
     books = {
 
     books = {
       ["book of Changes"] = true
+
       ["book of Power"] = true,
 +
      ["book of the Earth"] = true
 
     },
 
     },
     description = "Transforms a number of arrows in inventory into short-lived snakes, creating more dangerous snakes with higher power.",
+
     description = "Blasts an iron ball toward a target. The force of the blast often sends the caster staggering backwards.",
 
     flags = {
 
     flags = {
       NO_GHOST = true
+
       dir_or_target = true,
 +
      needs_tracer = true
 
     },
 
     },
     level = 2,
+
     level = 6,
     name = "Sticks to Snakes",
+
     name = "Bombard",
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 6,
       effect = 0
+
       effect = 6
 +
    },
 +
    ["power cap"] = 200,
 +
    range = {
 +
      max = 4,
 +
      min = 4
 
     },
 
     },
    ["power cap"] = 100,
 
    rarity = 2,
 
 
     schools = {
 
     schools = {
       Transmutation = true
+
       Conjuration = true,
     }
+
      Earth = true
 +
     },
 
   },
 
   },
   ["Sticky Flame"] = {
+
   ["Fugue of the Fallen"] = {
 
     books = {
 
     books = {
       ["book of Flames"] = true
+
       ["book of Dreams"] = true,
 +
      ["book of Battle"] = true
 
     },
 
     },
     description = "Conjures a glob of sticky flame, covering an adjacent creature with liquid fire for a short time.",
+
     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.\n\nRecasting 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 = {
       DIR_OR_TARGET = true,
+
       selfench = true
      NEEDS_TRACER = true
 
 
     },
 
     },
     level = 4,
+
     level = 3,
     name = "Sticky Flame",
+
     name = "Fugue of the Fallen",
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 3,
       effect = 2
+
       effect = 8
 
     },
 
     },
     ["power cap"] = 50,
+
     ["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 = {
+
       Necromancy = true
       max = 1,
 
      min = 1
 
 
     },
 
     },
    rarity = 4,
 
    schools = {
 
      Conjuration = true,
 
      Fire = true
 
    }
 
 
   },
 
   },
   Sting = {
+
   ["Permafrost Eruption"] = {
 
     books = {
 
     books = {
       ["Young Poisoner's Handbook"] = true
+
       ["book of Earth"] = true,
 +
      ["book of the Tundra"] = true
 
     },
 
     },
     description = "Fires a magical dart of poison.",
+
     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. \n\nIt will always attempt to blast the largest concentration of foes in sight, and never explodes next to the caster.",
     flags = {
+
     flags = {needs_tracer = true, destructive = true},
      DIR_OR_TARGET = true,
+
     level = 6,
      NEEDS_TRACER = true
+
     name = "Permafrost Eruption",
    },
 
     level = 1,
 
     name = "Sting",
 
 
     noise = {
 
     noise = {
       casting = 1,
+
       casting = 6,
       effect = 2
+
       effect = 0
 
     },
 
     },
    ["power cap"] = 25,
 
 
     range = {
 
     range = {
       max = 6,
+
       min = 6,
       min = 6
+
       max = 6
 
     },
 
     },
     rarity = 5,
+
     ["power cap"] = 200,
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Earth = true,
       Poison = true
+
       Ice = true
 
     }
 
     }
 
   },
 
   },
   ["Stone Arrow"] = {
+
   ["Gell's Gavotte"] = {
 
     books = {
 
     books = {
       ["book of Geomancy"] = true,
+
       ["book of the Warp"] = true,
       ["Fen Folio"] = true
+
       ["There-And-Back Book"] = true,
 +
      ["Book of Movement"] = true
 
     },
 
     },
     description = "Fires a sharp spine of rock.",
+
     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. \n\nThe 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'. \n\nIt 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 = {dir_or_target = true, needs_tracer = true},
       DIR_OR_TARGET = true,
+
    level = 6,
       NEEDS_TRACER = true
+
    range = {
 +
       min = 1,
 +
       max = 1
 
     },
 
     },
    level = 3,
+
     name = "Gell's Gavotte",
     name = "Stone Arrow",
 
 
     noise = {
 
     noise = {
       casting = 3,
+
       casting = 6,
       effect = 2
+
       effect = 0
 
     },
 
     },
     ["power cap"] = 50,
+
     ["power cap"] = 200,
    range = {
 
      max = 4,
 
      min = 4
 
    },
 
    rarity = 4,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Translocation = true
      Earth = true
 
 
     }
 
     }
 
   },
 
   },
   ["Sublimation of Blood"] = {
+
 
 +
   ["Hellfire Mortar"] = {
 
     books = {
 
     books = {
       ["book of Alchemy"] = true,
+
       ["book of Armaments"] = true,
       ["book of Death"] = true
+
       ["Compendium of Siegecraft"] = 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 = "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. \n\nWhen 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 = {},
       UTILITY = true
+
    level = 7,
 +
    range = {
 +
      min = 8,
 +
       max = 8
 
     },
 
     },
    level = 2,
+
     name = "Hellfire Mortar",
     name = "Sublimation of Blood",
 
 
     noise = {
 
     noise = {
       casting = 2,
+
       casting = 7,
       effect = 0
+
       effect = 20
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Necromancy = true
+
       Earth = true,
 +
      Fire = true
 
     }
 
     }
 
   },
 
   },
   ["Summon Butterflies"] = {
+
 
 +
   ["Magnavolt"] = {
 
     books = {
 
     books = {
       ["book of Beasts"] = true,
+
       ["Maxwell's Memoranda"] = true,
       ["book of Party Tricks"] = true
+
       ["book of Iron"] = true
 
     },
 
     },
     description = "Creates a shower of colourful butterflies. How pretty!",
+
     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. \n\nMagnetised 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 = 1,
+
        target = true,
    name = "Summon Butterflies",
+
        needs_tracer = true,
    noise = {
+
        destructive = true
      casting = 1,
 
      effect = 0
 
 
     },
 
     },
     ["power cap"] = 100,
+
    level = 7,
    rarity = 7,
+
    range = {
 +
      min = 8,
 +
      max = 8
 +
    },
 +
    name = "Magnavolt",
 +
    noise = {
 +
      casting = 7,
 +
      effect = 20
 +
    },
 +
     ["power cap"] = 200,
 
     schools = {
 
     schools = {
       Summoning = true
+
       Air = true,
     },
+
      Earth = true
    ["summons limit"] = 8
+
     }
 
   },
 
   },
   ["Summon Demon"] = {
+
 
 +
   ["Fulsome Fusillade"] = {
 
     books = {
 
     books = {
       ["book of Summonings"] = true
+
       ["book of Transmutation"] = true,
 +
      ["book of Spectacle"] = 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 = "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. \n\nThis 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,
+
        area = true,
       SELFENCH = true,
+
        destructive = true,
       UNHOLY = true
+
        chaotic = true},
 +
    level = 8,
 +
    range = {
 +
       min = 8,
 +
       max = 8
 
     },
 
     },
    level = 5,
+
     name = "Fulsome Fusillade",
     name = "Summon Demon",
 
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 8,
 
       effect = 0
 
       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.",
 
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Conjuration = true,
     },
+
      Alchemy = true
    ["summons limit"] = 3
+
     }
 
   },
 
   },
   ["Summon Forest"] = {
+
 
 +
   ["Rimeblight"] = {
 
     books = {
 
     books = {
       ["book of Summonings"] = true,
+
       ["book of Wicked Creation"] = true,
       ["Fen Folio"] = true
+
       ["book of Maladies"] = true
 +
    },
 +
    description = "Afflicts a creature 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 may erupt violently from their body, damaging nearby enemies and even spreading the affliction to others. \n\nIn 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,
 +
        unclean = true,
 +
        destructive = true},
 +
    level = 7,
 +
    range = {
 +
      min = 5,
 +
      max = 5
 
     },
 
     },
    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.",
+
     name = "Rimeblight",
    flags = {},
 
    level = 5,
 
     name = "Summon Forest",
 
 
     noise = {
 
     noise = {
       casting = 4,
+
       casting = 7,
       effect = 10
+
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = 11,
 
 
     schools = {
 
     schools = {
       Summoning = true,
+
       Necromancy = true,
       Translocation = true
+
       Ice = true
 
     }
 
     }
 
   },
 
   },
   ["Summon Greater Demon"] = {
+
 
 +
   ["Cigotuvi's Putrefaction"] = {
 
     books = {
 
     books = {
       ["Grand Grimoire"] = true
+
       ["book of Decay"] = true,
 +
      ["Trismegistus Codex"] = 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.",
+
     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. \n\nThis 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 = {
       MONS_ABJURE = true,
+
        target = true,
       SELFENCH = true,
+
        unclean = true,},
       UNHOLY = true
+
    level = 4,
 +
    range = {
 +
      min = 5,
 +
      max = 5
 +
    },
 +
    name = "Cigotuvi's Putrefaction",
 +
    noise = {
 +
       casting = 4,
 +
      effect = 0
 +
    },
 +
    ["power cap"] = 100,
 +
    schools = {
 +
      Necromancy = true,
 +
       Air = true
 +
    }
 +
  },
 +
 
 +
  ["Hoarfrost Cannonade"] = {
 +
    books = {
 +
      ["book of Winter"] = true,
 +
       ["Compendium of Siegecraft"] = true
 
     },
 
     },
     level = 7,
+
    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.",
     name = "Summon Greater Demon",
+
    flags = {},
 +
     level = 5,
 +
     name = "Hoarfrost Cannonade",
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 5,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
 
     ["power cap"] = 200,
 
     ["power cap"] = 200,
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Ice = true,
     },
+
      Alchemy = true
    ["summons limit"] = 3
+
     }
 
   },
 
   },
   ["Summon Guardian Golem"] = {
+
   ["Maxwell's Portable Piledriver"] = {
 
     books = {
 
     books = {
       ["book of Callings"] = true
+
       ["book of Displacement"] = true,
 +
      ["Maxwell's Memoranda"] = 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 = "Compresses an envelope of space around the caster and an adjacent enemy, then allows it to decompress abruptly, propelling both of them forward until the latter collides with something, inflicting damage proportional to the distance travelled. \n\nOriginally designed for use in construction, it will automatically target the nearest mass with the longest clear path towards a wall or other solid object (such as another monster).",
 
     flags = {},
 
     flags = {},
 
     level = 3,
 
     level = 3,
     name = "Summon Guardian Golem",
+
    range = {min=5, max=5},
 +
     name = "Maxwell's Portable Piledriver",
 
     noise = {
 
     noise = {
 
       casting = 3,
 
       casting = 3,
Line 2,752: Line 2,690:
 
     },
 
     },
 
     ["power cap"] = 100,
 
     ["power cap"] = 100,
    rarity = 3,
 
 
     schools = {
 
     schools = {
       Hexes = true,
+
       Translocation = true
      Summoning = true
+
     }
     },
 
    ["summons limit"] = 1
 
 
   },
 
   },
   ["Summon Horrible Things"] = {
+
 
 +
   ["Grave Claw"] = {
 
     books = {
 
     books = {
       ["Grand Grimoire"] = true
+
       ["book of Unlife"] = 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 = "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. \n\nYou 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 = {
       CHAOTIC = true,
+
       target = true, not_self = true
       MONS_ABJURE = true,
+
    },
       UNHOLY = true
+
    level = 2,
 +
    name = "Grave Claw",
 +
    range = {
 +
       min = 4,
 +
       max = 4
 
     },
 
     },
    level = 8,
 
    name = "Summon Horrible Things",
 
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 2,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
     ["power cap"] = 200,
+
     ["power cap"] = 50,
    rarity = -1,
 
 
     schools = {
 
     schools = {
       Summoning = true
+
       Necromancy = true
     },
+
     }
    ["summons limit"] = 8
 
 
   },
 
   },
   ["Summon Hydra"] = {
+
   ["Soul Splinter"] = {
 
     books = {
 
     books = {
       ["book of Beasts"] = true,
+
       ["book of Necromancy"] = true,
       ["Fen Folio"] = true
+
       ["book of Cantrips"] = true
 
     },
 
     },
     description = "Summons a many-headed hydra to fight alongside the caster for a short time.",
+
     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. \n\nWisps created from more powerful souls have more damaging attacks, but are always fragile.",
     flags = {
+
     flags = {dir_or_target = true, not_self = true, needs_tracer = true, WL_check = true},
       MONS_ABJURE = true
+
    level = 1,
 +
    range = {
 +
       min = 5,
 +
      max = 5
 
     },
 
     },
    level = 7,
+
     name = "Soul Splinter",
     name = "Summon Hydra",
 
 
     noise = {
 
     noise = {
       casting = 6,
+
       casting = 1,
 
       effect = 0
 
       effect = 0
 
     },
 
     },
    ["power cap"] = 200,
+
     ["power cap"] = 25,
    rarity = 8,
 
    schools = {
 
      Summoning = true
 
    },
 
    ["summons limit"] = 3
 
  },
 
  ["Summon Ice Beast"] = {
 
    books = {
 
      ["book of Beasts"] = true,
 
      ["book of Callings"] = true,
 
      ["book of Frost"] = true
 
    },
 
    description = "Calls forth a beast of ice to serve the caster.",
 
    flags = {},
 
    level = 4,
 
    name = "Summon Ice Beast",
 
    noise = {
 
      casting = 3,
 
      effect = 0
 
    },
 
    ["power cap"] = 100,
 
    rarity = 3,
 
    schools = {
 
      Ice = true,
 
      Summoning = true
 
    },
 
    ["summons limit"] = 3
 
  },
 
  ["Summon Lightning Spire"] = {
 
    books = {
 
      ["book of Callings"] = true,
 
      ["book of the Sky"] = 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.",
 
    flags = {},
 
    level = 4,
 
    name = "Summon Lightning Spire",
 
    noise = {
 
      casting = 2,
 
      effect = 0
 
    },
 
    ["power cap"] = 100,
 
    range = {
 
      max = 2,
 
      min = 2
 
    },
 
    rarity = 3,
 
    schools = {
 
      Air = true,
 
      Summoning = true
 
    },
 
    ["summons limit"] = 1
 
  },
 
  ["Summon Mana Viper"] = {
 
    books = {
 
      ["book of Beasts"] = true,
 
      ["book of Summonings"] = 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 = 4,
 
      effect = 0
 
    },
 
    ["power cap"] = 100,
 
    rarity = 8,
 
    schools = {
 
      Hexes = true,
 
      Summoning = true
 
    },
 
    ["summons limit"] = 2
 
  },
 
  ["Summon Small Mammal"] = {
 
    books = {
 
      ["book of Callings"] = true,
 
      ["book of Cantrips"] = true
 
    },
 
    description = "Summons a small mammal to the caster's aid.",
 
    flags = {},
 
    level = 1,
 
    name = "Summon Small Mammal",
 
    noise = {
 
      casting = 1,
 
      effect = 0
 
    },
 
     ["power cap"] = 25,
 
    rarity = 1,
 
    schools = {
 
      Summoning = true
 
    },
 
    ["summons limit"] = 4
 
  },
 
  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 = 2,
 
    name = "Swiftness",
 
    noise = {
 
      casting = 2,
 
      effect = 0
 
    },
 
    ["power cap"] = 100,
 
    rarity = 4,
 
    schools = {
 
      Air = true,
 
      Charms = true
 
    }
 
  },
 
  ["Teleport Other"] = {
 
    books = {
 
      ["book of Spatial Translocations"] = true
 
    },
 
    description = "Randomly translocates a targeted creature.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      EMERGENCY = true,
 
      ESCAPE = true,
 
      MR_CHECK = true,
 
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
    },
 
    level = 3,
 
    name = "Teleport Other",
 
    noise = {
 
      casting = 3,
 
      effect = 2
 
    },
 
    ["power cap"] = 50,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 10,
 
    schools = {
 
      Translocation = true
 
    }
 
  },
 
  ["Throw Flame"] = {
 
    books = {
 
      ["book of Flames"] = true
 
    },
 
    description = "Throws a small puff of flame.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
    },
 
    level = 2,
 
    name = "Throw Flame",
 
    noise = {
 
      casting = 2,
 
      effect = 2
 
    },
 
    ["power cap"] = 50,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 4,
 
    schools = {
 
      Conjuration = true,
 
      Fire = true
 
    }
 
  },
 
  ["Throw Frost"] = {
 
    books = {
 
      ["book of Frost"] = true
 
    },
 
    description = "Throws a small puff of frost.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
    },
 
    level = 2,
 
    name = "Throw Frost",
 
    noise = {
 
      casting = 2,
 
      effect = 2
 
    },
 
    ["power cap"] = 50,
 
    range = {
 
      max = 6,
 
      min = 6
 
    },
 
    rarity = 4,
 
    schools = {
 
      Conjuration = true,
 
      Ice = true
 
    }
 
  },
 
  ["Throw Icicle"] = {
 
    books = {
 
      ["book of Frost"] = true
 
    },
 
    description = "Fires a shard of ice. Due to its strong impact and cutting edges, a significant portion of its damage bypasses cold resistance.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
    },
 
    level = 4,
 
    name = "Throw Icicle",
 
    noise = {
 
      casting = 4,
 
      effect = 2
 
    },
 
    ["power cap"] = 50,
 
    range = {
 
      max = 5,
 
      min = 5
 
    },
 
    rarity = 4,
 
    schools = {
 
      Conjuration = true,
 
      Ice = true
 
    }
 
  },
 
  Tornado = {
 
    books = {
 
      ["book of the Sky"] = 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.",
 
    flags = {
 
      AREA = true
 
    },
 
    level = 9,
 
    name = "Tornado",
 
    noise = {
 
      casting = 5,
 
      effect = 15
 
    },
 
    ["power cap"] = 200,
 
    range = {
 
      max = 5,
 
      min = 5
 
    },
 
    rarity = 10,
 
    schools = {
 
      Air = true
 
    }
 
  },
 
  ["Tukima's Dance"] = {
 
    books = {
 
      ["book of Maledictions"] = true,
 
      ["book of Party Tricks"] = 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.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      MR_CHECK = true,
 
      NEEDS_TRACER = true,
 
      NOT_SELF = true
 
    },
 
    level = 3,
 
    name = "Tukima's Dance",
 
    noise = {
 
      casting = 3,
 
      effect = 2
 
    },
 
    ["power cap"] = 50,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 2,
 
    schools = {
 
      Hexes = true
 
    }
 
  },
 
  ["Vampiric Draining"] = {
 
    books = {
 
      ["book of Necromancy"] = 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.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      EMERGENCY = true,
 
      NOT_SELF = true,
 
      SELFENCH = true
 
    },
 
    level = 3,
 
    name = "Vampiric Draining",
 
    noise = {
 
      casting = 3,
 
      effect = 0
 
    },
 
    ["power cap"] = 200,
 
    range = {
 
      max = 1,
 
      min = 1
 
    },
 
    rarity = 3,
 
    schools = {
 
      Necromancy = true
 
    }
 
  },
 
  ["Venom Bolt"] = {
 
    books = {
 
      ["book of Power"] = true,
 
      ["Young Poisoner's Handbook"] = true
 
    },
 
    description = "Fires a penetrating bolt of poison.",
 
    flags = {
 
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true
 
    },
 
    level = 5,
 
    name = "Venom Bolt",
 
    noise = {
 
      casting = 5,
 
      effect = 2
 
    },
 
    ["power cap"] = 50,
 
    range = {
 
      max = 5,
 
      min = 5
 
    },
 
    rarity = 5,
 
 
     schools = {
 
     schools = {
       Conjuration = true,
+
       Necromancy = true
      Poison = true
 
 
     }
 
     }
 
   },
 
   },
  ["Yara's Violent Unravelling"] = {
+
 
    books = {
 
      ["book of Enchantments"] = true,
 
      ["book of Misfortune"] = true
 
    },
 
    description = "Tears apart the bonds that bind enchantments to the target creature, transforming the magic into a spray of deadly, mutagenic radiation.",
 
    flags = {
 
      CHAOTIC = true,
 
      DIR_OR_TARGET = true,
 
      NEEDS_TRACER = true,
 
      NO_GHOST = true
 
    },
 
    level = 5,
 
    name = "Yara's Violent Unravelling",
 
    noise = {
 
      casting = 5,
 
      effect = 15
 
    },
 
    ["power cap"] = 50,
 
    range = {
 
      max = 7,
 
      min = 7
 
    },
 
    rarity = 1,
 
    schools = {
 
      Hexes = true,
 
      Transmutation = true
 
    }
 
  }
 
 
}
 
}

Latest revision as of 19:40, 28 October 2024

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 (generated in 0.29.1, partially updated since)
return {
  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 = {
      not_self = true,
      target = true
    },
    level = 4,
    name = "Airstrike",
    noise = {
      casting = 2,
      effect = 4
    },
    ["power cap"] = 200,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      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 = 3,
      effect = 0
    },
    ["power cap"] = 150,
    schools = {
      Alchemy = true
    }
  },
  Anguish = {
    books = {
      ["book of Dreams"] = true,
      ["book of Hexes"] = 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 = 7,
      min = 7
    },
    schools = {
      Hexes = true,
      Necromancy = true
    }
  },
  ["Animate Armour"] = {
    books = {
      ["book of Armaments"] = true,
      ["book of Iron"] = true
    },
    description = "Call 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.",
    flags = {},
    level = 4,
    name = "Animate Armour",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 50,
    schools = {
      Earth = true,
      Summoning = true
    }
  },
  ["Animate Dead"] = {
    books = {
      ["book of Death"] = true,
      ["book of Unlife"] = 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,
      selfench = true,
      utility = true
    },
    level = 4,
    name = "Animate Dead",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    quote = "“Remember, I am not recording the vision of a madman. The sun does not more\n certainly shine in the heavens, than that which I now affirm is true. Some\n miracle might have produced it, yet the stages of the discovery were distinct\n and probable. After days and nights of incredible labour and fatigue, I\n succeeded in discovering the cause of generation and life; nay, more, I became\n myself capable of bestowing animation upon lifeless matter.”\n    -Mary Shelley, _Frankenstein, or the Modern Prometheus_,\n     Vol. I, Chapter 3. 1818 (1st Ed.)",
    schools = {
      Necromancy = 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.\n\nExtremely powerful magical items, such as the Orb of Zot, may actively resist the pull of this spell.",
    flags = {
      not_self = true,
      obj = true,
      target = true
    },
    level = 1,
    name = "Apportation",
    noise = {
      casting = 1,
      effect = 0
    },
    ["power cap"] = 50,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Translocation = true
    }
  },
  Blink = {
    books = {
      ["book of Spatial Translocations"] = true,
      ["book of Minor Magic"] = true
    },
    description = "Randomly translocates the caster a short distance. Translocating in this way destabilises the caster temporarily, preventing consecutive blinks for a short period of time depending on spellpower.",
    flags = {
      escape = true,
      selfench = true,
      utility = true
    },
    level = 2,
    name = "Blink",
    noise = {
      casting = 2,
      effect = 0
    },
    ["power cap"] = 50,
    schools = {
      Translocation = 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.\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.",
    flags = {
      utility = true
    },
    level = 8,
    name = "Borgnjor's Revivification",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Necromancy = true
    }
  },
  ["Borgnjor's Vile Clutch"] = {
    books = {
      ["book of Unlife"] = true,
      ["Great Wizards, Vol. II"] = 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,
      needs_tracer = true
    },
    level = 5,
    name = "Borgnjor's Vile Clutch",
    noise = {
      casting = 5,
      effect = 4
    },
    ["power cap"] = 200,
    range = {
      max = 6,
      min = 6
    },
    schools = {
      Earth = true,
      Necromancy = 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,
    quote = "“There seemed a strange stillness over everything. But as I listened, I heard\n as if from down below in the valley the howling of many wolves. The Count's\n eyes gleamed, and he said.\n\n ‘Listen to them, the children of the night. What music they make!’ Seeing, I\n suppose, some expression in my face strange to him, he added, ‘Ah, sir, you\n dwellers in the city cannot enter into the feelings of the hunter.’”\n    -Bram Stoker, _Dracula_. 1897.",
    schools = {
      Summoning = true
    }
  },
  ["Call Imp"] = {
    books = {
      ["book of Minor Magic"] = true,
      ["book of Blood"] = true
    },
    description = "Calls forth a minor demon from the pits of Hell. The demon will fight alongside the caster for a time depending on spell power.",
    flags = {
      selfench = true,
      unholy = true
    },
    level = 2,
    name = "Call Imp",
    noise = {
      casting = 2,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Summoning = true
    }
  },
  ["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 = 3,
      effect = 0
    },
    ["power cap"] = 200,
    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.",
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Hexes = 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's damage partially bypasses armour and resistance to electricity.",
    flags = {
      area = true
    },
    level = 9,
    name = "Chain Lightning",
    noise = {
      casting = 25,
      effect = 10
    },
    ["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.",
    schools = {
      Air = true,
      Conjuration = 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 = 2,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Hexes = true
    }
  },
  ["Conjure Ball Lightning"] = {
    books = {
      ["book of Chaos"] = true,
      ["book of the Spheres"] = 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.",
    flags = {
      selfench = true
    },
    level = 6,
    name = "Conjure Ball Lightning",
    noise = {
      casting = 6,
      effect = 25
    },
    ["power cap"] = 200,
    schools = {
      Air = true,
      Conjuration = 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 creature nearby may be dazzled and left stumbling blindly.",
    flags = {
      area = true,
      no_ghost = true
    },
    level = 3,
    name = "Dazzling Flash",
    noise = {
      casting = 0,
      effect = 0
    },
    ["power cap"] = 50,
    range = {
      max = 3,
      min = 2
    },
    schools = {
      Hexes = true,
      Fire = true
    }
  },
  ["Death Channel"] = {
    books = {
      ["book of Decay"] = true,
      ["book of Unlife"] = 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 = 5,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Necromancy = 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.\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 further from death when the effect ends. It has no effect on those who are already undead.",
    flags = {
      no_ghost = true,
      utility = true
    },
    level = 9,
    name = "Death's Door",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Necromancy = true
    }
  },
  Discord = {
    books = {
      ["book of Chaos"] = true,
      ["the Unrestrained Analects"] = true
    },
    description = "Drives nearby creatures into an insane frenzy, causing them to mercilessly attack anything and everything nearby with great strength and speed.",
    flags = {
      area = true,
      hasty = true,
      WL_check = true
    },
    level = 8,
    name = "Discord",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Hexes = true
    }
  },
  Disjunction = {
    books = {
      ["book of Chaos"] = true,
      ["book of the Warp"] = 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.",
    flags = {
      escape = true,
      utility = true
    },
    level = 8,
    name = "Disjunction",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    range = {
      max = 4,
      min = 4
    },
    schools = {
      Translocation = 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
    }
  },
  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 = {
      area = true,
      escape = true
    },
    level = 6,
    name = "Dispersal",
    noise = {
      casting = 5,
      effect = 0
    },
    ["power cap"] = 200,
    range = {
      max = 4,
      min = 1
    },
    schools = {
      Translocation = 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 = 7,
      effect = 15
    },
    ["power cap"] = 200,
    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.",
    schools = {
      Summoning = 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 = 7,
      min = 7
    },
    schools = {
      Hexes = 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,
      needs_tracer = true,
      not_self = true,
      WL_check = true
    },
    level = 2,
    name = "Ensorcelled Hibernation",
    noise = {
      casting = 0,
      effect = 0
    },
    ["power cap"] = 50,
    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
    },
    schools = {
      Hexes = 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,
      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
    }
  },
  ["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. A portion of its damage bypasses fire resistance.",
    flags = {
      area = true,
      needs_tracer = true,
      target = true
    },
    level = 9,
    name = "Fire Storm",
    noise = {
      casting = 9,
      effect = 25
    },
    ["power cap"] = 200,
    quote = "“Some have said there is no subtlety to destruction. You know what? They're\n dead.”\n    -Jaya Ballard, task mage (Magic: the Gathering).",
    range = {
      max = 5,
      min = 5
    },
    schools = {
      Conjuration = true,
      Fire = 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
    }
  },
  ["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 = 0,
      effect = 12
    },
    ["power cap"] = 100,
    range = {
      max = 3,
      min = 3
    },
    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 = {
      selfench = true
    },
    level = 1,
    name = "Foxfire",
    noise = {
      casting = 1,
      effect = 1
    },
    ["power cap"] = 25,
    schools = {
      Conjuration = true,
      Fire = 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
    },
    level = 1,
    name = "Freeze",
    noise = {
      casting = 1,
      effect = 0
    },
    ["power cap"] = 25,
    range = {
      max = 1,
      min = 1
    },
    schools = {
      Ice = true
    }
  },
  ["Freezing Cloud"] = {
    books = {
      ["book of Vapours"] = true,
      ["Trismegistus Codex"] = true
    },
    description = "Conjures up a large cloud of lethally cold vapour.",
    flags = {
      area = true,
      cloud = true,
      needs_tracer = true,
      target = true
    },
    level = 5,
    name = "Freezing Cloud",
    noise = {
      casting = 6,
      effect = 2
    },
    ["power cap"] = 200,
    range = {
      max = 5,
      min = 5
    },
    schools = {
      Air = true,
      Conjuration = true,
      Ice = true
    }
  },
  ["Frozen Ramparts"] = {
    books = {
      ["book of Frost"] = true,
      ["book of Sloth"] = 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.\n\nThe ice will crack and fall away if the caster moves to a new position.",
    flags = {
      area = 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
    }
  },
  ["Fulminant Prism"] = {
    books = {
      ["book of Blasting"] = true,
      ["book of Conjurations"] = 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.",
    flags = {
      area = true,
      not_self = true,
      target = true
    },
    level = 4,
    name = "Fulminant Prism",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 200,
    range = {
      max = 4,
      min = 4
    },
    schools = {
      Conjuration = true,
      Alchemy = true
    }
  },
  Hailstorm = {
    books = {
      ["book of Frost"] = true,
      ["book of the Tundra"] = true
    },
    description = "Conjures a cannonade of hail. The eye of the storm is wide enough that monsters adjacent to the caster are unaffected. Due to the strong impact and cutting edges a significant portion of its damage bypasses cold resistance.",
    flags = {
      area = true
    },
    level = 3,
    name = "Hailstorm",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 100,
    range = {
      max = 3,
      min = 3
    },
    schools = {
      Conjuration = true,
      Ice = 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 = {
      mons_abjure = true,
      not_self = true,
      target = true
    },
    level = 7,
    name = "Haunt",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Necromancy = true,
      Summoning = true
    }
  },
  ["Ignite Poison"] = {
    books = {
      ["Everburning Encyclopedia"] = true,
      ["Trismegistus Codex"] = 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
    },
    level = 4,
    name = "Ignite Poison",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Fire = true,
      Alchemy = true,
    }
  },
  Ignition = {
    books = {
      ["Everburning Encyclopedia"] = true,
      ["book of Spontaneous Combustion"] = 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
    },
    level = 8,
    name = "Ignition",
    noise = {
      casting = 8,
      effect = 15
    },
    ["power cap"] = 200,
    schools = {
      Fire = 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 = 7,
      min = 7
    },
    schools = {
      Necromancy = 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 = {
      not_self = true,
      target = true,
      WL_check = true
    },
    level = 3,
    name = "Inner Flame",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Fire = true,
      Hexes = 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 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.",
    flags = {
      area = true,
      chaotic = true
    },
    level = 5,
    name = "Irradiate",
    noise = {
      casting = 4,
      effect = 0
    },
    ["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 = 1,
      min = 1
    },
    schools = {
      Conjuration = true,
      Alchemy = true
    }
  },
  ["Iskenderun's Battlesphere"] = {
    books = {
      ["book of Power"] = true,
      ["book of the Spheres"] = true
    },
    description = "Conjures a small globe of magical energy. Each time its creator casts a spell from the Conjuration school (other than Battlesphere itself or Spellforged Servitor), the battlesphere will launch its own volley of energy at a random foe. With increasing power, the battlesphere lasts longer and deals more damage per volley.",
    flags = {
      utility = true
    },
    level = 5,
    name = "Iskenderun's Battlesphere",
    noise = {
      casting = 5,
      effect = 0
    },
    ["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.",
    schools = {
      Conjuration = true
    }
  },
  ["Iskenderun's Mystic Blast"] = {
    books = {
      ["book of Blasting"] = true,
      ["book of Weapons"] = 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.",
    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
    }
  },
  ["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.\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.",
    flags = {
      area = true
    },
    level = 4,
    name = "Leda's Liquefaction",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Earth = true,
      Alchemy = true
    }
  },
  ["Lee's Rapid Deconstruction"] = {
    books = {
      ["book of Iron"] = true,
      ["book of the Earth"] = 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.",
    flags = {
      target = true
    },
    level = 5,
    name = "Lee's Rapid Deconstruction",
    noise = {
      casting = 4,
      effect = 20
    },
    ["power cap"] = 200,
    quote = "“Now the house was full of men and women; and all the lords of the Philistines\n were there; and there were upon the roof about three thousand men and women,\n that beheld while Samson made sport.\n\n And Samson called unto the LORD, and said, O Lord GOD, remember me, I pray\n thee, and strengthen me, I pray thee, only this once, O God, that I may be at\n once avenged of the Philistines for my two eyes.\n\n And Samson took hold of the two middle pillars upon which the house stood, and\n on which it was borne up, of the one with his right hand, and of the other\n with his left.\n\n And Samson said, Let me die with the Philistines. And he bowed himself with\n all his might; and the house fell upon the lords, and upon all the people that\n were therein. So the dead which he slew at his death were more than they which\n he slew in his life.”\n    -KJV Bible, Judges 16:27-30.",
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Earth = 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 = 8
    },
    ["power cap"] = 200,
    range = {
      max = 3,
      min = 3
    },
    schools = {
      Conjuration = true,
      Earth = true
    }
  },
  ["Lesser Beckoning"] = {
    books = {
      ["book of Displacement"] = true,
      ["book of Spatial Translocations"] = true
    },
    description = "Beckons the target forward, attempting to place them adjacent to the caster.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      not_self = true
    },
    level = 2,
    name = "Lesser Beckoning",
    noise = {
      casting = 2,
      effect = 0
    },
    ["power cap"] = 50,
    range = {
      max = 5,
      min = 3
    },
    schools = {
      Translocation = true
    }
  },
  ["Magic Dart"] = {
    books = {
      ["book of Conjurations"] = true,
      ["book of Minor Magic"] = 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 = 1
    },
    ["power cap"] = 25,
    range = {
      max = 7,
      min = 7
    },
    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 = {
      chaotic = true,
      unholy = true
    },
    level = 7,
    name = "Malign Gateway",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Summoning = true,
      Translocation = true
    }
  },
  ["Manifold Assault"] = {
    books = {
      ["book of the Warp"] = true,
      ["book of Battle"] = true
    },
    description = "Warps space into paradoxical configurations in order to strike many visible targets with one melee attack. At high power, it can be used to strike more enemies at once. Very high power is required to launch multiple unarmed strikes in this fashion, since greater 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 attack. It's imprecise, so it can't do extra damage against unsuspecting foes.",
    flags = {
      no_ghost = true
    },
    level = 7,
    name = "Manifold Assault",
    noise = {
      casting = 5,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Translocation = true
    }
  },
  ["Maxwell's Capacitive Coupling"] = {
    books = {
      ["book of Spectacle"] = true,
      ["Maxwell's Memoranda"] = 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.",
    flags = {
      no_ghost = true
    },
    level = 8,
    name = "Maxwell's Capacitive Coupling",
    noise = {
      casting = 7,
      effect = 25
    },
    ["power cap"] = 200,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Air = true
    }
  },
  ["Mephitic Cloud"] = {
    books = {
      ["book of Vapours"] = true,
      ["book of the Senses"] = true
    },
    description = "Conjures up a short-lived cloud of noxious fumes, which may cause confusion in any creature not resistant to poison. Tougher, more experienced creatures are less likely to be affected.",
    flags = {
      area = true,
      cloud = true,
      dir_or_target = true,
      needs_tracer = true
    },
    level = 3,
    name = "Mephitic Cloud",
    noise = {
      casting = 3,
      effect = 15
    },
    ["power cap"] = 100,
    quote = "“Seit mehreren Jahren schon hatte die indische Cholera eine verstärkte\n Neigung zur Ausbreitung und Wanderung an den Tag gelegt. Erzeugt aus\n den warmen Moraesten des Ganges-Deltas, aufgestiegen mit dem\n mephitischen Odem jener üppig-untauglichen, von Menschen gemiedenen\n Urwelt- und Inselwildnis, in deren Bambusdickichten der Tiger kauert,\n hatte die Seuche in ganz Hindustan andauernd und ungewöhnlich heftig\n gewütet, hatte östlich nach China, westlich nach Afghanistan und\n Persien übergegriffen und, den Hauptstraßen des Karawanenverkehrs\n folgend, ihre Schrecken bis Astrachan, ja selbst bis Moskau getragen.”\n    -Thomas Mann, _Der Tod in Venedig_, 1911.",
    range = {
      max = 4,
      min = 4
    },
    schools = {
      Air = true,
      Conjuration = true,
      Alchemy = true
    }
  },
  ["Metabolic Englaciation"] = {
    books = {
      ["book of Sloth"] = true,
      ["book of Winter"] = 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 = 4,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Hexes = true,
      Ice = true
    }
  },
  ["Monstrous Menagerie"] = {
    books = {
      ["book of Beasts"] = true
    },
    description = "Summons a powerful exotic creature to the caster's aid: a manticore, a lindwurm, or, at high power, even a sphinx. Casting the spell at higher power also increases the strength of the beasts themselves.",
    flags = {
      mons_abjure = true
    },
    level = 7,
    name = "Monstrous Menagerie",
    noise = {
      casting = 5,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Summoning = true
    }
  },
  ["Olgreb's Toxic Radiance"] = {
    books = {
      ["the Unrestrained Analects"] = true,
      ["Young Poisoner's Handbook"] = 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
    },
    level = 4,
    name = "Olgreb's Toxic Radiance",
    noise = {
      casting = 2,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Alchemy = true
    }
  },
  ["Orb of Destruction"] = {
    books = {
      ["book of Dangerous Friends"] = true,
      ["book of the Spheres"] = 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.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      not_self = true
    },
    level = 7,
    name = "Orb of Destruction",
    noise = {
      casting = 7,
      effect = 0
    },
    ["power cap"] = 200,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Conjuration = true
    }
  },
  ["Ozocubu's Armour"] = {
    books = {
      ["book of Winter"] = true,
      ["book of Battle"] = 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
    }
  },
  ["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
    },
    level = 7,
    name = "Ozocubu's Refrigeration",
    noise = {
      casting = 5,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Ice = 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, but a gateway will close when entered, or after a moderate amount of time.",
    flags = {
      escape = true,
      neutral = true,
      selfench = true,
      target = true
    },
    level = 4,
    name = "Passage of Golubria",
    noise = {
      casting = 3,
      effect = 8
    },
    ["power cap"] = 100,
    range = {
      max = 7,
      min = 2
    },
    schools = {
      Translocation = true
    }
  },
  Passwall = {
    books = {
      ["book of Burglary"] = true,
      ["book of Geomancy"] = 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.",
    flags = {
      escape = true,
      not_self = true,
      target = true,
      utility = true
    },
    level = 3,
    name = "Passwall",
    noise = {
      casting = 0,
      effect = 0
    },
    ["power cap"] = 120,
    quote = "“He says the best way out is always through.”\n    -Robert Frost, _A Servant to Servants_. 1915.",
    range = {
      max = 3,
      min = 3
    },
    schools = {
      Earth = true
    }
  },
  Petrify = {
    books = {
      ["book of Transmutation"] = true,
      ["book of Sloth"] = 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.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      WL_check = true
    },
    level = 4,
    name = "Petrify",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    range = {
      max = 6,
      min = 6
    },
    schools = {
      Alchemy = true,
      Earth = 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 partially be 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
    },
    level = 9,
    name = "Polar Vortex",
    noise = {
      casting = 5,
      effect = 15
    },
    ["power cap"] = 200,
    range = {
      max = 5,
      min = 5
    },
    schools = {
      Ice = 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 half again as long to cast as most. Its damage is strongly reduced by armour.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      not_self = true
    },
    level = 1,
    name = "Sandblast",
    noise = {
      casting = 1,
      effect = 2
    },
    ["power cap"] = 50,
    range = {
      max = 4,
      min = 4
    },
    schools = {
      Earth = 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 = {
      no_ghost = true
    },
    level = 2,
    name = "Scorch",
    noise = {
      casting = 4,
      effect = 8
    },
    ["power cap"] = 50,
    range = {
      max = 3,
      min = 3
    },
    schools = {
      Fire = 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 = 2
    },
    ["power cap"] = 50,
    range = {
      max = 4,
      min = 4
    },
    schools = {
      Conjuration = 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
    },
    level = 9,
    name = "Shatter",
    noise = {
      casting = 7,
      effect = 30
    },
    ["power cap"] = 200,
    quote = "“So the people shouted when the priests blew with the trumpets: and it came to\n pass, when the people heard the sound of the trumpet, and the people shouted\n with a great shout, that the wall fell down flat, so that the people went up\n into the city, every man straight before him, and they took the city.\n\n And they utterly destroyed all that was in the city, both man and woman, young\n and old, and ox, and sheep, and ass, with the edge of the sword.”\n    -KJV Bible, Joshua 6:20-21.",
    schools = {
      Earth = true
    }
  },
  Shock = {
    books = {
      ["book of Air"] = true
    },
    description = "Throws a bouncing bolt of electricity. It partially bypasses armour.",
    flags = {
      dir_or_target = true,
      needs_tracer = true
    },
    level = 1,
    name = "Shock",
    noise = {
      casting = 1,
      effect = 1
    },
    ["power cap"] = 25,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Air = true,
      Conjuration = true
    }
  },
  Silence = {
    books = {
      ["book of the Moon"] = true,
      ["book of the Senses"] = 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.",
    flags = {
      area = true
    },
    level = 5,
    name = "Silence",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Air = true,
      Hexes = 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 = 2,
      effect = 0
    },
    ["power cap"] = 25,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Hexes = true
    }
  },
  ["Spellforged Servitor"] = {
    books = {
      ["book of Dangerous Friends"] = true,
      ["book of Power"] = 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. The strength of the servitor increases with spell power.",
    flags = {},
    level = 7,
    name = "Spellforged Servitor",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    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”",
    schools = {
      Conjuration = true,
      Summoning = 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 = 6
    },
    ["power cap"] = 200,
    range = {
      max = 5,
      min = 5
    },
    schools = {
      Conjuration = true,
      Fire = 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 bypasses any armour the target may have.",
    flags = {
      area = true
    },
    level = 2,
    name = "Static Discharge",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    range = {
      max = 1,
      min = 1
    },
    schools = {
      Air = true,
      Conjuration = true
    }
  },
  ["Sticky Flame"] = {
    books = {
      ["book of Flames"] = true,
      ["Everburning Encyclopedia"] = true
    },
    description = "Unleashes a short-ranged spray of incindiary 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.",
    flags = {
      dir_or_target = true,
      needs_tracer = true
    },
    level = 4,
    name = "Sticky Flame",
    noise = {
      casting = 4,
      effect = 1
    },
    ["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\n for the rest of his life.”\n    -Terry Pratchett, “Jingo”. 1997.",
    range = {
      max = 1,
      min = 1
    },
    schools = {
      Alchemy = true,
      Fire = true
    }
  },
  Sting = {
    books = {
      ["Young Poisoner's Handbook"] = true,
      ["book of Cantrips"] = 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.",
    flags = {
      dir_or_target = true,
      needs_tracer = true
    },
    level = 1,
    name = "Sting",
    noise = {
      casting = 1,
      effect = 1
    },
    ["power cap"] = 25,
    range = {
      max = 3,
      min = 3
    },
    schools = {
      Alchemy = true,
      Conjuration = true
    }
  },
  ["Stone Arrow"] = {
    books = {
      ["book of Armaments"] = true,
      ["book of Geomancy"] = 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 = 3
    },
    ["power cap"] = 50,
    range = {
      max = 4,
      min = 4
    },
    schools = {
      Conjuration = true,
      Earth = true
    }
  },
  ["Sublimation of Blood"] = {
    books = {
      ["book of Transmutation"] = true,
      ["book of Blood"] = 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
    }
  },
  ["Summon Cactus Giant"] = {
    books = {
      ["book of Scorching"] = true,
      ["book of the Wilderness"] = 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 = 4,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Summoning = 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 = 4,
      effect = 10
    },
    ["power cap"] = 200,
    schools = {
      Summoning = true,
      Translocation = true
    }
  },
  ["Summon Horrible Things"] = {
    books = {
      ["Grand Grimoire"] = 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. The number of abominations summoned increases with spell power.",
    flags = {
      chaotic = true,
      mons_abjure = true,
      unholy = true
    },
    level = 8,
    name = "Summon Horrible Things",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Summoning = true
    }
  },
  ["Summon Hydra"] = {
    books = {
      ["book of Blood"] = true,
      ["Fen Folio"] = 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 = 6,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Summoning = 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
    }
  },
  ["Summon Lightning Spire"] = {
    books = {
      ["book of Storms"] = true,
      ["book of Iron"] = 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. The strength of the spire depends on spell power.",
    flags = {},
    level = 4,
    name = "Summon Lightning Spire",
    noise = {
      casting = 2,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Air = true,
      Summoning = true
    }
  },
  ["Summon Mana Viper"] = {
    books = {
      ["book of Beasts"] = true,
      ["book of the Wilderness"] = 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 = 4,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Hexes = true,
      Summoning = 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
    }
  },
  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 = 2,
      effect = 0
    },
    ["power cap"] = 100,
    quote = "“JUST WALK OUT\n you can leave!!!\n  work\n  social thing\n  movies\n  home\n  class\n  dentist\n  clothes shoppi\n  too fancy weed store\n  cops if your quick\n  friend ships\n IF IT SUCKS... HIT DA BRICKS!!\n real winners quit” [sic]\n   -Admin, @dasharez0ne Twitter. March 30, 2018",
    schools = {
      Air = true
    }
  },
  ["Teleport Other"] = {
    books = {
      ["book of Displacement"] = true,
      ["There-And-Back Book"] = true
    },
    description = "Randomly translocates a targeted creature.",
    flags = {
      dir_or_target = true,
      escape = true,
      needs_tracer = true,
      not_self = true,
      WL_check = true
    },
    level = 3,
    name = "Teleport Other",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Translocation = 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.\n\nCertain powerful named artefacts cannot be animated, and any properties that require skill in evocations will not be active.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      not_self = true,
      WL_check = true
    },
    level = 3,
    name = "Tukima's Dance",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Hexes = true
    }
  },
  ["Vampiric Draining"] = {
    books = {
      ["book of Debilitation"] = true,
      ["book of Necromancy"] = 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
    }
  },
  ["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 = {
      chaotic = true,
      no_ghost = true,
      target = true
    },
    level = 5,
    name = "Yara's Violent Unravelling",
    noise = {
      casting = 5,
      effect = 15
    },
    ["power cap"] = 200,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Hexes = true,
      Alchemy = 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 ionized beam bypasses half of defenders' armour, and a second beam of fire follows in its wake.",
    flags = {
      needs_tracer = true
    },
    level = 6,
    name = "Plasma Beam",
    noise = {
      casting = 6,
      effect = 20
    },
    ["power cap"] = 200,
    range = {
      max = 7,
      min = 7
    },
    schools = {
      Fire = true,
      Air = true
    }
  },
  ["Volatile Blastmotes"] = {
    books = {
      ["book of Blasting"] = true,
      ["book of Spectacle"] = true
    },
    description = "Brings forth a cloud of volatile blastmotes around the caster, which explode when something moves into them or when they're exposed to open flames. The explosion is concussive, knocking adjacent creatures away. Damage done rises with the spell's power.",
    flags = {
    },
    level = 3,
    name = "Volatile Blastmotes",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Fire = true,
      Translocation = 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 = {
      unclean = true,
      dir_or_target = true,
      not_self = true,
    },
    level = 1,
    name = "Kiss of Death",
    noise = {
      casting = 1,
      effect = 0
    },
    ["power cap"] = 25,
    range = {
      max = 1,
      min = 0
    },
    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 = {

      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,
    },
  },
  ["Arcjolt"] = {
    books = {
      ["book of Lightning"] = true,
      ["Maxwell's Memoranda"] = 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 = {
      dir_or_target = true,
      not_self = true,
    },
    level = 5,
    name = "Arcjolt",
    noise = {
      casting = 5,
      effect = 10
    },
    ["power cap"] = 200,
    schools = {
      Conjuration = true,
      Air = true,
    },
  },
  ["Vhi's Electric Charge"] = {
    books = {
      ["book of Lightning"] = true,
      ["Maxwell's Memoranda"] = 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.",
    flags = {
      not_self = true,
    },
    level = 4,
    name = "Vhi's Electric Charge",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 50,
    schools = {
      Translocation = true,
      Air = 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 = {
      WL_check = true,
    },
    level = 2,
    name = "Jinxbite",
    noise = {
      casting = 2,
      effect = 0
    },
    ["power cap"] = 50,
    range = {
      max = 1,
      min = 1
    },
    schools = {
      Hexes = true,
    },
  },
  ["Mercury Vapours"] = {
    books = {
      ["book of Vapours"] = true,
      ["Young Poisoner's Handbook"] = true
    },
    description = "Briefly transmutes the air around a target into gaseous mercury, poisoning those who breathe it in. Further, the target and adjacent creatures (living or otherwise) may be weakened by mere exposure to the alchemical substance.",
    flags = {
      not_self = true,
      target = true
    },
    level = 2,
    name = "Mercury Vapours",
    noise = {
      casting = 2,
      effect = 0
    },
    ["power cap"] = 50,
    range = {
      max = 3,
      min = 3
    },
    schools = {
      Air = true,
      Alchemy = true
    }
  },
  ["Sigil of Binding"] = {
    books = {
      ["book of Debilitation"] = true,
      ["book of the Hunter"] = 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 and preventing subsequent binding effects.<br><br>Only one set of sigils can be maintained at a time and they will expire prematurely if they leave your sight.",
    flags = {
      WL_check = true,
    },
    level = 3,
    name = "Sigil of Binding",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    range = {
      max = 2,
      min = 2
    },
    schools = {
      Hexes = true,
    },
  },
  ["Brom's Barrelling Boulder"] = {
    books = {
      ["book of Geomancy"] = true,
      ["book of the Spheres"] = true,
    },
    description = "Unleashes a massive rolling boulder in a given cardinal direction. The boulder squashes and knocks back creatures it strikes, suffering wear and tear with each hit. If it strikes a wall, it will explode into fragments of rock, doing damage that is strongly reduced by armour.",
    flags = {
      not_self = true,
    },
    level = 4,
    name = "Brom's Barrelling Boulder",
    noise = {
      casting = 5,
      effect = 0
    },
    ["power cap"] = 200,
    range = {
      max = 1,
      min = 1
    },
    schools = {
      Earth = true,
      Conjuration = 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 = {},
    level = 4,
    name = "Dimensional Bullseye",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Hexes = true,
      Translocation = true,
    },
  },
  ["Summon Blazeheart Golem"] = {
    books = {
      ["book of Callings"] = true,
      ["book of Dangerous Friends"] = true
    },
    description = "Summons a volatile elemental spark encased in a shell of slag iron. It is capable of raining down powerful blows on its summoner's adversaries - so powerful that the golem itself is often damaged by their impact.<br><br> Only tenuously bound to this world, the flames within it will rapidly go dormant whenever its summoner leaves its side. If its shell is ever destroyed while still active, the exposed core will violently detonate a moment later.",
    flags = {},
    level = 4,
    name = "Summon Blazeheart Golem",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Fire = true,
      Summoning = true
    },
  },
  ["Martyr's Knell"] = {
    books = {
      ["book of Decay"] = true,
      ["book of Necromancy"] = 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 Necromancy"] = true,
      ["book of the Senses"] = true
    },
    description = "Curses a foe, halving their remaining health after the next two times thatthe caster strikes them in melee.",
    flags = {
      dir_or_target = true,
      needs_tracer = true,
      not_self = true,
      WL_check = true
    },
    level = 5,
    name = "Curse of Agony",
    noise = {
      casting = 5,
      effect = 0
    },
    ["power cap"] = 200,
    range = {
      max = 3,
      min = 3
    },
    schools = {
      Necromancy = true,
    },
  },
  ["Sculpt Simulacrum"] = {
    books = {
      ["book of Ice"] = true,
      ["book of the Tundra"] = true,
      ["book of Winter"] = 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.",
    flags = {
      dir_or_target = 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
    },
  },
  ["Bombard"] = {
    books = {
      ["book of Power"] = true,
      ["book of the Earth"] = 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 = 6
    },
    ["power cap"] = 200,
    range = {
      max = 4,
      min = 4
    },
    schools = {
      Conjuration = true,
      Earth = true
    },
  },
  ["Fugue of the Fallen"] = {
    books = {
      ["book of Dreams"] = true,
      ["book of Battle"] = 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.\n\nRecasting 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
    },
  },
  ["Permafrost Eruption"] = {
    books = {
      ["book of 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. \n\nIt will always attempt to blast the largest concentration of foes in sight, and never explodes next to the caster.",
    flags = {needs_tracer = true, destructive = true},
    level = 6,
    name = "Permafrost Eruption",
    noise = {
      casting = 6,
      effect = 0
    },
    range = {
      min = 6,
      max = 6
    },
    ["power cap"] = 200,
    schools = {
      Earth = true,
      Ice = true
    }
  },
  ["Gell's Gavotte"] = {
    books = {
      ["book of the Warp"] = true,
      ["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. \n\nThe 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'. \n\nIt 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 = {dir_or_target = true, needs_tracer = true},
    level = 6,
    range = {
      min = 1,
      max = 1
    },
    name = "Gell's Gavotte",
    noise = {
      casting = 6,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Translocation = true
    }
  },

  ["Hellfire Mortar"] = {
    books = {
      ["book of Armaments"] = 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. \n\nWhen 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 = {},
    level = 7,
    range = {
      min = 8,
      max = 8
    },
    name = "Hellfire Mortar",
    noise = {
      casting = 7,
      effect = 20
    },
    ["power cap"] = 200,
    schools = {
      Earth = true,
      Fire = true
    }
  },

  ["Magnavolt"] = {
    books = {
      ["Maxwell's Memoranda"] = true,
      ["book of Iron"] = 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. \n\nMagnetised 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,
        needs_tracer = true,
        destructive = true
    },
    level = 7,
    range = {
      min = 8,
      max = 8
    },
    name = "Magnavolt",
    noise = {
      casting = 7,
      effect = 20
    },
    ["power cap"] = 200,
    schools = {
      Air = true,
      Earth = 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. \n\nThis 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 = {
        area = true,
        destructive = true,
        chaotic = true},
    level = 8,
    range = {
      min = 8,
      max = 8
    },
    name = "Fulsome Fusillade",
    noise = {
      casting = 8,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Conjuration = true,
      Alchemy = true
    }
  },

  ["Rimeblight"] = {
    books = {
      ["book of Wicked Creation"] = true,
      ["book of Maladies"] = true
    },
    description = "Afflicts a creature 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 may erupt violently from their body, damaging nearby enemies and even spreading the affliction to others. \n\nIn 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,
        unclean = true,
        destructive = true},
    level = 7,
    range = {
      min = 5,
      max = 5
    },
    name = "Rimeblight",
    noise = {
      casting = 7,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Necromancy = true,
      Ice = true
    }
  },

  ["Cigotuvi's Putrefaction"] = {
    books = {
      ["book of Decay"] = true,
      ["Trismegistus Codex"] = 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. \n\nThis 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,
    range = {
      min = 5,
      max = 5
    },
    name = "Cigotuvi's Putrefaction",
    noise = {
      casting = 4,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Necromancy = true,
      Air = true
    }
  },

  ["Hoarfrost Cannonade"] = {
    books = {
      ["book of Winter"] = true,
      ["Compendium of Siegecraft"] = 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 = {},
    level = 5,
    name = "Hoarfrost Cannonade",
    noise = {
      casting = 5,
      effect = 0
    },
    ["power cap"] = 200,
    schools = {
      Ice = true,
      Alchemy = 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, then allows it to decompress abruptly, propelling both of them forward until the latter collides with something, inflicting damage proportional to the distance travelled. \n\nOriginally designed for use in construction, it will automatically target the nearest mass with the longest clear path towards a wall or other solid object (such as another monster).",
    flags = {},
    level = 3,
    range = {min=5, max=5},
    name = "Maxwell's Portable Piledriver",
    noise = {
      casting = 3,
      effect = 0
    },
    ["power cap"] = 100,
    schools = {
      Translocation = true
    }
  },

  ["Grave Claw"] = {
    books = {
      ["book of Unlife"] = 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. \n\nYou 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",
    range = {
      min = 4,
      max = 4
    },
    noise = {
      casting = 2,
      effect = 0
    },
    ["power cap"] = 50,
    schools = {
      Necromancy = true
    }
  },
  ["Soul Splinter"] = {
    books = {
      ["book of Necromancy"] = true,
      ["book of Cantrips"] = 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. \n\nWisps 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,
    range = {
      min = 5,
      max = 5
    },
    name = "Soul Splinter",
    noise = {
      casting = 1,
      effect = 0
    },
    ["power cap"] = 25,
    schools = {
      Necromancy = true
    }
  },

}