MArcomage

Free multiplayer on-line fantasy card game

Please log in

Keywords > Nature

Icon

Nature

Effect

Overgrowth - if a Nature card is played after playing a different non-common Nature card, summons a rare Nature card.

Lore

Nature magic is rarely understood by humans. Being chaotic and unpredictable it's the opposite of the magic commonly used by humans, therefore only few have been able to master it. In addition, nature magic is also about life and death, which often leads to arts that are forbidden by many factions.

Code

    if ($t->myLastCard()->hasKeyword('Nature') && $t->myLastAction() == 'play'
      && $t->myLastCard()->getRarity() != 'Common' && $t->card()->id() != $t->myLastCard()->id()) {
      $t->nextCard($this->drawCard($this->getList(['rarity'=>'Rare', 'keyword'=>'Nature']), $t->myData()->Hand, $t->cardPos(), 'drawCardList'));
    }