The checks for black cards is made both at the time you declare attackers and as the ability resolves. If there are any at the time attackers are declared, it won’t trigger at all. If there are any at the time it resolves, the ability will do nothing.

Artwork
Loading artwork…
Spectral Bears
Anthologies · #63 · EN
Nonfoil—Foil—
Card rules
Whenever this creature attacks, if defending player controls no black nontoken permanents, it doesn't untap during your next untap step.
3/3
"I hear there are bears—or spirits—that guard caravans passing through the forest." —Grulsen, abbey matron
Uncommon · Illustrated by Pat Lewis
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions