MArcomage

Free multiplayer on-line fantasy card game

Please log in


1 U
Miracle
Miracle

Holy

Player(s) with most Holy in hand gains
Stock: +8
His opponent gains
Stock: +2

Id
170
Name
Miracle
Rarity
Uncommon
Keywords
Cost (B / G / R)
0 / 1 / 0
Modes
0
Level
8
Created
1. May, 2006
Modified
12. Feb, 2011
Played
2438 / 13280
Discarded
356 / 1785
Drawn
3511 / 18601

BB code

Effect

Player(s) with most Holy in hand gains
Stock: +8
His opponent gains
Stock: +2

Code

    $my_count = $t->keywordCount($t->myData()->Hand, 'Holy');
    $his_count = $t->keywordCount($t->hisData()->Hand, 'Holy');
    if ($my_count >= $his_count) {
      $t->myData()->addStock(8);
      $t->hisData()->addStock(2);
    }
    if ($my_count <= $his_count) {
      $t->myData()->addStock(2);
      $t->hisData()->addStock(8);
    }