MArcomage

Free multiplayer on-line fantasy card game

Please log in


4 C
Book of life
Book of life

Nature

Summons a Beast or a Nature
If New
non-common
else
non-rare

Id
539
Name
Book of life
Rarity
Common
Keywords
Cost (B / G / R)
0 / 0 / 4
Modes
0
Level
9
Created
21. Jun, 2010
Modified
21. Jun, 2010
Played
1729 / 13228
Discarded
1531 / 7142
Drawn
4021 / 24254

BB code

Effect

Summons a Beast or a Nature
If New
non-common
else
non-rare

Code

    $tmp = ($t->isMyNew($t->cardPos())) ? 'Rare' : 'Common';
    $uncommon_b = $t->getList(['rarity'=>'Uncommon', 'keyword'=>'Beast']);
    $other_b = $t->getList(['rarity'=>$tmp, 'keyword'=>'Beast']);
    $uncommon_n = $t->getList(['rarity'=>'Uncommon', 'keyword'=>'Nature']);
    $other_n = $t->getList(['rarity'=>$tmp, 'keyword'=>'Nature']);
    $t->nextCard($t->drawCard(array_unique(array_merge($uncommon_b, $other_b, $uncommon_n, $other_n)), $t->myData()->Hand, $t->cardPos(), 'drawCardList'));