The blue mage uses his magic to imbue his firearms with spells. The practice needed to learn and perfect the art of guns and magic means they have less time to hone their blue magic to perfection, and never learn to mimic the fighting styles of monsters. But combining this emerging technology with their considerable arcane skills, they transform firearms into a powerful focus.
The gun mage is an archetype of the blue mage class.
Sapphire Gun (Su)
The gun mage gains the Exotic Weapon Proficiency (simple firearms) feat, and one or two of his firearms can be sapphire guns. Sapphire guns are normal one-handed or two-handed firearms in the hands of others, as they were normal firearms before the gun mage imbued them with magic. In a gun mage’s hands, they both fire projectiles (bullets and pellets) and cast magic. At 1st level, the gun mage decides whether he wants to have one or two sapphire guns at a time. If the gun mage chooses to have only one sapphire gun at a time, spells fired through the sapphire gun that require an attack roll have a ×3 critical hit multiplier.
A gun mage can cast any ranged touch attack, cone, line, or ray spells through his sapphire gun. When he casts through the sapphire gun, the gun’s enhancement bonus (if any) is a bonus to the spell’s attack rolls or to the spell’s saving throw DCs. Yet there are dangers inherent to this method. If any of the spells’ attack rolls result in a natural 1 (a misfire), or a natural 20 is rolled on any saving throw made against the spell by a target (an overload), the sapphire gun gains the broken condition. If the sapphire gun already has the broken condition, the gun explodes. When a gun explodes, it lets loose a blast of force, or if the spell has the dark, earth, fire, ice, light, lightning, water, or wind descriptor, it deals that type of elemental damage instead. In the case of spells with multiple descriptors, roll randomly among the descriptors to determine the type of damage dealt by the blast. The blast is centered on a single intersection within the gun mage’s space (gun mage’s choice) and deals 1d6 points of the appropriate elemental damage or force damage per level of the spell cast. Any creature within the blast other than the gun mage can make a Reflex saving throw (DC 10 + sacrificed spell’s level + his Intelligence modifier) to halve the damage.
A gun mage can attune his sapphire guns at the start of each day. That attunement lasts until the gun mage attunes to a new gun, even if a formerly attuned gun is destroyed.
This ability replaces analysis.
The gun mage gains Precise Shot as a bonus feat.
This ability replaces spell proficiency.
The gun mage gains the Gunsmithing feat and a battered gun that is identical to the gun a gunner gains at first level. If the gun mage chooses the ability to attune two arcane guns, he still only starts out with one gun. Like a gunner, a gun mage can use the Gunsmithing feat to restore his battered gun.
This ability replaces a blue magery gained at 1st level.
Mage Bullets (Su)
A gun mage is adept at transferring spell energy into his sapphire gun attacks. As a swift action, he can spend MP (up to the highest spell level he can cast) and transform that energy into a weapon bonus equal to the MP spent on a single barrel of his firearm. With that weapon bonus the gun mage can apply any of the following to his weapon: enhancement bonuses (up to +5) and allying, designating (lesser and greater), distance, flaming, flaming burst, frost, ghost touch, huntsman, icy burst, merciful, seeking, shock, shocking burst, spell storing, thundering, and wounding. A sapphire gun gains no benefit from having two of the same weapon special abilities on the same barrel. The effect of the mage bullets ability lasts for a number of minutes equal to the MP spent, or until this ability is used again to assign the barrel different enhancements.
Fiend Hunter (Su)
At 4th level, the gun mage may choose a creature type (and subtype, if he chooses Humanoid or Outsider). He may spend 1 MP as a swift action to grant his sapphire guns the bane ability against that creature type. This benefit lasts until the beginning of his next turn. At 8th level and every four levels thereafter, the gun mage may select an additional creature type, and can choose to grant his sapphire guns the bane ability against that creature type instead. The gun mage may only have one fiend hunter ability active at a time.
Beginning at 12th level, the gun mage may spend an additional 2 MP to gain an additional +2 bonus to Attack rolls and +2d6 damage against the creature type.
This ability replaces azure physical training.
Fiend Slayer (Su)
At 20th level, once per day per creature type, the gun mage can spend an additional 2 MP when using his fiend hunter ability. In addition to taking damage normally, a creature that takes bonus damage from the gun mage’s fiend hunter ability must make a Fortitude Save (DC 10 + half of the blue mage’s level + his Intelligence modifier) or die. A gun mage can choose instead to deal an amount of nonlethal damage equal to the creature’s current hit points. A successful save negates this damage.
This ability replaces assimilation.