Warning: This is 3.0 Edition material. It is possible that there is more recent 3.5 Edition version.
Inaccurate?

Disrupt Ectoplasm

(Ghostwalk)

Necromancy [Ectomancy]
Level: Cleric 0, Sorcerer 0, Wizard 0,
Components: V, S,
Casting Time: 1 action
Range: Close (25 ft. + 5 ft./2 levels)
Effect: Ray
Duration: Instantaneous
Saving Throw: None
Spell Resistance: Yes

You direct a ray of energy that damages ectoplasm.
You must make a ranged touch attack roll to hit, and if the ray hits a ghost or object made of ectoplasm, it deals 1d6 points of damage to it.
This damage bypasses the hardness of ectoplasmic objects and the damage reduction of ectoplasmic creatures.