Fixing Gollum.
This commit is contained in:
@@ -7,8 +7,6 @@ import com.gempukku.lotro.common.Phase;
|
||||
import com.gempukku.lotro.common.Side;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.ActivateCardAction;
|
||||
import com.gempukku.lotro.logic.effects.PlayCardEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -35,10 +33,7 @@ public class Card7_058 extends AbstractMinion {
|
||||
if (PlayConditions.isPhase(game, Phase.SHADOW)
|
||||
&& PlayConditions.hasInitiative(game, Side.SHADOW)
|
||||
&& PlayConditions.canPlayFromDiscard(playerId, game, self)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendEffect(
|
||||
new PlayCardEffect(self));
|
||||
return Collections.singletonList(action);
|
||||
return Collections.singletonList(getPlayCardAction(playerId, game, self, 0));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -15,8 +15,6 @@ import com.gempukku.lotro.logic.timing.results.WhenMoveFromResult;
|
||||
import com.gempukku.lotro.logic.timing.results.WhenMoveToResult;
|
||||
import com.gempukku.lotro.logic.timing.results.WhenMovesResult;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
public class PlayerPlaysNextSiteIfNotThereGameProcess implements GameProcess {
|
||||
private LotroGame _game;
|
||||
private GameProcess _afterMoveGameProcess;
|
||||
@@ -51,9 +49,6 @@ public class PlayerPlaysNextSiteIfNotThereGameProcess implements GameProcess {
|
||||
nextSite = Filters.filter(gameState.getAdventureDeck(playerToPlaySite), gameState, _game.getModifiersQuerying(),
|
||||
Filters.siteNumber(nextSiteNumber)).iterator().next();
|
||||
|
||||
gameState.removeCardsFromZone(null, Collections.singleton(nextSite));
|
||||
gameState.addCardToZone(_game, nextSite, Zone.ADVENTURE_PATH);
|
||||
|
||||
final PhysicalCard site = nextSite;
|
||||
|
||||
_nextProcess =
|
||||
@@ -61,7 +56,7 @@ public class PlayerPlaysNextSiteIfNotThereGameProcess implements GameProcess {
|
||||
@Override
|
||||
public void process() {
|
||||
_game.getActionsEnvironment().addActionToStack(
|
||||
new SimpleEffectAction(new PlayCardEffect(site), "Plays next site"));
|
||||
new SimpleEffectAction(new PlayCardEffect(site, Zone.ADVENTURE_PATH), "Plays next site"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user