mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user