mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- 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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user