If the chosen target is an illegal target by the time Rin and Seri's last ability tries to resolve, the ability won't resolve. You won't gain life.

Artwork
Loading artwork…
Rin and Seri, Inseparable // Rin and Seri, Inseparable
Secret Lair Drop · #1554 · EN
Nonfoil—Foil—
Card rules
Rin and Seri, Inseparable
1Legendary Creature — Dog Cat
Whenever you cast a Dog spell, create a 1/1 green Cat creature token.
Whenever you cast a Cat spell, create a 1/1 white Dog creature token.


,
: Rin and Seri deals damage to any target equal to the number of Dogs you control. You gain life equal to the number of Cats you control.
4/4
Rin and Seri, Inseparable
1Legendary Creature — Dog Cat
Whenever you cast a Dog spell, create a 1/1 green Cat creature token.
Whenever you cast a Cat spell, create a 1/1 white Dog creature token.


,
: Rin and Seri deals damage to any target equal to the number of Dogs you control. You gain life equal to the number of Cats you control.
4/4
Mythic · Illustrated by Andrea Radeck
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Rin and Seri's first two abilities don't trigger when you cast Rin and Seri.
An ability that triggers when a player casts a spell resolves before the spell that caused it to trigger. It resolves even if that spell is countered.
The amount of damage Rin and Seri's last ability deals is determined only as that ability resolves. If Rin and Seri is still on the battlefield, it'll count itself.