Necromantic Burden

Necromancy
Level: Artificer * 2, Cleric */Oracle * 2, Sorcerer */Wizard * 3, Warlock * 3
Components: V, S, M/DF (a handful of knucklebones)
Casting Time: 1 round
Range: close (25 ft. + 5 ft./2 levels)
Target: one undead creature
Duration: 1 hour/level
Saving Throw: Will negates
Spell Resistance: yes
  You make an undead creature more difficult for necromancers and clerics to control via effects such as Command Undead or control undead. If the target fails its Will Save, the target's effective number of Hit Dice is doubled for the purposes of determining whether it remains under the control of another creature.
  Regardless of the target's actual Hit Dice, its effective Hit Dice cannot exceed twice your Caster Level. (For example, a 12th-level cleric could cast this spell to cause an undead creature with 15 Hit Dice to instead effectively have 24 Hit Dice for the purpose of controlling it.) If the targeted undead is under the control of another creature and this spell causes the target's effective Hit Dice to exceed the controller's maximum capability, the target creature is immediately freed from control. Any creature capable of controlling undead may attempt to control the target, provided the target's effective Hit Dice won't cause the would-be controller to exceed its Hit Dice limit. The target's former controller can attempt to regain control over the target by relinquishing command over other creatures until its Hit Dice limit is no longer exceeded (or the former controller can wait until the spell's duration expires to attempt this at the target's normal Hit Dice).