Heresiarch



The Heresiarch is a boss enemy from Hexen that appears as a large demonic sorcerer. Three mana container-like cubes circle his head. He makes a cameo at the end of The Dome of D'Sparil in Heretic and appears as an enemy at the end of two hubs: Hub 3: Heresiarch's Seminary, and Hub 4: Castle of Grief. In Hexen: Deathkings of the Dark Citadel, there is one at the beginning of the Constable's Gate hub and another in Chantry, one of the maps in the Nave hub. He has 5000 hitpoints making him just as tough as Korax himself.

The Heresiarch can cast four different spells:


 * Create a barrier that deflects projectiles.
 * Shoot a stream of purple fireballs in a waving pattern.
 * Summon two fireballs that bounce along the floor and home in on the target.
 * When his health is low, he can summon Dark Bishops.

There are three cubes orbiting slightly above the Heresiarch, and it is these cubes from which the Heresiarch draws his power. The purple cube allows the Heresiarch to use attack #2 (as listed above), and to cast the homing fireballs. The blue cube allows the Heresiarch to generate his reflective/invulnerable shield, and the green cube allows the Heresiarch to summon Dark Bishops.

For players using Baratus (the Fighter), the Heresiarch can be hard to kill because he can only be hurt while his barrier is down. However, players using Parias (the Cleric) can kill the Heresiarch easily with large numbers of gas clouds (using fléchettes which will hurt the Heresiarch even when his barrier is up. For players using Daedolon (the Mage), repeated pummeling with the Sapphire Wand, preferably from behind cover, is a slow but sure way to bring the Heresiarch down.

When the Heresiarch dies, the cubes will fall to the floor and bounce several times before exploding. The explosions are very powerful and the blast radius is much larger than is apparent from the explosion sprites. Extra danger comes from the fact that a player might mistake the cubes for mana containers.

The Heresiarch incurs splash damage from its own purple missiles. However, the ZDoom source port changes this behavior so that he does not.

Anti-shield strategy
The Heresiarch only casts spells when the player is within his line of sight. This includes his shield spell, so it is possible to minimize the amount of time that the Heresiarch's shield is active by the following strategy: when the Heresiarch first enters battle, damage him as much as possible, e. g. with one's relic weapon, which should always be available by the time you face a Heresiarch in stock Hexen/Deathkings. Do not use the Dark Servant, as it might provide the Heresiarch with another target and foil the strategy. As soon as the Heresiarch raises his shield, run and hide nearby but out of his line of sight and count to 30 (this approximates the amount of time it takes the shield to wear off fairly accurately). If the Heresiarch begins to come into view before the shield is down, immediately retreat deeper into hiding. As soon as the count is up, though, rush out and damage the Heresiarch as much as possible once again until he raises his shield, then repeat the process as needed to kill him. With this tactic, it is possible to prevent the otherwise annoying situation where the Heresiarch starts casting a spell just before his shield wears off, choosing the shield spell to immediately restore his shield. As an added bonus, it also lets the player avoid suffering attack from the Heresiarch during his invulnerable period (not counting pursuit by the possessed lava balls).

Note that the Heresiarch with the deflecting shield up will still be damaged by any melee weapons, including the fighter's axe, and he will be damaged by the mage's Arc of Death (which is not a projectile and hence is not deflected by centaurs and the Heresiarch). He's not that invincible really, it's only an anti-missile shield.

Technicalities
The Heresiarch uses the cubes to cast his attacks, the Heresiarch himself does not actually fire these, this is why he can still attack when he is in a pain chance. If one were to create an actor with these cubes, the cubes would still fire, but the actor would just be doing what it normally does, unless it has the same attack states as the Heresiarch.

Hexen monsters have six byte-sized fields for a special and five args, when the monster is slain the special is run with the given args. (This allows to have simple scripted events such as opening a door when a monster is killed, without having to use ACS.) However, the Heresiarch uses its args to communicate with the cubes, so using them for a normal action special would not be reliable. Instead, when the Heresiarch is killed, it will execute the script with its special number. For example, in Hub 4: Gibbet, the Heresiarch met in single-player mode has a special of 20; when slain, instead of calling action 20 (Floor_LowerByValue), it runs this map's script 20.