MArcomage

Free multiplayer on-line fantasy card game

Please log in


25 U
Giant
Giant

Attack: 35
Discard all common cards (opponent can't draw rare cards)

Id
448
Name
Giant
Rarity
Uncommon
Keywords
Cost (B / G / R)
0 / 0 / 25
Modes
0
Level
10
Created
22. Jul, 2009
Modified
8. Sep, 2012
Played
383 / 4668
Discarded
219 / 2397
Drawn
767 / 9349

BB code

Effect

Attack: 35
Discard all common cards (opponent can't draw rare cards)

Code

    $t->hisData()->attack(35);
    for ($i = 1; $i <= $t->handSize(); $i++) {
      if ($i != $t->cardPos() && $t->getCard($t->myData()->Hand[$i])->getRarity() == 'Common') {
        $t->setCard('my', $i, $t->drawCard($t->myDeck(), $t->myData()->Hand, $i, 'drawCardRandom'));
      }
    }
    for ($i = 1; $i <= $t->handSize(); $i++) {
      if ($t->getCard($t->hisData()->Hand[$i])->getRarity() == 'Common') {
        $t->setCard('his', $i, $t->drawCard($t->hisDeck(), $t->hisData()->Hand, $i, 'drawCardNoRare'));
      }
    }