mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed "AllCreatureTypes" does not sharesCreatureTypeWith each other
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user