Prairie
Gain 1 random resource for each non-attack card in hand
Cost (B / G / R)
0 / 0 / 1
BB code
Effect
Gain 1 random resource for each non-attack card in hand
Code
$attack_cards = $t->getList(['advanced'=>'Attack:']);
for ($i = 1; $i <= $t->handSize(); $i++) {
if ($i != $t->cardPos() && !in_array($t->myData()->Hand[$i], $attack_cards)) {
$t->myData()->addRandomResources(1);
}
}