There are also items which can raise the magic resistance. Some items raise one specific type of magic or negates it. There are also monsters who are more or less resistant to a specific type of magic. The power of magic increases if used on the monster with the opposite attribute. But decreases if the attribute is the same.
Player characters can also have a specific attribute by using special items.
Each spells can affect the caster's alignment also. And some spells gain more power as the caster's alignment gets closer to them. Some spells shoot a beam from the caster. Every spells have it's own possible target. If you don't specify the correct target, the spell doesn't work.