From 696272b328879bb11f58286a9ac4a755b162e384 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 20 Mar 2017 23:09:14 +0100 Subject: [PATCH] * Misthollow Griffin - Fixed a bug that sometimes a not owning player could play the card from exile. --- Mage.Sets/src/mage/cards/m/MisthollowGriffin.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/m/MisthollowGriffin.java b/Mage.Sets/src/mage/cards/m/MisthollowGriffin.java index 7b6c40b915..30079adb55 100644 --- a/Mage.Sets/src/mage/cards/m/MisthollowGriffin.java +++ b/Mage.Sets/src/mage/cards/m/MisthollowGriffin.java @@ -50,7 +50,7 @@ import mage.game.Game; public class MisthollowGriffin extends CardImpl { public MisthollowGriffin(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{U}{U}"); + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}{U}"); this.subtype.add("Griffin"); this.power = new MageInt(3); @@ -97,10 +97,11 @@ class MisthollowGriffinPlayEffect extends AsThoughEffectImpl { public boolean applies(UUID sourceId, Ability source, UUID affectedControllerId, Game game) { if (sourceId.equals(source.getSourceId())) { Card card = game.getCard(source.getSourceId()); - if (card != null && card.getOwnerId().equals(source.getControllerId()) && game.getState().getZone(source.getSourceId()) == Zone.EXILED) { + if (card != null && card.getOwnerId().equals(affectedControllerId) + && game.getState().getZone(source.getSourceId()) == Zone.EXILED) { return true; } } return false; } -} \ No newline at end of file +}