Eternal guardian
If last card played was Undead
Tower: +N / 3
Wall: +N / 2
N = cost of last card played
Cost (B / G / R)
1 / 1 / 1
BB code
Effect
If last card played was Undead
Tower: +N / 3
Wall: +N / 2
N = cost of last card played
Code
if ($t->myLastCard()->hasKeyword('Undead') && $t->myLastAction() == 'play') {
$tmp = $t->myLastCard()->getResources();
$t->myData()->addTower(round($tmp / 3))->addWall(round($tmp / 2));
}