mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Fix Haldan + Adventures from creatures
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user