mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixed a bug of Alchemists Refuge that allowed the player to cast cards from no allowed zones.
This commit is contained in:
parent
86202166db
commit
8f694e595c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue