- Fixed "AllCreatureTypes" does not sharesCreatureTypeWith each other

This commit is contained in:
swordshine
2013-03-05 02:51:26 +00:00
parent 35b4efec1b
commit d3926810bb

View File

@@ -7523,7 +7523,8 @@ public class Card extends GameEntity implements Comparable<Card> {
} }
for (final String type : this.getType()) { for (final String type : this.getType()) {
if (type.equals("AllCreatureTypes") && c1.hasACreatureType()) { if (type.equals("AllCreatureTypes")
&& (c1.hasACreatureType() || c1.typeContains("AllCreatureTypes"))) {
return true; return true;
} }
if (forge.card.CardType.isACreatureType(type) && c1.isType(type)) { if (forge.card.CardType.isACreatureType(type) && c1.isType(type)) {