- "Hall of Our Fathers" should now correctly move your cards from hand onto the condition.
This commit is contained in:
@@ -6,6 +6,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.timing.AbstractEffect;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
@@ -30,16 +31,18 @@ public class ExchangeCardsInHandWithStackedOnEffect extends AbstractEffect {
|
||||
@Override
|
||||
protected FullEffectResult playEffectReturningResult(LotroGame game) {
|
||||
if (isPlayableInFull(game)) {
|
||||
final List<PhysicalCard> stackedCards = game.getGameState().getStackedCards(_stackedOn);
|
||||
final List<? extends PhysicalCard> hand = game.getGameState().getHand(_playerHand);
|
||||
final List<PhysicalCard> stackedCards = new LinkedList<PhysicalCard>(game.getGameState().getStackedCards(_stackedOn));
|
||||
final List<PhysicalCard> hand = new LinkedList<PhysicalCard>(game.getGameState().getHand(_playerHand));
|
||||
|
||||
Set<PhysicalCard> toRemove = new HashSet<PhysicalCard>();
|
||||
toRemove.addAll(stackedCards);
|
||||
toRemove.addAll(hand);
|
||||
|
||||
game.getGameState().removeCardsFromZone(_performingPlayer, toRemove);
|
||||
|
||||
for (PhysicalCard cardInHand : hand)
|
||||
game.getGameState().stackCard(game, cardInHand, _stackedOn);
|
||||
|
||||
for (PhysicalCard stackedCard : stackedCards)
|
||||
game.getGameState().addCardToZone(game, stackedCard, Zone.HAND);
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
- Deck statistics no longer include cancelled games.
|
||||
- All "add burden" actions now have a performing player and "Spirit of the White Tree" should no longer be discarded,
|
||||
if FP players adds a burden with an effect coming from Shadow card.
|
||||
- "Hall of Our Fathers" should now correctly move your cards from hand onto the condition.
|
||||
|
||||
<b>18 Nov. 2012</b>
|
||||
- "Deceit" now allows to prevent only discarding your cards.
|
||||
|
||||
Reference in New Issue
Block a user