Mithril mine
If Quarry < Enemy quarry
Quarry: +1
else
Bricks: +11
Cost (B / G / R)
5 / 5 / 0
BB code
Effect
If Quarry < Enemy quarry
Quarry: +1
else
Bricks: +11
Code
if ($t->myData()->Quarry < $t->hisData()->Quarry) {
$t->myData()->addQuarry(1);
}
else {
$t->myData()->addBricks(11);
}