Weaponshape
Transmutation (Polymorph)
Level: Wizard/Sorc 5, Duskblade 4
Components: V, S, F
Casting Time: 1 standard action
Range: Close
Target: 1 creature
Duration: 1 minute
Saving Throw: Will negates
Spell Resistance: Yes
Focus: A Masterwork weapon you are proficient with.
You transform the target into a magical version of the focus component for this spell. This works as the Greater Magic Weapon spell, but the resulting weapon also gains a number of weapon properties whose total enhancement does not exceed +1/5HD the target creature possesses (to a maximum of +5). Further, the resulting weapon is an Intelligent Item, with the Intelligence, Wisdom, and Charisma scores it normally possesses. If the target's combined Intelligence, Wisdom, and Charisma scores are at least 34 the weapon gains Communication, Capabilities, and Senses as outlined by Table 7-30 on pg 269 of the DMG. For every two points the target's combined scores are higher than that it gains more and more powerful Communications, Capabilities, and Senses (as if for higher rolls). You may use this spell on a willing target, and if you do, it need not make a saving throw, and may free itself from the effect of this spell as a free action. You may attempt to stop this by succeeding a Will save against the weapon's Ego score. The weapon may act on its own to activate it's capabilities using it's own set of actions (1 swift and 1 standard action per round), which you can again prevent by succeeding on a Will save against the weapon's Ego. If you cast this spell on a target that is already effected, the target must save against the spell a second time, and if it fails the effect becomes permanent. A Break Enchantment effect can return the creature to normal.
(am I missing anything?)