$my_cards = array_merge($t->myDeck()->Common, $t->myDeck()->Uncommon);
    for ($i = 1; $i <= $t->handSize(); $i++) {
      $cur_card = $t->myData()->Hand[$i];
      if ($t->getCard($cur_card)->getRarity() != 'Rare' && !in_array($cur_card, $my_cards) && $i != $t->cardPos()) {
        $t->setCard('my', $i, $t->drawCard($t->myDeck(), $t->myData()->Hand, $i, 'drawCardNoRare'));
      }
    }
    $his_cards = array_merge($t->hisDeck()->Common, $t->hisDeck()->Uncommon);
    for ($i = 1; $i <= $t->handSize(); $i++) {
      $cur_card = $t->hisData()->Hand[$i];
      if ($t->getCard($cur_card)->getRarity() != 'Rare' && !in_array($cur_card, $his_cards)) {
        $t->setCard('his', $i, $t->drawCard($t->hisDeck(), $t->hisData()->Hand, $i, 'drawCardNoRare'));
      }
    }