- "Saved From the Fire" now allows to take only cards of the companions chosen culture into hand from deck and only one

at a time (because of the Rule of 4 rule).
This commit is contained in:
marcins78@gmail.com
2011-11-24 14:45:39 +00:00
parent 88e66aa64d
commit 1939f2efb3
2 changed files with 6 additions and 14 deletions

View File

@@ -3,10 +3,9 @@ package com.gempukku.lotro.cards.set8.gandalf;
import com.gempukku.lotro.cards.AbstractEvent;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.cards.effects.PutCardFromDeckIntoHandOrDiscardEffect;
import com.gempukku.lotro.cards.effects.PutCharacterFromPlayInDeadPileEffect;
import com.gempukku.lotro.cards.effects.ShuffleDeckEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseArbitraryCardsEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndPutCardFromDeckIntoHandEffect;
import com.gempukku.lotro.common.CardType;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Phase;
@@ -16,8 +15,6 @@ import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.effects.ChooseActiveCardEffect;
import java.util.Collection;
/**
* Set: Siege of Gondor
* Side: Free
@@ -47,16 +44,9 @@ public class Card8_020 extends AbstractEvent {
protected void cardSelected(LotroGame game, final PhysicalCard card) {
action.insertCost(
new PutCharacterFromPlayInDeadPileEffect(card));
action.appendEffect(
new ChooseArbitraryCardsEffect(playerId, "Choose cards to put in your hand", game.getGameState().getDeck(playerId), 0, 3) {
@Override
protected void cardsSelected(LotroGame game, Collection<PhysicalCard> selectedCards) {
for (PhysicalCard selectedCard : selectedCards) {
action.insertEffect(
new PutCardFromDeckIntoHandOrDiscardEffect(selectedCard));
}
}
});
for (int i = 0; i < 3; i++)
action.appendEffect(
new ChooseAndPutCardFromDeckIntoHandEffect(action, playerId, 0, 1, card.getBlueprint().getCulture()));
action.appendEffect(
new ShuffleDeckEffect(playerId));
}

View File

@@ -1,6 +1,8 @@
<pre style="font-size:80%">
<b>24 Nov. 2011</b>
- "Arrow From the South" - trying to fix it. Maybe this time it will be right.
- "Saved From the Fire" now allows to take only cards of the companions chosen culture into hand from deck and only one
at a time (because of the Rule of 4 rule).
<b>23 Nov. 2011</b>
- "Jarnsmid" now modifies the twilight cost of the itmes by -1, rather than +1.