- "Change of Plans" should now work correctly.

This commit is contained in:
marcins78@gmail.com
2012-05-16 11:33:59 +00:00
parent f6b980a5af
commit 6e95e3a98a
3 changed files with 6 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ public class Card1_099 extends AbstractOldEvent {
}
@Override
public PlayEventAction getPlayCardAction(String playerId, final LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
public PlayEventAction getPlayCardAction(final String playerId, final LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
final PlayEventAction action = new PlayEventAction(self, true);
action.appendCost(
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Keyword.RANGER));
@@ -45,8 +45,10 @@ public class Card1_099 extends AbstractOldEvent {
@Override
protected void opponentChosen(String opponentId) {
List<PhysicalCard> hand = new LinkedList<PhysicalCard>(game.getGameState().getHand(opponentId));
for (PhysicalCard physicalCard : hand)
game.getGameState().removeCardsFromZone(playerId, hand);
for (PhysicalCard physicalCard : hand) {
game.getGameState().putCardOnBottomOfDeck(physicalCard);
}
game.getGameState().shuffleDeck(opponentId);
action.appendEffect(new DrawCardsEffect(action, opponentId, 8));

View File

@@ -80,7 +80,7 @@ public class Card1_216 extends AbstractAttachable {
}
if (bladeTipsInDiscard.size() > 0) {
possibleEffects.add(
new ChooseActiveCardEffect(self, playerId, "Choose a companion", CardType.COMPANION, Filters.inSkirmishAgainst(self.getAttachedTo())) {
new ChooseActiveCardEffect(self, playerId, "Choose a companion", CardType.COMPANION, Filters.inSkirmishAgainst(self.getAttachedTo()), Filters.not(Filters.hasAttached(Filters.name("Blade Tip")))) {
@Override
protected void cardSelected(LotroGame game, PhysicalCard card) {
action.insertEffect(

View File

@@ -1,6 +1,7 @@
<pre style="font-size:80%">
<b>16 May 2012</b>
- "Glamdring, Elven Blade" now lets the shadow player to choose a minion to exert.
- "Change of Plans" should now work correctly.
<b>14 May 2012</b>
- "City of Men" should now correctly discard a minion at the end of the skirmish.