MArcomage

Free multiplayer on-line fantasy card game

Please log in


60 U
Orc regiment
Orc regiment

Horde

Attack: 80
If matching card or its adjacent cards are zero cost
Attack: 20

Id
89
Name
Orc regiment
Rarity
Uncommon
Keywords
Cost (B / G / R)
0 / 0 / 60
Modes
0
Level
0
Created
1. May, 2006
Modified
17. Dec, 2016
Played
477 / 11995
Discarded
624 / 10278
Drawn
1363 / 26777

BB code

Effect

Attack: 80
If matching card or its adjacent cards are zero cost
Attack: 20

Code

    $t->hisData()->attack(80);
    $hisHand = $t->hisData()->Hand;
    if ($t->getCard($hisHand[$t->cardPos()])->getResources() == 0 ||
      (isset($hisHand[$t->cardPos() + 1]) && $t->getCard($hisHand[$t->cardPos() + 1])->getResources() == 0) || 
      (isset($hisHand[$t->cardPos() - 1]) && $t->getCard($hisHand[$t->cardPos() - 1])->getResources() == 0)) {
      $t->hisData()->attack(20);
    }