$trans = ['Common', 'Common', 'Common', 'Uncommon', 'Uncommon', 'Uncommon', 'Rare', 'Rare'];
shuffle($trans);
for ($i = 1; $i <= $t->handSize(); $i++) {
$t->setCard('my', $i, $t->drawCard($t->getList(['rarity'=>$trans[$i-1], 'keyword'=>'Runic']), $t->myData()->Hand, $i, 'drawCardList'));
}
$t->noNextCard();