- Added Collapsing Borders. Yeah, the Count$ name is weird, but anything with "Domain" in the name would not work correctly.

This commit is contained in:
jeffwadsworth
2011-10-30 22:55:47 +00:00
parent 3933b9fe46
commit 0cdb4bfe16
3 changed files with 31 additions and 0 deletions

View File

@@ -2943,7 +2943,21 @@ public class CardFactoryUtil {
n++;
}
}
System.out.println("N is equal to" +n);
return CardFactoryUtil.doXMath(n, m, c);
}
// Count$OpponentDom
if (sq[0].contains("OpponentDom")) {
someCards.addAll(cardController.getOpponent().getCardsIn(Zone.Battlefield));
final String[] basic = { "Forest", "Plains", "Mountain", "Island", "Swamp" };
for (int i = 0; i < basic.length; i++) {
if (!someCards.getType(basic[i]).isEmpty()) {
n++;
}
}
System.out.println("Opp N is equal to" +n);
return CardFactoryUtil.doXMath(n, m, c);
}