Acolyte
If Gems > Enemy gems
Attack: 10
else
Gems: +7
Cost (B / G / R)
0 / 2 / 5
BB code
Effect
If Gems > Enemy gems
Attack: 10
else
Gems: +7
Code
if ($t->myData()->Gems > $t->hisData()->Gems) {
$t->hisData()->attack(10);
}
else {
$t->myData()->addGems(7);
}