If you don’t control a Dinosaur as Tilonalli’s Knight attacks, its ability won’t trigger at all. If you don’t control a Dinosaur as the ability of Tilonalli’s Knight resolves, that ability has no effect.

Artwork
Loading artwork…
Tilonalli's Knight
Ixalan · #169 · EN
Nonfoil—Foil—
Card rules
Whenever this creature attacks, if you control a Dinosaur, this creature gets +1/+1 until end of turn.
2/2
The people of the Sun Empire worship the sun in three aspects. Tilonalli is the Burning Sun, associated with ferocity, fire, and passion.
Common · Illustrated by Lius Lasahido
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Once the ability of Tilonalli’s Knight resolves while you control one or more Dinosaurs, Tilonalli’s Knight gets +1/+1 for the rest of the turn even if you no longer control a Dinosaur later in the turn.