Ravening Warg's triggered ability will check when it attacks to see if you control a creature with power 4 or greater. If you don't, the ability won't trigger at all. It will not check again when it resolves, so the ability will resolve even if you no longer control a creature with power 4 or greater.

Artwork
Loading artwork…
Ravening Warg
The Hobbit · #80 · EN
Nonfoil—Foil—
Card rules
Deathtouch
Ferocious — Whenever this creature attacks while you control a creature with power 4 or greater, you gain 2 life.
2/2
Goblins and wolves returned to the assault and soon forced their foes into a great ring, hemmed on all sides.
Common · Illustrated by Adrián Rodríguez Pérez
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future 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
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