$t->hisData()->attack(1);
if ($t->myLastCard()->getResources() == 0 && $t->myLastAction() == 'play' && $t->myLastCard()->id() > 0) {
$uncommon = $t->getList(['rarity'=>'Uncommon', 'cost'=>'Zero']);
$rare = $t->getList(['rarity'=>'Rare', 'cost'=>'Zero']);
$t->nextCard($t->drawCard(array_merge($uncommon, $rare), $t->myData()->Hand, $t->cardPos(), 'drawCardList'));
}