Army of darkness
Attack: N * M
Recruits: = 0
N = #Recruits
M = #Undead rare cards in hand / 2
Cost (B / G / R)
0 / 13 / 0
BB code
Effect
Attack: N * M
Recruits: = 0
N = #Recruits
M = #Undead rare cards in hand / 2
Code
$rares = 0;
for ($i = 1; $i <= $t->handSize(); $i++) {
$cur_card = $t->getCard($t->myData()->Hand[$i]);
if ($cur_card->hasKeyword('Undead') && $cur_card->getRarity() == 'Rare') {
$rares++;
}
}
$t->hisData()->attack($t->myData()->Recruits * round($rares / 2));
$t->myData()->setRecruits(0);