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

Know Greatest Enemy

(Magic of Faerun)

Divination
Level: Blackguard 3, Paladin 3 (Savras),
Components: V, DF,
Casting Time: 1 action
Range: Close (25 ft. + 5 ft./2 levels)
Area: Quarter circle emanating from you to the extreme of the range
Duration: Concentration, up to 1 round/level
Saving Throw: None (see text)
Spell Resistance: Yes

This spell evaluates the creatures in the area and determines the relative power level of each.
Creatures are evaluated as follows:
Among creatures within the same category, you know which is the most powerful, but not why.
For example, among a group of ogres (CR 2), you would know one of them (an ogre with 2 levels of barbarian, CR 4) was the most powerful, but not know if it was because the ogre had class levels, because of a template (such as half-fiendish), or for other reasons.
Any spell of 3rd level or higher that prevents scrying attempts on a creature (such as nondetection) or area (such as false vision) thwarts this spell's ability to evaluate that creature or creatures within that area.

Also appears in

  1. Spell Compendium