From 6a2c87515aa70bf72637fb5346dbaffca3aed746 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Fri, 2 Dec 2011 11:18:47 +0000 Subject: [PATCH] Only the owner of the minion gets to Ambush. --- .../java/com/gempukku/lotro/logic/timing/rules/AmbushRule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/logic/timing/rules/AmbushRule.java b/gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/logic/timing/rules/AmbushRule.java index afbdbe593..32423159f 100644 --- a/gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/logic/timing/rules/AmbushRule.java +++ b/gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/logic/timing/rules/AmbushRule.java @@ -31,8 +31,7 @@ public class AmbushRule { AssignmentResult assignmentResult = (AssignmentResult) effectResult; if (assignmentResult.getPlayerId().equals(game.getGameState().getCurrentPlayerId())) { PhysicalCard assignedCard = assignmentResult.getAssignedCard(); - if (Filters.and(CardType.MINION, Keyword.AMBUSH).accepts(game.getGameState(), game.getModifiersQuerying(), assignedCard) - && assignedCard.getOwner().equals(playerId)) { + if (Filters.and(CardType.MINION, Keyword.AMBUSH, Filters.owner(playerId)).accepts(game.getGameState(), game.getModifiersQuerying(), assignedCard)) { final int count = game.getModifiersQuerying().getKeywordCount(game.getGameState(), assignedCard, Keyword.AMBUSH); OptionalTriggerAction action = new OptionalTriggerAction("ambush" + assignedCard.getCardId(), assignedCard); action.setText("Ambush - add " + count);