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
