$tmp = 0;
for ($i = 1; $i <= $t->handSize(); $i++) {
if ($t->getCard($t->myData()->Hand[$i])->hasKeyword('Undead') && $i != $t->mode() && $i != $t->cardPos()) {
$t->setCard('my', $i, $t->drawCard($t->myDeck(), $t->myData()->Hand, $i, 'drawCardRandom'));
$tmp++;
}
}
$t->hisData()->attack(9 * $tmp);