The “power less than or equal to the number of treasure counters on this card” restriction is a targeting restriction and will be checked on resolution in addition to on announcement. If the creature’s power changes to be greater than this before the effect resolves, then the Legacy’s Allure triggered ability doesn’t resolve, but the card stays in the graveyard.

Artwork
Loading artwork…
Legacy's Allure
The List · #TMP-71 · EN
Nonfoil—Foil—
Card rules
At the beginning of your upkeep, you may put a treasure counter on this enchantment.
Sacrifice this enchantment: Gain control of target creature with power less than or equal to the number of treasure counters on this enchantment. (This effect lasts indefinitely.)
Uncommon · Illustrated by Daren Bader
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