Tubular bells
If #Facilities >= #Enemy facilities
Stock: -15
Always:
Facilities: +1
Cost (B / G / R)
0 / 0 / 0
BB code
Effect
If #Facilities >= #Enemy facilities
Stock: -15
Always:
Facilities: +1
Code
if (($t->myData()->Quarry + $t->myData()->Magic + $t->myData()->Dungeons) >= ($t->hisData()->Quarry + $t->hisData()->Magic + $t->hisData()->Dungeons)) {
$t->myData()->addStock(-15);
}
$t->myData()->addFacilities(1);