Simplifying "Dark Places"

This commit is contained in:
marcins78@gmail.com
2011-11-25 17:09:38 +00:00
parent 86772b09bd
commit 4751c6191d

View File

@@ -52,11 +52,9 @@ public class Card2_055 extends AbstractPermanent {
@Override
protected void cardSelected(LotroGame game, PhysicalCard card) {
int siteNumber = card.getBlueprint().getSiteNumber();
if (Filters.filter(game.getGameState().getAdventureDeck(playerId), game.getGameState(), game.getModifiersQuerying(), Filters.siteNumber(siteNumber), Filters.or(Keyword.MARSH, Keyword.UNDERGROUND)).size() > 0) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendEffect(
new PlaySiteEffect(playerId, Block.FELLOWSHIP, siteNumber));
}
ActivateCardAction action = new ActivateCardAction(self);
action.appendEffect(
new PlaySiteEffect(playerId, Block.FELLOWSHIP, siteNumber, Filters.or(Keyword.MARSH, Keyword.UNDERGROUND)));
}
});
return Collections.singletonList(action);