[KHM] Fixed Draugr Necromancer being able to play lands from MDFCs

This commit is contained in:
Daniel Bomar 2021-02-27 11:34:24 -06:00
parent 0d885af05e
commit 58fda68117
No known key found for this signature in database
GPG key ID: C86C8658F4023918

View file

@ -126,14 +126,13 @@ class DraugrNecromancerCastFromExileEffect extends AsThoughEffectImpl {
if (card == null) {
return false;
}
card = card.getMainCard();
if (!source.isControlledBy(affectedControllerId)
|| game.getState().getZone(card.getId()) != Zone.EXILED) {
|| game.getState().getZone(card.getMainCard().getId()) != Zone.EXILED) {
return false;
}
return !card.isLand()
&& game.getOpponents(card.getOwnerId()).contains(source.getControllerId())
&& card.getCounters(game).getCount(CounterType.ICE) > 0;
&& card.getMainCard().getCounters(game).getCount(CounterType.ICE) > 0;
}
}