MArcomage

Free multiplayer on-line fantasy card game

Please log in


0 C
Reuse the rubble
Reuse the rubble

If last card was Unliving
Tower: +N / 3
Wall: +N / 2
N = bricks cost of last card (max 40)

Id
349
Name
Reuse the rubble
Rarity
Common
Keywords
Cost (B / G / R)
0 / 0 / 0
Modes
0
Level
10
Created
12. Feb, 2008
Modified
24. Dec, 2013
Played
2673 / 22642
Discarded
926 / 6067
Drawn
4094 / 33211

BB code

Effect

If last card was Unliving
Tower: +N / 3
Wall: +N / 2
N = bricks cost of last card (max 40)

Code

    if ($t->myLastCard()->hasKeyword('Unliving')) {
      $tmp = min(40, $t->myLastCard()->getResources('Bricks'));
      $t->myData()->addTower(round($tmp / 3))->addWall(round($tmp / 2));
    }