- "Elendil, High-King of Gondor" should no longer be playable if the requirements to play it cannot be fulfilled.

This commit is contained in:
marcins78
2014-09-05 16:07:55 +00:00
parent bd94aac88b
commit 1fd1e9e2f6
2 changed files with 10 additions and 2 deletions

View File

@@ -1,4 +1,7 @@
<pre style="font-size:80%">
<b>5 Sep. 2014</b>
- "Elendil, High-King of Gondor" should no longer be playable if the requirements to play it cannot be fulfilled.
<b>7 Aug. 2014</b>
- Changed how revealing hand or cards from hand works.

View File

@@ -9,7 +9,12 @@ import com.gempukku.lotro.cards.effects.SpotEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndRemoveCultureTokensFromCardEffect;
import com.gempukku.lotro.cards.modifiers.ResistanceModifier;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.common.CardType;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Keyword;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Race;
import com.gempukku.lotro.common.Token;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
@@ -43,7 +48,7 @@ public class Card13_065 extends AbstractCompanion {
@Override
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) {
return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile)
&& (PlayConditions.canSpot(game, 2, Culture.GONDOR, Keyword.KNIGHT) || PlayConditions.canExert(self, game, 2, Culture.GONDOR, Race.MAN));
&& (PlayConditions.canSpot(game, 2, Culture.GONDOR, Keyword.KNIGHT) || PlayConditions.canExert(self, game, 1, 2, Culture.GONDOR, Race.MAN));
}
@Override