Fix Haldan + Adventures from creatures

This commit is contained in:
tool4EvEr
2022-08-01 21:16:58 +02:00
parent 94d3c70d44
commit 5b47d7e20d
2 changed files with 5 additions and 4 deletions

View File

@@ -65,10 +65,6 @@ public class CardProperty {
if (card.sharesNameWith(name)) {
return false;
}
} else if (property.startsWith("sameName")) {
if (!card.sharesNameWith(source)) {
return false;
}
} else if (property.equals("NamedCard")) {
if (!card.sharesNameWith(source.getNamedCard())) {
return false;
@@ -813,6 +809,10 @@ public class CardProperty {
return false;
} else if (property.equals("canProduceMana")) {
return !card.getManaAbilities().isEmpty();
} else if (property.startsWith("sameName")) {
if (!card.sharesNameWith(source)) {
return false;
}
} else if (property.startsWith("sharesNameWith")) {
if (property.equals("sharesNameWith")) {
if (!card.sharesNameWith(source)) {

View File

@@ -315,6 +315,7 @@ public final class CardUtil {
}
newCopy.setCastFrom(in.getCastFrom());
newCopy.setExiledBy(in.getExiledBy());
newCopy.setExiledWith(getLKICopy(in.getExiledWith(), cachedMap));
if (in.getGame().getCombat() != null && in.isPermanent()) {