MArcomage

Free multiplayer on-line fantasy card game

Please log in


10 U
Apostate
Apostate

Horde

Replace a card in hand with a Horde of the same rarity
Recruits prod x3

Id
684
Name
Apostate
Rarity
Uncommon
Keywords
Cost (B / G / R)
0 / 10 / 0
Modes
8
Level
10
Created
24. Jun, 2012
Modified
26. Sep, 2015
Played
567 / 2446
Discarded
137 / 761
Drawn
945 / 4250

BB code

Effect

Replace a card in hand with a Horde of the same rarity
Recruits prod x3

Code

    $rarity = $t->getCard($t->myData()->Hand[$t->mode()])->getRarity();
    $t->setCard('my', $t->mode(), $t->drawCard(array_diff($t->getList(['rarity'=>$rarity, 'keyword'=>'Horde']), [$t->myData()->Hand[$t->mode()]]), $t->myData()->Hand, $t->mode(), 'drawCardList'));
    if ($t->mode() == $t->cardPos()) {
      $t->noNextCard();
    }
    $t->production()->multiplyRecruits(3);