$my_count = $t->keywordCount($t->myData()->Hand, 'Brigand') + $t->keywordCount($t->myData()->Hand, 'Undead');
$his_count = $t->keywordCount($t->hisData()->Hand, 'Brigand') + $t->keywordCount($t->hisData()->Hand, 'Undead');
if ($my_count <= $his_count) {
$t->myData()->addHighestFacility(-1);
}
if ($my_count >= $his_count) {
$t->hisData()->addHighestFacility(-1);
}