Prince of thieves
If not New
Steals the difference between opponent's stock and stock (max 15, min 5)
Cost (B / G / R)
0 / 0 / 10
BB code
Effect
If not New
Steals the difference between opponent's stock and stock (max 15, min 5)
Code
if (!$t->isMyNew($t->cardPos())) {
$tmp = min(15, max(5, $t->hisData()->Bricks - $t->myData()->Bricks));
$t->myData()->addBricks($tmp);
$t->hisData()->addBricks(-$tmp);
$tmp = min(15, max(5, $t->hisData()->Gems - $t->myData()->Gems));
$t->myData()->addGems($tmp);
$t->hisData()->addGems(-$tmp);
$tmp = min(15, max(5, $t->hisData()->Recruits - $t->myData()->Recruits));
$t->myData()->addRecruits($tmp);
$t->hisData()->addRecruits(-$tmp);
}