- Tokens can now enter the battlefield with counters on them.

This commit is contained in:
Sloth
2013-02-22 21:53:23 +00:00
parent 374e667654
commit d128c284a9
2 changed files with 3 additions and 7 deletions

View File

@@ -107,9 +107,7 @@ public class CountersPutEffect extends SpellAbilityEffect {
counterAmount = max - tgtCard.getCounters(counterType);
}
final Zone zone = Singletons.getModel().getGame().getZoneOf(tgtCard);
if (zone == null) {
// Do nothing, token disappeared
} else if (zone.is(ZoneType.Battlefield) || zone.is(ZoneType.Stack)) {
if (zone == null || zone.is(ZoneType.Battlefield) || zone.is(ZoneType.Stack)) {
if (remember) {
final int value = tgtCard.getTotalCountersToAdd(counterType, counterAmount, true);
tgtCard.addCountersAddedBy(card, counterType, value);

View File

@@ -114,7 +114,7 @@ public class GameAction {
}
return c;
}
if ((zoneFrom == null) && !c.isToken()) {
if (zoneFrom == null && !c.isToken()) {
if (position == null) {
zoneTo.add(c);
}
@@ -127,9 +127,7 @@ public class GameAction {
}
boolean suppress;
if ((zoneFrom == null) && !c.isToken()) {
suppress = true;
} else if (c.isToken()) {
if (c.isToken()) {
suppress = false;
} else {
suppress = zoneFrom.equals(zoneTo);