Working on removing tokens.
This commit is contained in:
@@ -52,7 +52,7 @@ public class Card8_008 extends AbstractPermanent {
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.SKIRMISH, self)
|
||||
&& PlayConditions.canRemoveTokens(game, Token.DWARVEN, 1, self)) {
|
||||
&& PlayConditions.canRemoveTokens(game, self, Token.DWARVEN, 1)) {
|
||||
final ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTokenEffect(self, self, Token.DWARVEN));
|
||||
|
||||
@@ -47,7 +47,7 @@ public class Card8_013 extends AbstractPermanent {
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.ARCHERY, self)
|
||||
&& PlayConditions.canRemoveTokens(game, Token.ELVEN, 1, self)) {
|
||||
&& PlayConditions.canRemoveTokens(game, self, Token.ELVEN, 1)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTokenEffect(self, self, Token.ELVEN));
|
||||
|
||||
@@ -45,7 +45,7 @@ public class Card8_018 extends AbstractPermanent {
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.SKIRMISH, self)
|
||||
&& PlayConditions.canRemoveTokens(game, Token.GANDALF, 1, self)) {
|
||||
&& PlayConditions.canRemoveTokens(game, self, Token.GANDALF, 1)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTokenEffect(self, self, Token.GANDALF));
|
||||
|
||||
@@ -51,7 +51,7 @@ public class Card8_023 extends AbstractPermanent {
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0)
|
||||
&& PlayConditions.canRemoveTokens(game, Token.GOLLUM, 1, self)) {
|
||||
&& PlayConditions.canRemoveTokens(game, self, Token.GOLLUM, 1)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTokenEffect(self, self, Token.GOLLUM));
|
||||
|
||||
@@ -45,7 +45,7 @@ public class Card8_042 extends AbstractPermanent {
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.REGROUP, self)
|
||||
&& PlayConditions.canRemoveTokens(game, Token.GONDOR, 1, self)) {
|
||||
&& PlayConditions.canRemoveTokens(game, self, Token.GONDOR, 1)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTokenEffect(self, self, Token.GONDOR));
|
||||
|
||||
@@ -61,7 +61,7 @@ public class Card8_065 extends AbstractPermanent {
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.REGROUP, self, 0)
|
||||
&& PlayConditions.canRemoveTokens(game, Token.RAIDER, 2, self)) {
|
||||
&& PlayConditions.canRemoveTokens(game, self, Token.RAIDER, 2)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTokenEffect(self, self, Token.RAIDER, 2));
|
||||
|
||||
@@ -44,7 +44,7 @@ public class Card8_086 extends AbstractPermanent {
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.SKIRMISH, self)
|
||||
&& PlayConditions.canRemoveTokens(game, Token.ROHAN, 1, self)) {
|
||||
&& PlayConditions.canRemoveTokens(game, self, Token.ROHAN, 1)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTokenEffect(self, self, Token.ROHAN));
|
||||
|
||||
@@ -48,7 +48,7 @@ public class Card8_112 extends AbstractPermanent {
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.SKIRMISH, self)
|
||||
&& PlayConditions.canRemoveTokens(game, Token.SHIRE, 1, self)) {
|
||||
&& PlayConditions.canRemoveTokens(game, self, Token.SHIRE, 1)) {
|
||||
final ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new RemoveTokenEffect(self, self, Token.SHIRE));
|
||||
|
||||
Reference in New Issue
Block a user