Corrected action phase
This commit is contained in:
@@ -25,7 +25,7 @@ import java.util.List;
|
|||||||
* Strength: 6
|
* Strength: 6
|
||||||
* Vitality: 3
|
* Vitality: 3
|
||||||
* Site: 5
|
* Site: 5
|
||||||
* Game Text: To play, spot an Elf. Regroup: Exert Tauriel and spot a minion to return that minion to its owner's hand.
|
* Game Text: Archer. Maneuver: Exert Tauriel to return an Orc with strength 7 or less to its owner's hand.
|
||||||
*/
|
*/
|
||||||
public class Card31_010 extends AbstractAlly {
|
public class Card31_010 extends AbstractAlly {
|
||||||
public Card31_010() {
|
public Card31_010() {
|
||||||
@@ -35,7 +35,7 @@ public class Card31_010 extends AbstractAlly {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected List<? extends Action> getExtraInPlayPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
|
protected List<? extends Action> getExtraInPlayPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
|
||||||
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.REGROUP, self)
|
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.MANEUVER, self)
|
||||||
&& PlayConditions.canExert(self, game, self)
|
&& PlayConditions.canExert(self, game, self)
|
||||||
&& Filters.canSpot(game.getGameState(), game.getModifiersQuerying(), CardType.MINION)) {
|
&& Filters.canSpot(game.getGameState(), game.getModifiersQuerying(), CardType.MINION)) {
|
||||||
final ActivateCardAction action = new ActivateCardAction(self);
|
final ActivateCardAction action = new ActivateCardAction(self);
|
||||||
@@ -46,11 +46,11 @@ public class Card31_010 extends AbstractAlly {
|
|||||||
@Override
|
@Override
|
||||||
protected void opponentChosen(String opponentId) {
|
protected void opponentChosen(String opponentId) {
|
||||||
action.appendEffect(
|
action.appendEffect(
|
||||||
new ChooseAndReturnCardsToHandEffect(action, opponentId, 1, 1, CardType.MINION, Filters.lessStrengthThan(7)));
|
new ChooseAndReturnCardsToHandEffect(action, opponentId, 1, 1, Race.ORC, Filters.lessStrengthThan(7)));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return Collections.singletonList(action);
|
return Collections.singletonList(action);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user