There are abilities that are specifically targeted (eg Amber Rain) and those that do not target (Darkclaw).
As for Lythian Sledgehammer, you can tell the difference because it must not say "target"...