From 7d057b1dec11352ce73e6d5d535b32dfb6e3f249 Mon Sep 17 00:00:00 2001 From: marcins78 Date: Tue, 12 Mar 2013 11:22:35 +0000 Subject: [PATCH] - "Throne of Orthanc" now requires to spot Saruman to play it (per card text). --- .../gemp-lotr-async/src/main/web/includes/changeLog.html | 1 + .../com/gempukku/lotro/cards/set20/isengard/Card20_240.java | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html b/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html index a08ecdfb5..64b47d3a9 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html +++ b/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html @@ -10,6 +10,7 @@ - "Moria Caverns" now allows to play a Goblin from discard for discarding two cards, instead of forcing FP player to perform a next move (per card text). - "They Are Coming" from set 20, now requires to discard cards from hand and can be used only in Shadow phase. +- "Throne of Orthanc" now requires to spot Saruman to play it (per card text). 11 Mar. 2013 - Second Edition is playable now. diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/isengard/Card20_240.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/isengard/Card20_240.java index a5d1efd65..893540264 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/isengard/Card20_240.java +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/isengard/Card20_240.java @@ -28,6 +28,12 @@ public class Card20_240 extends AbstractPermanent { super(Side.SHADOW, 1, CardType.ARTIFACT, Culture.ISENGARD, Zone.SUPPORT, "Throne of Orthanc"); } + @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, Filters.saruman); + } + @Override protected List getExtraPhaseActions(String playerId, LotroGame game, final PhysicalCard self) { if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.REGROUP, self, 0)