- "Treachery Runs Deep" now correctly checks the twilight available before being able to play it.

This commit is contained in:
marcins78
2013-03-12 11:56:34 +00:00
parent 2b3792729c
commit 7a7b565926
2 changed files with 3 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ abilities.
Lady of Imladris" with completely different text (per card text).
- "Orophin, Lorien Scount" has moved in to Lothlorien (added the keyword).
- "The Palantir of Orthanc, Defiler of Wizards" now requires to spot ISENGARD minion to play (per card text).
- "Treachery Runs Deep" now correctly checks the twilight available before being able to play it.
<b>11 Mar. 2013</b>
- Second Edition is playable now.

View File

@@ -32,7 +32,8 @@ public class Card20_244 extends AbstractResponseEvent {
@Override
public List<PlayEventAction> getOptionalAfterActions(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
if (TriggerConditions.forEachWounded(game, effectResult, CardType.COMPANION)) {
if (TriggerConditions.forEachWounded(game, effectResult, CardType.COMPANION)
&& checkPlayRequirements(playerId, game, self, 0, 0, false, false)) {
PlayEventAction action = new PlayEventAction(self);
PhysicalCard woundedCompanion = ((WoundResult) effectResult).getWoundedCard();
action.setText("Wound "+ GameUtils.getFullName(woundedCompanion));