Reuse the rubble
If last card was Unliving
Tower: +N / 3
Wall: +N / 2
N = bricks cost of last card (max 40)
Cost (B / G / R)
0 / 0 / 0
BB code
Effect
If last card was Unliving
Tower: +N / 3
Wall: +N / 2
N = bricks cost of last card (max 40)
Code
if ($t->myLastCard()->hasKeyword('Unliving')) {
$tmp = min(40, $t->myLastCard()->getResources('Bricks'));
$t->myData()->addTower(round($tmp / 3))->addWall(round($tmp / 2));
}