Shocking Image

Illusion (Figment) [electricity]
Level: Artificer * 4, Bard * 4, Bloodrager * 4, Sorcerer */Wizard * 4
Components: V, S
Casting Time: 1 Standard Action
Range: personal
Target: you
Duration: 1 minute/level
Saving Throw: None
Spell Resistance: see text
  This spell works like mirror image, except the illusory doubles it creates discharge an electric shock when destroyed. An opponent that uses a Melee Attack to destroy one of your images takes 2d6 points of electricity damage. You must overcome a target's spell resistance the first time you deal this electricity damage to it. Failure renders the target immune to damage from this spell.