Last Azlanti's Defending Sword

Evocation [force]
Level: Magus * 6, Sorcerer */Wizard * 6
Components: V, S, F (a miniature platinum sword worth 250 gp)
Casting Time: 1 Standard Action
Range: close (25 ft. + 5 ft./2 levels)
Effect: one sword
Duration: 1 round/level (D)
Saving Throw: None
Spell Resistance: yes
  You create a sword of force that functions as mage's sword except as described here. The sword does not receive the additional +3 Enhancement Bonus a mage's sword receives, and deals 3d6 points of force damage. You cannot command the sword. Until the sword is triggered, it hovers in your space without interfering with your actions. While hovering in this way, the sword attempts to defend you from incoming attacks, granting you a +4 Shield Bonus to your AC. The first time a foe within close range damages you or forces you to attempt a saving throw that you fail, the sword is triggered and begins attacking that target as described in mage's sword for the duration of the spell. This ends the Shield Bonus. You cannot direct the sword to defend against a new target once it has begun to attack. If its target moves beyond the sword's range, the sword returns to you and hovers until the target is again within range. The sword's return does not restore the spell's Shield Bonus to AC.