Valley of thousand rivers
Player(s) with most Alliance, Legend and Mage gains
Lowest facility: +1
Name
Valley of thousand rivers
Cost (B / G / R)
0 / 6 / 0
BB code
Effect
Player(s) with most Alliance, Legend and Mage gains
Lowest facility: +1
Code
$myHand = $t->myData()->Hand;
$hisHand = $t->hisData()->Hand;
$myCount = $t->keywordCount($myHand, 'Alliance') + $t->keywordCount($myHand, 'Legend') + $t->keywordCount($myHand, 'Mage');
$hisCount = $t->keywordCount($hisHand, 'Alliance') + $t->keywordCount($hisHand, 'Legend') + $t->keywordCount($hisHand, 'Mage');
if ($myCount >= $hisCount) {
$t->myData()->addLowestFacility(1);
}
if ($myCount <= $hisCount) {
$t->hisData()->addLowestFacility(1);
}