Spell Crafting!

Hi all,

For my game, the main characters can't create spells through their own willpower, and instead have to piece together "aspects" of magic from fallen enemies (item drops, loot from chests, etc). These "Aspect" items are divided into categories as shown (subject to change)

7284fec2e1.png

(Shade denotes getting unlocked at a later time, subject to change)
  • Target Type: Denotes who the spell will target (ally, enemy, "all" variants")
  • Action Type: Projectile? Empowered sword technique? Buff/Debuff element or stat?
  • Element Type: Elemental bonuses, etc
  • Intensity: Essentially a base damage multiplier, like going from Fire to Fira to Firaga in classic final fantasy.
  • Duration: Perhaps a better word should be used, but it denotes whether it's a charged attack, attacks twice/three times/etc/ and whether it deals damage over time (DoT)
  • Additional Effects: Add status effects, critical hit chance, draw from hit points, other wacky things.

Actors have a fixed limit of 10 skills, and are freely customizeable at any save spots (or map screen). The bare minimum required to make a functioning spell would be Target and Action type.

Here's a link to describe what the menu would look like: >>>HERE<<< (I apologize for the minimalist makeshift menu)

I'm not sure whether this is too complicated a task, but I'd really like to implement this system.

I theorize that the first step is to make 30 dummy spells (10 for each playable character) in the skill list, and then make a whole host of items that have appropriate data stored in their comments. And then scripting stuff happens to make sense of all that data, of which I have little skill in (still learning basic javascript).

I'd gladly take any suggestions on how to make this myself, though, or at least what things I should look out for and manipulate.

Thanks in advance!
This is the exact system I came up with for my game back in 2001. I knew someone would have the same idea eventually. 🙁
But is this a case of "great minds think alike" or "there's no such thing as originality" ? 🤔

I was actually a little inspired by Nier's Word system, where you'd get special effects on your magic and weapon attacks if you used them. I actually wanted to have the naming system for this to be as obscure, but then nobody would know what on earth a skill does on sight alone. Oh, and I suppose FF7 snuck its head in there somewhere with that materia system.
I'm not really sure where I got the initial idea from, but there's an old SNES RPG (I forget the name of it at present) where you could kind of choose your own spell effects by combining words that I think was one of the sparks.

The central conceit of my spellcrafting system is that each component is a rune that's implanted into the user's body in a spot reserved for the spell. It's an incredibly painful process, so only a few people in the world can cast anything more than a simple cantrip, though once a rune is implanted its nature can be changed by its host. The spellcrafter characters levelling up is basically denoting their hardening resolve against the pain of the process, which is why they're able to acquire more slots.

In terms of mechanic, it's similar to what you have only without the names. I hadn't actually decided specifically on the UI for it yet but the idea is that you can combine target, element, status effect, additional effect etc. components to create a custom spell, and its MP cost is determined by the relative power of the components that created it. There would be some specific names for certain combinations (like Death + random battler = Roulette for instance) but the rest would have prefixes/suffices that would combine to form a spell name based on its components.
That idea is even older than the SNES - I first encountered it in a Pen-and-Paper RPG in 1987 (DSA-Professional: Swordmasters of Tharun, a rewrite of the German DSA-Rulebook), using runestones for defining spells. It only worked because in PnP, there is a human game master interpreting the combination.

In computer terms, yes you would have to make one skill for every possible combination. And then there are several ways to implement that idea.
One option would be to use a crafting system, crafting a one-use-item for each spell.
Another one would be to simply have the player know all skills but use the components per use of the skill (there are any number of item cost plugins) - several Games of the Ultima series used such a system for example.

Or you could make the constructed items into equippable items giving the skill for multiple use, and then use equipment slots for that option - you don't even need a plugin then, only some tricky eventing for creating the skill-equipment
I'm not doing any of those things. I'm using a skill per skill slot and just changing its parameters/traits depending on what the player picks with Javascript code. It's pretty easy to add/remove traits programmatically, you just have to remember the codes for each trait.
Same as above. That being said though, equipping an item to give a skill is probably what I'd do as a placeholder before the real meat and veg get served. I'm still in the early art asset stage right now (see cutie in profile pic).

I wanted to avoid a crafting system with an irreversible result. The system I described would be more malleable and allow for free experimentation, including dud spells and even harmfully useless ones. It seemed natural for the player character, who is new to magic within the story, to experiment in such a way.

As my base theme is necromancers, I thought that it wouldn't be right if they did regular sorcery without a logical explanation, so I considered "spell necromancy", resurrecting the essence of used or excess magic and manipulating it. Other magic users would call it profane to do such a thing, but necromancers are edgelords who don't listen to authority.

Original thread: https://forums.rpgmakerweb.com/threads/spell-crafting.75281/