Gimli's Fury checks whether the creature is legendary as it resolves. If the target isn't legendary as the spell is cast but becomes one before the spell resolves, that creature will gain trample.

Artwork
Loading artwork…
Gimli's Fury
The Lord of the Rings: Tales of Middle-earth · #131 · EN
Nonfoil—Foil—
Card rules
Target creature gets +3/+2 until end of turn. If it's legendary, it also gains trample until end of turn.
"Two!" said Gimli, patting his axe.
Common · Illustrated by John Di Giovanni
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
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future 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
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions