Orc regiment
Attack: 80
If matching card or its adjacent cards are zero cost
Attack: 20
Cost (B / G / R)
0 / 0 / 60
BB code
Effect
Attack: 80
If matching card or its adjacent cards are zero cost
Attack: 20
Code
$t->hisData()->attack(80);
$hisHand = $t->hisData()->Hand;
if ($t->getCard($hisHand[$t->cardPos()])->getResources() == 0 ||
(isset($hisHand[$t->cardPos() + 1]) && $t->getCard($hisHand[$t->cardPos() + 1])->getResources() == 0) ||
(isset($hisHand[$t->cardPos() - 1]) && $t->getCard($hisHand[$t->cardPos() - 1])->getResources() == 0)) {
$t->hisData()->attack(20);
}