Barbz's hideout
Quarry: +1 for each rare in hand
Tower: +5 for each uncommon in hand
Wall: +8 for each common in hand
Cost (B / G / R)
30 / 0 / 0
BB code
Effect
Quarry: +1 for each rare in hand
Tower: +5 for each uncommon in hand
Wall: +8 for each common in hand
Code
for ($i = 1; $i <= $t->handSize(); $i++) {
$cur_card = $t->getCard($t->myData()->Hand[$i]);
if ($cur_card->getRarity() == 'Rare') {
$t->myData()->addQuarry(1);
}
elseif ($cur_card->getRarity() == 'Uncommon') {
$t->myData()->addTower(5);
}
elseif ($cur_card->getRarity() == 'Common') {
$t->myData()->addWall(8);
}
}