If you controlled a Dinosaur when you declared Burning Sun Cavalry as an attacker or blocker, it doesn't matter whether you still control one as its ability resolves. Burning Sun Cavalry will still get +1/+1 until end of turn.

Artwork
Loading artwork…
Burning Sun Cavalry
The Lost Caverns of Ixalan · #138 · EN
Nonfoil—Foil—
Card rules
Whenever this creature attacks or blocks while you control a Dinosaur, this creature gets +1/+1 until end of turn.
2/2
"By fire and lightning, tooth and claw, we will send these invaders fleeing back to Torrezon!"
Common · Illustrated by Josu Hernaiz
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
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions