MArcomage

Free multiplayer on-line fantasy card game

Please log in


28 28 R
Ice revenant
Ice revenant

Undead

Attack: 60
If last card played was summoning or replacing Undead support card
Attack: 45

Id
378
Name
Ice revenant
Rarity
Rare
Keywords
Cost (B / G / R)
0 / 28 / 28
Modes
0
Level
7
Created
30. Jul, 2008
Modified
8. Sep, 2012
Played
378 / 2097
Discarded
104 / 808
Drawn
732 / 4633

BB code

Effect

Attack: 60
If last card played was summoning or replacing Undead support card
Attack: 45

Code

    $bonus = false;
    $target_cards = array_merge($t->getList(['advanced'=>"Summons", 'support'=>'Undead']), $t->getList(['advanced'=>'Replace ', 'support'=>'Undead']));
    if (in_array($t->myData()->LastCard[$t->myLastCardIndex()], $target_cards) && $t->myLastAction() == 'play') {
      $bonus = true;
    }
    $t->hisData()->attack(60 + (($bonus) ? 45 : 0));