Magic well
If Magic < Enemy magic
Magic: +1
else
Gems: +11
Cost (B / G / R)
0 / 6 / 6
BB code
Effect
If Magic < Enemy magic
Magic: +1
else
Gems: +11
Code
if ($t->myData()->Magic < $t->hisData()->Magic) {
$t->myData()->addMagic(1);
}
else {
$t->myData()->addGems(11);
}