Mercenaries
Production x0
Attack: 9 + 9N
N = #Facilities that were lowered to 1
Cost (B / G / R)
0 / 0 / 0
BB code
Effect
Production x0
Attack: 9 + 9N
N = #Facilities that were lowered to 1
Code
$t->production()->multiply(0);
$tmp = 0;
if ($t->myData()->Quarry == 1) {
$tmp++;
}
if ($t->myData()->Magic == 1) {
$tmp++;
}
if ($t->myData()->Dungeons == 1) {
$tmp++;
}
$t->hisData()->attack(9 + 9 * $tmp);