- Fixed Scry AI scrying away basic lands thinking that they do not produce mana since they do not use a mana-producing SA as such and rely on the basic land type instead.

This commit is contained in:
Agetian
2017-09-23 11:16:58 +00:00
parent 1b1a56e77c
commit a5b3b61052
2 changed files with 11 additions and 1 deletions

View File

@@ -4128,6 +4128,15 @@ public class Card extends GameEntity implements Comparable<Card> {
return false;
}
public final boolean hasABasicLandType() {
for (final String type : getType().getSubtypes()) {
if (forge.card.CardType.isABasicLandType(type)) {
return true;
}
}
return false;
}
public final boolean isUsedToPay() {
return usedToPayCost;
}