MArcomage

Free multiplayer on-line fantasy card game

Please log in


1 1 1 U
Eternal guardian
Eternal guardian

Undead Durable

If last card played was Undead
Tower: +N / 3
Wall: +N / 2
N = cost of last card played

Id
350
Name
Eternal guardian
Rarity
Uncommon
Keywords
Cost (B / G / R)
1 / 1 / 1
Modes
0
Level
10
Created
12. Feb, 2008
Modified
8. Sep, 2012
Played
1813 / 18325
Discarded
1005 / 7386
Drawn
1988 / 15695

BB code

Effect

If last card played was Undead
Tower: +N / 3
Wall: +N / 2
N = cost of last card played

Code

    if ($t->myLastCard()->hasKeyword('Undead') && $t->myLastAction() == 'play') {
      $tmp = $t->myLastCard()->getResources();
      $t->myData()->addTower(round($tmp / 3))->addWall(round($tmp / 2));
    }