Ambush
If targeting self and not New, discard the matching card, else replace a card in hand with self
Cost (B / G / R)
0 / 0 / 4
BB code
Effect
If targeting self and not New, discard the matching card, else replace a card in hand with self
Code
if (!$t->isMyNew($t->cardPos()) && $t->mode() == $t->cardPos()) {
$t->setCard('his', $t->cardPos(), $t->drawCard($t->hisDeck(), $t->hisData()->Hand, $t->cardPos(), 'drawCardDifferent'));
}
else {
if ($t->mode() == $t->cardPos()) {
$t->noNextCard();
}
else {
$t->replaceCard('my', $t->mode(), $t->card()->id());
}
}