Ancient power
Players gain 1 stock for each rare card and each Dragon in their hand
Cost (B / G / R)
0 / 0 / 0
BB code
Effect
Players gain 1 stock for each rare card and each Dragon in their hand
Code
$mine = $his = 0;
for ($i = 1; $i <= $t->handSize(); $i++) {
if ($i != $t->cardPos() && $t->getCard($t->myData()->Hand[$i])->getRarity() == 'Rare') {
$mine++;
}
if ($t->getCard($t->hisData()->Hand[$i])->getRarity() == 'Rare') {
$his++;
}
}
$mine+= $t->keywordCount($t->myData()->Hand, 'Dragon');
$his+= $t->keywordCount($t->hisData()->Hand, 'Dragon');
$t->myData()->addStock($mine);
$t->hisData()->addStock($his);