Earth elemental
If Quarry < Enemy quarry
Enemy quarry: -2
else
Quarry: = 4
Cost (B / G / R)
15 / 0 / 0
BB code
Effect
If Quarry < Enemy quarry
Enemy quarry: -2
else
Quarry: = 4
Code
if ($t->myData()->Quarry < $t->hisData()->Quarry) {
$t->hisData()->addQuarry(-2);
}
else {
$t->myData()->setQuarry(4);
}