Oracle
Gems: +#revealed cards in opponent's hand (max 4)
Cost (B / G / R)
0 / 1 / 0
BB code
Effect
Gems: +#revealed cards in opponent's hand (max 4)
Code
$tmp = 0;
for ($i = 1; $i <= $t->handSize(); $i++) {
if (!$t->hiddenCards() || isset($t->hisData()->Revealed[$i])) {
$tmp++;
}
}
$t->myData()->addGems(min($tmp, 4));