- Implemented "HasNoSubtype" property that allows e.g. to limit the type of Landfall (for example, ValidCard$ Land.YouCtrl+HasNoSubtype Plains). Could be useful for BFZ.

This commit is contained in:
Agetian
2015-09-19 19:35:03 +00:00
parent 3123539242
commit d96dbb2bcc

View File

@@ -5197,6 +5197,11 @@ public class Card extends GameEntity implements Comparable<Card> {
if (!getType().hasSubtype(subType)) {
return false;
}
} else if (property.startsWith("HasNoSubtype")) {
final String subType = property.substring(13);
if (getType().hasSubtype(subType)) {
return false;
}
} else {
if (!getType().hasStringType(property)) {
return false;