Elven archer
If Wall > Enemy wall
Enemy tower: -7
else
Attack: 6
Cost (B / G / R)
0 / 0 / 5
BB code
Effect
If Wall > Enemy wall
Enemy tower: -7
else
Attack: 6
Code
if ($t->myData()->Wall > $t->hisData()->Wall) {
$t->hisData()->addTower(-7);
}
else {
$t->hisData()->attack(6);
}