This item is from the ELH (Epic Level Handbook) and I am having problems trying to figure out how the costing works.
Energy Drain is a 9th level spell.
Caster level 21.
Spell level 9 x Caster Level 21 = 189
189 x 2000gp for continuous effect = 378000gp
Bastard Sword +335gp
+5 weapon...