When being declared as an attacker, use the "not attacking" power and toughness. It only changes after declaration is complete.

Artwork
Loading artwork…
Gaea's Liege
30th Anniversary Edition · #192 · EN
Nonfoil—Foil—
Card rules
As long as Gaea's Liege isn't attacking, its power and toughness are each equal to the number of Forests you control. As long as Gaea's Liege is attacking, its power and toughness are each equal to the number of Forests defending player controls.
: Target land becomes a Forest until this creature leaves the battlefield.
*/*
Rare · Illustrated by Dameon Willich
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Premodern 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
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The activated ability doesn't affect whether the land is basic or not. It overwrites any other land types. Being a Forest gives the affected land the ability "
: Add
."
Will not add or remove the supertype snow to or from a land.