Name:Boreas Charger
ManaCost:2 W
Types:Creature Pegasus
PT:2/1
K:Flying
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigChooseOpp | TriggerDescription$ When CARDNAME leaves the battlefield, choose an opponent who controls more lands than you. Search your library for a number of Plains cards equal to the difference, reveal those cards, put one of them onto the battlefield tapped and the rest into your hand, then shuffle.
SVar:TrigChooseOpp:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent+withMoreLandsThanYou | SubAbility$ TrigSearchHand
SVar:TrigSearchHand:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Plains.YouCtrl | ChangeNum$ Z | NoShuffle$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | StackDescription$ None | SubAbility$ TrigSearchPlay
SVar:TrigSearchPlay:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Plains.YouCtrl | ChangeNum$ 1 | StackDescription$ None | NoLooking$ True | Tapped$ True | ConditionCheckSVar$ X
SVar:X:Count$Valid Land.ChosenCtrl/Minus.Y
SVar:Y:Count$Valid Land.YouCtrl
SVar:Z:SVar$X/Minus.1
Oracle:Flying\nWhen Boreas Charger leaves the battlefield, choose an opponent who controls more lands than you. Search your library for a number of Plains cards equal to the difference, reveal those cards, put one of them onto the battlefield tapped and the rest into your hand, then shuffle.
