Replace a card in hand with a card from your deck of the same rarity (can't summon self)
$rarity = $t->getCard($t->myData()->Hand[$t->mode()])->getRarity();
$list = array_diff($t->myDeck()->$rarity, [$t->card()->id(), $t->myData()->Hand[$t->mode()]]);
$t->setCard('my', $t->mode(), $t->drawCard($list, $t->myData()->Hand, $t->mode(), 'drawCardList'));
if ($t->mode() == $t->cardPos()) {
$t->noNextCard();
}