Justice
Player(s) with lowest tower gains
Tower: +10
Player(s) with lowest wall gains
Wall: +10
Cost (B / G / R)
0 / 0 / 0
BB code
Effect
Player(s) with lowest tower gains
Tower: +10
Player(s) with lowest wall gains
Wall: +10
Code
$my_tower = $t->myData()->Tower;
$my_wall = $t->myData()->Wall;
$his_tower = $t->hisData()->Tower;
$his_wall = $t->hisData()->Wall;
if ($my_tower <= $his_tower) {
$t->myData()->addTower(10);
}
if ($my_wall <= $his_wall) {
$t->myData()->addWall(10);
}
if ($my_tower >= $his_tower) {
$t->hisData()->addTower(10);
}
if ($my_wall >= $his_wall) {
$t->hisData()->addWall(10);
}