Magic represent a supernatural power that dwells inside a world and can be handled in different ways by characters with specific skills.
In roguelikes, magic represent a group of skills that almost always consumes finite or regenerative resources (such as Mana from a character in order to produce an offensive, defensive or supportive effect upon the character, other characters, or the game world).
It is common for each roguelike to have its own Magic System, representing the agrupations of different magical effects as well as defining the rules for the use of magic.
Magic is the main alternative to the common Hack'n'Slash strategy in roguelikes, allowing the player to refine his attack choices according to the situation, thus making wizards more powerful than warrior, if the character has advanced enough and the player knows how to play the game.
Magic is activated via Spellcasting, which can be performed in several ways:
- Reading a book or scroll that has the spell inscribed on it
- Praying to the gods for a holy effect
- Invoking the spell from memory having learned it before
- And many others, commonly defined by each game
Wizards are commonly weak at the beginning, but grow more powerful than warrior classes in the long run.