Text (UD+errata): Reveal any number of black cards in your hand. Target creature gets -X/-X until end of turn, where X is the number of cards revealed this way. [Oracle 2009/07/08]
You reveal cards, and thereby the value of X, on resolution. [Urza's Destiny FAQ 1999/05/25]