Fixed a bug of Alchemists Refuge that allowed the player to cast cards from no allowed zones.

This commit is contained in:
LevelX2 2013-02-22 16:02:07 +01:00
parent 86202166db
commit 8f694e595c

View file

@ -98,7 +98,8 @@ class AlchemistsRefugeEffect extends AsThoughEffectImpl<AlchemistsRefugeEffect>
Card card = game.getCard(sourceId); Card card = game.getCard(sourceId);
if (card != null) { if (card != null) {
if (!card.getCardType().contains(CardType.LAND) && card.getOwnerId().equals(source.getControllerId())) { if (!card.getCardType().contains(CardType.LAND) && card.getOwnerId().equals(source.getControllerId())) {
return true; // TODO: Check if this also works for cards that gained e.g. flashback from another source.
return card.getSpellAbility().isInUseableZone(game, card, false);
} }
} }
return false; return false;