thinking about a damage and defense system for a game where the player-character and all the enemies use magic, and the player can make their own spells
thinking like, damage is given a 'type' (fire, lightning, ice, poison, generic "magic" damage for typeless damage etc) and while certain equipment can provide protection against maybe one or two damage types, you can also make Ward spells that shield you against a specific damage type with a % based on spell level, and they can be stacked with one another as much as you want. so you could stack a magic ward and a poison ward and a fire ward etc
maybe a mana upkeep cost for each ward so you're capped by how much mana you have or can passively generate
also maybe rarer/more powerful damage types are more costly to ward against. like void damage being super rare outside of like, an endgame area and requiring a lot of mana to defend against with a ward
