Pixie
Stock: +N/2 - 1
N = #common cards in hand
Cost (B / G / R)
0 / 1 / 0
BB code
Effect
Stock: +N/2 - 1
N = #common cards in hand
Code
$tmp = 0;
for ($i = 1; $i <= $t->handSize(); $i++) {
if ($t->getCard($t->myData()->Hand[$i])->getRarity() == 'Common') {
$tmp++;
}
}
$t->myData()->addStock(max(round($tmp / 2) - 1, 0));