*Knacksaw Clique - Fixed that exiled card could also be played by opponent.

This commit is contained in:
LevelX2 2015-01-01 01:14:24 +01:00
parent f6eb0b79e5
commit a06990c038
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ import mage.filter.predicate.permanent.ControllerPredicate;
public class VelaTheNightClad extends CardImpl {
private final static String rule = "Whenever {this} or another creature you control leaves the battlefield, ";
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("creature an opponent controls");
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
static {
filter.add(new ControllerPredicate(TargetController.YOU));
}

View file

@ -153,7 +153,7 @@ class KnacksawCliqueCastFromExileEffect extends AsThoughEffectImpl {
@Override
public boolean applies(UUID sourceId, Ability source, UUID affectedControllerId, Game game) {
if (sourceId.equals(this.cardId)) {
if (sourceId.equals(this.cardId) && source.getControllerId().equals(affectedControllerId)) {
Card card = game.getCard(this.cardId);
if (card != null && game.getState().getExile().getExileZone(exileId).contains(cardId)) {
return true;