You can't try to attach an Equipment to the target creature if that Equipment can't legally be attached to it.

Artwork
Loading artwork…
Battlefield Improvisation
Assassin's Creed · #276 · EN
Nonfoil—Foil—
Card rules
Target creature gets +2/+2 until end of turn. If that creature is attacking, you may attach any number of Equipment you control to it.
The fallen had no more need of their weapons, but the living could still make use of them.
Common · Illustrated by Mintautas Šukys
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern 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