if ($t->keywordCount($t->hisData()->Hand, 'Dragon') == 0) {
$t->myData()->addStock(6);
}
else {
for ($i = 1; $i <= $t->handSize(); $i++) {
if ($t->getCard($t->hisData()->Hand[$i])->hasKeyword('Dragon')) {
$t->setCard('my', $i, $t->hisData()->Hand[$i], ['reveal' => true]);
$t->setCard('his', $i, $t->drawCard($t->hisDeck(), $t->hisData()->Hand, $i, 'drawCardDifferent'));
if ($t->cardPos() == $i) {
$t->noNextCard();
}
}
}
}