"Magic missile is just a teleportation spell to a gun range. Create food and water? Teleportation. Teleport? Believe it or not, a hack of disintegration"
We found a race condition in the teleport code. Turns out the efficiency curve for the restoration magic that undoes the disintegration in real time has a parabolic mana requirement related to mass, but disintegrate has a caterneric curve. For human sized stuff they match up, but if you try to teleport something of sufficient mass the restoration starts to draw a disproportionate amount of mana and the whole thing falls apart.
How we found out? We knew from the start there would be a discrepancy. Early testing pointed to this problem. And we warned every superior up the chain. But in the end we were ordered to just put a warning on the scroll.
We were only taken serious after a junior magician thought it was funny to teleport an elephant into their observatorium before exams and neglected the warnings. That is how the Mana Void of Barkley Academy was formed.
The superiors were out for blood when the first court summon scrolls appeared, using competitors teleportation technology. That was until we gave them a copy of our manilla scroll holder full with communication of them neglecting to heed our warnings.
Charles Stross' Laundry series is basically this concept set in the present day: magic is a branch of mathematics, which means it can be computed and programmed.
It is perhaps worth noting at this point the series genre is cosmic horror.
This series seems to check more boxes than I thought I had...
i'm adding it to the top of the list. Except i don't have a list, so I'm creating a list and adding it to that and therefore it automatically finds itself at the top of it.
Have you tried closing and re-opening your spell book?
What's the uptime on your portal?
Apple-wood makes really good wands for illusions.
Oh, the staff? Built it myself. Hexacore silicon based crystal lattice CPU (Casting Power Unit), 4 billion RAM (Refined Arcane Modules) with an upgraded SSD (Swift Spell Deck) that can hold 2 trillion sigils. Yeah, of course it has RGB aura effects.
"What the fuck? why is this spell trying to access your Patron directly? Theres no reason it cant run off your local mana reserves"
"Wow I made the pact with the creature from the abyss to get my powers, and now it wants a monthly sacrifice in order to keep use them?"
"How does a simple "create water" spell have a 15 second cast time? Is it doing something else in the background or were the glyphs written by a first year apprentice?"
"Ah fuck how do I change the incantation for my spell again? Let me search the the orb real quick...."
"How does a simple "create water" spell have a 15 second cast time? Is it doing something else in the background or were the glyphs written by a first year apprentice?"
And that's how the backdoor (literal) in the xzutils material component was discovered.
"I copied this spell from an overflowing stack of tomes. I think it was originally meant to cleanse all living things from religious stonework, but I changed some of the constants now it works as disinfectant."
"Woah! You can't just cast any spell you find laying around. You have to create a virtual world first, then cast the spell. That way if shit goes pear shaped, you just pull the plug and the world vanishes. Can you imagine if you got a grimoire labeled 'Summon Frog', but it actually summoned a plague of frogs? Do you know even who wrote the book? Bro. Virtual World."
Whoa. That is 100% my new favorite campaign setting idea. A wizard's virtual test world, with all sorts of crazy random nonsense happening, and then one day the inhabitants find out he's going to reset the virtual world.
Or just plug it into a running campaign:
A wizard was using another smaller plane of existence as this, but they have somehow become unable to close it again and the party need to venture inside to fix it so he may safely close it again!
"No, we don't ever touch the old Seance. The wizards of old wrote it a long time ago and the last time we changed a word it stopped summoning demons in jars and started summoning them in rectal cavities. Just leave it alone."
Oh no. Do you mean Midnight for each monestary locally, or do you mean when it's midnight at our prime monestary that it is cast? Three are in the time zone an hour ahead, and seven are an hour behind! They need to happen simultaneously for it to work!
Sir Terry Pratchett's Discworld's wizards are sort of like this, at least once Mustrum Ridcully becomes archchancellor, and especially once they built their magic Rube Goldberg style supercomputer Hex.
+++ Out Of Cheese Error. Please Reinstall Universe And Reboot. +++
I lost a run the other day to a series of events, one of which included me (in-game) finding and eating enough psychedelic fungus to trigger a shift in reality, which transmuted all smoke in the universe and any created thereafter, into acid. Like carbolic acid, not the fun drugsy kind.
Acid, naturally, eats through all creatures and materials in the game world, including many things you'd consider otherwise invulnerable, until it evaporates - into flammable gas.
Therefore any time an object or material caught fire (which is often, with or without player interference), it would quickly consume anything below it for several meters while feeding itself with flammable gas and spreading to any new flammable materials it uncovered.
Also, as someone who didn't understand this, most of the crazy stuff you get right away. I think because it sort of looks like Terraria I thought a lot of stuff is crazy high level items but it's not.
That's just the beauty of its spell system, found yourself a trigger spell, double cast, and chainsaw? Well now you have a gattling wand. Want to impose 4 billion damage onto your archenemy? One simple spell may do the trick
Debugging spells is just as much a dark art as spell crafting itself. When I was a young apprentice we didn't have as sophisticated tools as you do now; you had to make sure you noted down your intermediate runes correctly and use those symbols to divine some meaning from the ashes of your failed spell. One time I mixed up my notes with the symbols of a different spell and when I sprinkled the ashes on the stack I was stuck speaking in tounges for a week.
These days of course you can summon a lesser demon to freeze your spell and ask it about the state, but the demons can be tricky and it's easy for novices to make a mistake and allow the demon to run amok - makes a real mess of the lab.
Debugging spells isn't like the fancy debuggers in your modern IDE. You gotta compile the spell with debugging symbols and run it through the spell equivalent of gdb direct in the command line.
But most wizards just go with the ol' "add print statements everywhere" method of debugging.
"Glorfinx's Globular Glassblower" still shouts "HERE!" at max volume when it walks past a wet dog because he never removed the printf rune after he fixed a bug relating to dripping fur.
See Rich Cook's Wizardry series. It's about software engineers transported to a fantasy world and they start approaching magic as software. They create complex spells out of lots of smaller spells, they even create a debugger demon.
Oh that series is so much fun! I need to read those books again. Another good one is Scott Meyer's Magic 2.0 series. Basically a random dude finds the rules.ini file for the universe hiding out on the internet and ends up using it to travel back back to Arthurian England to live openly as a Wizard. Except he's not the first one with that idea...
"Gods, I swear you fix one thing in a ritual, two more take it's place - my teleportation no longer puts me in the ground, but now my clothes arrive backwards and occasionally I'm upside down - didn't even touch those bits of the spell!"
"Gods, I swear you fix one thing in a ritual, two more take its place - my teleportation no longor puts me in the ground, but now my clothes arrive backwards and occasionally I'm puside down - didn't even touch those bits of the spell!"
Some smartass drew a penis into the runes for the ritual circle during development by mistake. We tried removing it once we noticed it, but then the whole spell broke so we had to leave it in.
This would help explain why there are so few spells compared to the infinite possibilities of magic. Many problems are solved. There are only so many ways to sort a list and many of them are either entirely unuseful or only good for specific situations. Turns out there's only one way to make a fireball. Every other way doesn't work as good.
This is probably true in the game world as well as in the game development world. WotC and Paizo could create more variations on Fireball, sure, but does it really change the game in a meaningful way?
Like a electricity Wizard who casts lightningball instead.
They could just add rules that allow you to tweak the spells, just like how they allow for increasing damage with a higher spell slot. But also changing AoE size, changing damage type, range, changing needing to see the target, and other properties, ... All which you will have to chose when preparing the spell for the first time, not to overshadow metamagic and keep the game flowing.
There is one standard way to cast fireball - it works, it's cheap, it very rarely backfires, it's in all the textbooks, everyone knows how it behaves - but sometimes you sit down in a tavern next to another wizard and you just know before they even open their mouth that they are going to spend the next twenty five minutes telling you about how they learnt this alternative way to cast it and it's taken a bit of practice but they can just about cast it as fast as they could before and how it's so much more ergonomic or whatever
"Wait, you're still using store-bought ashes? Haven't you ever made your own? It's super easy, and you don't have to worry if your bone ash is ever cut with Birch anymore."
Write us a sketch comedy episode of Gandalf contacting up Tech support because this particular spell isn't working. Patrick will troubleshoot the problem. In the end it's Darth Vader who figures out the solution.
Star Trek example. It would be really funny to me if Scotty refused to personally use the transporter. Everyone else beams down and he shows up on the shuttle a few hours later.
Which is probably why I have a soft spot both for the "lost technologies" scifi trope, and fantasy universes where magic is studied just like any other science