Tavern
Wall: +8 - N
Recruits: +N
N = #Barbarian + #Runic + #Soldier in hand
Cost (B / G / R)
7 / 0 / 0
BB code
Effect
Wall: +8 - N
Recruits: +N
N = #Barbarian + #Runic + #Soldier in hand
Code
$tmp = $t->keywordCount($t->myData()->Hand, 'Barbarian') + $t->keywordCount($t->myData()->Hand, 'Runic') + $t->keywordCount($t->myData()->Hand, 'Soldier');
$t->myData()->addWall(8 - $tmp)->addRecruits($tmp);