Shogun
Tower: +N
Wall: +N
N = #Facilities
Enemy tower: -#Enemy facilities
Cost (B / G / R)
0 / 0 / 0
BB code
Effect
Tower: +N
Wall: +N
N = #Facilities
Enemy tower: -#Enemy facilities
Code
$my_faciltities = $t->myData()->Quarry + $t->myData()->Magic + $t->myData()->Dungeons;
$his_faciltities = $t->hisData()->Quarry + $t->hisData()->Magic + $t->hisData()->Dungeons;
$t->myData()->addTower($my_faciltities)->addWall($my_faciltities);
$t->hisData()->addTower(-$his_faciltities);