MArcomage

Free multiplayer on-line fantasy card game

Please log in


1 C
Abyssal viper
Abyssal viper

Beast

If targeting self, gain recruits cost of the matching card (max 10), else replace a card in hand with self

Id
356
Name
Abyssal viper
Rarity
Common
Keywords
Cost (B / G / R)
0 / 0 / 1
Modes
8
Level
4
Created
12. Feb, 2008
Modified
24. Dec, 2011
Played
1006 / 14347
Discarded
455 / 7118
Drawn
1897 / 29451

BB code

Effect

If targeting self, gain recruits cost of the matching card (max 10), else replace a card in hand with self

Code

    if ($t->mode() == $t->cardPos()) {
      $t->myData()->addRecruits(min($t->getCard($t->hisData()->Hand[$t->cardPos()])->getResources('Recruits'), 10));
    }
    else {
      $t->replaceCard('my', $t->mode(), $t->card()->id());
    }