MArcomage

Free multiplayer on-line fantasy card game

Please log in


6 C
Elven marksman
Elven marksman

Alliance

Gems prod x2
Enemy tower: -N
Attack: 8 - N
N = #Alliance in hand

Id
545
Name
Elven marksman
Rarity
Common
Keywords
Cost (B / G / R)
0 / 0 / 6
Modes
0
Level
8
Created
21. Jun, 2010
Modified
24. Dec, 2011
Played
3814 / 25029
Discarded
1180 / 7287
Drawn
5896 / 39147

BB code

Effect

Gems prod x2
Enemy tower: -N
Attack: 8 - N
N = #Alliance in hand

Code

    $t->production()->multiplyGems(2);
    $tmp = $t->keywordCount($t->myData()->Hand, 'Alliance');
    $t->hisData()->addTower(-$tmp);
    if ($tmp < 8) {
      $t->hisData()->attack(8 - $tmp);
    }