A Mage is a type of enemy that uses magic to attack. There are six types:
|Goblin Sorcerer||Fire Imp||Dark Caster||Tim||Demon||Voodoo Demon|
The only thing that separates Voodoo Demon from Demon is that they carry a Guide Voodoo Doll.
A mage attacks with a magic sphere spell (Imps: Burning Sphere, Dark Caster: Water Sphere, Tim and Goblin Sorcerer: Chaos Ball) three times and then teleports to a new spot after some delay. The spheres can go through walls. Each sphere has 1 HP and can be destroyed before it reaches the player.
The above doesn't apply to the Demons and Voodoo Demons. Demons use a spell called Demon Scythe. These spells can't travel through tiles, but to balance this, they can't be destroyed unless they hit a tile. Nor does this rule apply to Harpies, as their feathers follow the same rule as the Demon Scythe, meaning they cannot be destroyed except by collision with tiles and they pierce players.
A Mage cannot cast while being attacked, but will teleport at the earliest possible chance. When hit it is stunned for a short while so a good weapon to use is a pickaxe, due to their generally fast speed, you can continuously hit them without them casting or teleporting. However, a stronger weapon than a Pickaxe is recommended since a Mage is hardly ever alone. Some recommendations are the Muramasa, Light's Bane,Excalibur, Phoenix Blaster or the Minishark. The Vilethorn spell is also recommended, due to its ability to ignore walls and its constant damage that prevents Mages from firing or teleporting.
Against Demons, and Voodoo Demons. it is recommended that you take cover to avoid the projectiles. However, in the case of Demons in the Underworld that's not an easy solution sometimes, so if you have to fight Demons or Harpies, simply keep moving and firing at it with a ranged weapon.