- Added Logic Knot

- Planes: Added Naar Isle and Selesnya Loft Gardens
This commit is contained in:
swordshine
2013-05-13 00:47:20 +00:00
parent 92f871a470
commit 77fa660693
6 changed files with 59 additions and 2 deletions

View File

@@ -32,6 +32,8 @@ public enum CounterType {
AGE(),
AIM(),
ARROW(),
ARROWHEAD(),
@@ -70,8 +72,12 @@ public enum CounterType {
DIVINITY(),
DREAM(),
DOOM(),
ECHO(),
ELIXIR(),
ENERGY(),
@@ -88,6 +94,8 @@ public enum CounterType {
FILIBUSTER(),
FLAME(),
FLOOD(),
FUNGUS(),
@@ -108,6 +116,8 @@ public enum CounterType {
HOURGLASS(),
HUNGER(),
ICE(),
INFECTION(),
@@ -134,6 +144,8 @@ public enum CounterType {
M2M2("-2/-2"),
MAGNET(),
MANA(),
MANNEQUIN(),
@@ -149,6 +161,8 @@ public enum CounterType {
MUSIC(),
MUSTER(),
NET(),
OMEN(),
@@ -178,9 +192,13 @@ public enum CounterType {
P0P1("+0/+1"),
P0P2("+0/+2"),
P1P0("+1/+0"),
P1P2("+1/+2"),
P2P0("+2/+0"),
P2P2("+2/+2"),

View File

@@ -2790,7 +2790,9 @@ public class Player extends GameEntity implements Comparable<Player> {
}
public int getCounterDoublersMagnitude(final CounterType type) {
int counterDoublers = getCardsIn(ZoneType.Battlefield, "Doubling Season").size();
int counterDoublers = getCardsIn(ZoneType.Battlefield, "Doubling Season").size()
+ CardLists.filter(getGame().getCardsIn(ZoneType.Command),
CardPredicates.nameEquals("Selesnya Loft Gardens")).size();
if (type == CounterType.P1P1) {
counterDoublers += getCardsIn(ZoneType.Battlefield, "Corpsejack Menace").size();
}
@@ -2799,7 +2801,9 @@ public class Player extends GameEntity implements Comparable<Player> {
public int getTokenDoublersMagnitude() {
final int tokenDoublers = getCardsIn(ZoneType.Battlefield, "Parallel Lives").size()
+ getCardsIn(ZoneType.Battlefield, "Doubling Season").size();
+ getCardsIn(ZoneType.Battlefield, "Doubling Season").size()
+ CardLists.filter(getGame().getCardsIn(ZoneType.Command),
CardPredicates.nameEquals("Selesnya Loft Gardens")).size();;
return 1 << tokenDoublers; // pow(a,0) = 1; pow(a,1) = a
}