Exile all attacking creatures target player controls. That player may search their library for that many basic land cards, put those cards onto the battlefield tapped, then shuffle.
The number of lands that player may find is the number of attacking creatures that were exiled, even if some of those creatures were tokens, weren’t creature cards, or didn’t end up in exile (most likely because one was that player’s commander in the Commander variant).
29-09-2017
wotc
That player can find fewer basic land cards than the number of exiled creatures, whether because they want to or because they don’t have that many basic land cards left.
29-09-2017
wotc
Settle the Wreckage targets only the player. Creatures with hexproof that player controls will be exiled as this spell resolves.
Random a card of Magic: The Gathering (MTG), but you can also roll the D20 dice, random a Planeswalker, have fun with the random rules and more.