Thunderbird
If last card played cost gems
Enemy stock: -3
else
Gems: +9
Cost (B / G / R)
0 / 6 / 0
BB code
Effect
If last card played cost gems
Enemy stock: -3
else
Gems: +9
Code
if ($t->myLastAction() == 'play' && $t->myLastCard()->getResources('Gems') > 0) {
$t->hisData()->addStock(-3);
}
else {
$t->myData()->addGems(9);
}